﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Russell Garner commented on NH Prof: Post v1.0 Ideas</title><description>Actually, would be even nicer if we could name sessions through code by either telling a logger or NHProf's own statics that we're about to do so.  Getting pressure to provide DBAs with a "data access catalogue" that help with their tuning concerns, and we already have a lot of Fluent NH "PersistenceSpecification"-style tests, so it would be great to be able to say "and the next session is how we store and retrieve object X".  
  
  
Perhaps there would be problems with thread safety here, but in this case where it's a single test runner thread the wins would be large for us.
</description><link>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment21</link><guid>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment21</guid><pubDate>Tue, 20 Oct 2009 11:54:11 GMT</pubDate></item><item><title>Ayende Rahien commented on NH Prof: Post v1.0 Ideas</title><description>Russell,
  
This is something that we actually did have at some point. I'll add it again
</description><link>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment20</link><guid>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment20</guid><pubDate>Mon, 05 Oct 2009 09:44:07 GMT</pubDate></item><item><title>Russell Garner commented on NH Prof: Post v1.0 Ideas</title><description>Just bought NH Prof - lovely tool.
  
  
Here's a thing I'd love which would be a big win for me but hopefully not that difficult for you - the ability to name the session in the session pane.  While showing new devs the features of NH in general, it would be useful to change code and label what we were doing at the time, then compare and contrast.  ANTS profiler allows naming sections of your session and it's one of my most treasured features (even when not teaching new devs).
</description><link>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment19</link><guid>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment19</guid><pubDate>Mon, 05 Oct 2009 09:42:01 GMT</pubDate></item><item><title>Ayende Rahien commented on NH Prof: Post v1.0 Ideas</title><description>Gauthier,
  
I am not sure what NH is supposed to do with a query plan. It is not its job.
  
We already provide the abstraction layer, with the exception management scheme.
</description><link>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment18</link><guid>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment18</guid><pubDate>Tue, 15 Sep 2009 20:41:01 GMT</pubDate></item><item><title>Gauthier Segay commented on NH Prof: Post v1.0 Ideas</title><description>On the query plan / NH sister project, (prepare to steer away from the contents of the post) the idea would be to have a NH contrib or subproject building an abstraction about how  a query plan should be exposed to a reporting API, it looks pretty much like a n-tree with some semantics about costs and operations (I'm over simplifying)
  
  
With a rough idea of this abstraction in place, it should be possible to start working on baremetal implementations to perform query plan and parse it into this n-tree for several DB implementations.
  
  
On the same verge, there was this interesting work:
  
  
[fabiomaulo.blogspot.com/.../...-management-in.html](http://fabiomaulo.blogspot.com/2009/06/improving-ado-exception-management-in.html)  
  
I think NHibernate may provide (sometime in future) a generic abstraction layer over things like FK constraint failure, named check constraint failure, etc.
  
  
All of this is from a "coward" user point of view so I'm not in position to contribute a patch, however you could as well demonstrate why such ideas are crazy / YAGNI
</description><link>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment17</link><guid>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment17</guid><pubDate>Mon, 14 Sep 2009 21:16:34 GMT</pubDate></item><item><title>Ayende Rahien commented on NH Prof: Post v1.0 Ideas</title><description>Gauthier,
  
Yes, it would probably be easier to just output XML and let someone else worry about this. I might try crowd sourcing it.
  
  
About the query plan idea, I am not sure what you mean by a sister project.
</description><link>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment16</link><guid>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment16</guid><pubDate>Mon, 14 Sep 2009 20:56:14 GMT</pubDate></item><item><title>Gauthier Segay commented on NH Prof: Post v1.0 Ideas</title><description>Ayende, about query plan
  
  
won't it fit a sister NH project, providing a generic RDBMS abstraction over query plan information?
  
  
Otherwise, the features looks good, maybe it would be better to have a stable (and documented) intermediate format for exports and let the community add on top of that (PDF, HTML, etc.) instead of supporting theses right from the application (which imply more dependencies for some formats)
</description><link>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment15</link><guid>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment15</guid><pubDate>Mon, 14 Sep 2009 20:41:51 GMT</pubDate></item><item><title>Ayende Rahien commented on NH Prof: Post v1.0 Ideas</title><description>Anders, 
  
auto update is already there.
</description><link>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment14</link><guid>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment14</guid><pubDate>Mon, 14 Sep 2009 06:00:22 GMT</pubDate></item><item><title>Anders commented on NH Prof: Post v1.0 Ideas</title><description>How about autoupdate (for 1.x and build releases)?
</description><link>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment13</link><guid>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment13</guid><pubDate>Mon, 14 Sep 2009 05:53:45 GMT</pubDate></item><item><title>James L commented on NH Prof: Post v1.0 Ideas</title><description>Db query plans would be superb
</description><link>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment12</link><guid>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment12</guid><pubDate>Sun, 13 Sep 2009 20:23:49 GMT</pubDate></item><item><title>Valeriu Caraulean commented on NH Prof: Post v1.0 Ideas</title><description>Ayende, here you go:
  
  
As an application developer:
  
 - when a ISessionFactory is instantiated (first one, second, n-th)  i want to 
  
   - see that in NHProf
  
- when having multiple instances of ISessionFactories i want to
  
   - differentiate them by "assigned" name or database name.
  
   - clearly view statistics of any selected Session Factory
  
   - see which session factory was used to create any particular session.
  
   - see all sessions of one session factory grouped together
  
   - have connection strings to be set for each of session factories
  
  
May be more requirements can be formulated, but having factory statistics and grouping session by factory are the features we definitely would like to have.
  
  
It's OK also to have to write an "adapter/provider" for that, so it can help profiler figure that out.
</description><link>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment11</link><guid>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment11</guid><pubDate>Sun, 13 Sep 2009 20:14:05 GMT</pubDate></item><item><title>Ayende Rahien commented on NH Prof: Post v1.0 Ideas</title><description>Valeriu,
  
Define support for multiple session factories, please.
</description><link>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment10</link><guid>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment10</guid><pubDate>Sun, 13 Sep 2009 19:45:08 GMT</pubDate></item><item><title>Valeriu Caraulean commented on NH Prof: Post v1.0 Ideas</title><description>Is support for multiple session factories dismissed completely? It's a feature that will ease essentially the use of NHProf with our projects...
  
  
I've seen that you have issues with how NHibernate works, so this isn't possible at the moment. Are you going to fix that any time soon? 
  
</description><link>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment9</link><guid>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment9</guid><pubDate>Sun, 13 Sep 2009 19:39:36 GMT</pubDate></item><item><title>Ayende Rahien commented on NH Prof: Post v1.0 Ideas</title><description>Francisco,
  
I am going to try to make query plans a feature that would support SQL Server, Oracle &amp; MySQL.
  
Haven't looked at it enough to tell if this is possible, but I hope so
</description><link>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment8</link><guid>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment8</guid><pubDate>Sun, 13 Sep 2009 19:21:42 GMT</pubDate></item><item><title>Francisco Lozano commented on NH Prof: Post v1.0 Ideas</title><description>Just two comments?
  
- Query plans would be a SQLServer-only feature?
  
- #2 would be a killer feature, really.
  
- Glad to hear that NH Shards is becoming a reality!
</description><link>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment7</link><guid>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment7</guid><pubDate>Sun, 13 Sep 2009 19:12:39 GMT</pubDate></item><item><title>todd commented on NH Prof: Post v1.0 Ideas</title><description>Oren, 
  
  
The idea of production profiling is a great feature.  Some issues only rear their ugly head once the app is under load.  If there were a way to aggregate the production profiling over an extended period and then be able to analyze metrics across the aggregation; that would be a wonderful addition to an already wonderful tool.  NHProf has helped me enormously in my education of NHibernate.
</description><link>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment6</link><guid>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment6</guid><pubDate>Sun, 13 Sep 2009 19:10:24 GMT</pubDate></item><item><title>Ayende Rahien commented on NH Prof: Post v1.0 Ideas</title><description>Paul,
  
Query plans is pretty costly in terms of performance, you have to hit the DB for each query.
  
You also have issues with deciding things based on DB that the devs have access to vs. the production DB.
</description><link>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment5</link><guid>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment5</guid><pubDate>Sun, 13 Sep 2009 18:30:55 GMT</pubDate></item><item><title>Paul commented on NH Prof: Post v1.0 Ideas</title><description>From where I'm sitting, number 1 is a killer feature.
  
  
If you could somehow store them and search for things like table scans - and rank, based on size of table, execution time, number of times called etc, it could be extremely useful!
</description><link>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment4</link><guid>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment4</guid><pubDate>Sun, 13 Sep 2009 18:23:36 GMT</pubDate></item><item><title>Ayende Rahien commented on NH Prof: Post v1.0 Ideas</title><description>Todd,
  
There isn't :-)
</description><link>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment3</link><guid>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment3</guid><pubDate>Sun, 13 Sep 2009 18:20:23 GMT</pubDate></item><item><title>todd commented on NH Prof: Post v1.0 Ideas</title><description>Excuse my ignorance, but what is the difference between #1 (Show database query plan for statements) and #5 (Display query plan in the DB)?
  
I love the idea of #2, esp. if there would be a way to log the profiling or a way to produce periodic logs/reports.
</description><link>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment2</link><guid>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment2</guid><pubDate>Sun, 13 Sep 2009 18:18:11 GMT</pubDate></item><item><title>Vincent commented on NH Prof: Post v1.0 Ideas</title><description>Cool! Especially 1,2 and 5 are most appreciated!
</description><link>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment1</link><guid>http://ayende.com/4192/nh-prof-post-v1-0-ideas#comment1</guid><pubDate>Sun, 13 Sep 2009 17:45:01 GMT</pubDate></item></channel></rss>