I have a WPF application that uses NHibernate. The startup of the 
application, or any application that leverages this domain, is extremely 
slow. It takes ~30 seconds to validate the database schema, but I am not 
sure why. The database has ~230 tables. Below is a screen shot from 
dotTrace that shows where the major bottle necks are. Building the 
configuration was slow, but I have followed instructions here and elsewhere 
to cache the configuration and read it from a file. That has helped quite a 
bit. But now it seems there is some issue when it needs to talk to the 
database. Any insight would be greatly appreciated. Also, please let me 
know if additional information is necessary to help diagnose the problem.

<https://lh3.googleusercontent.com/-qLdV3Q9KAOU/WIDfs5KXQwI/AAAAAAAAAKc/vDb1eS-VcR4e5WSNhUIlkYr_iWvCyveIACLcB/s1600/Capture.PNG>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to