http://ayende.com/Blog/2006/09/16/BatchingSupportInNHibernate.aspx
could you try to set ado.batch-size in hibernate config to a big value such as 100, and see is it helpful? On Oct 25, 5:44 pm, R4DIUM <[email protected]> wrote: > I have written a webcrawler, which produces a high amount of webgraph- > nodes consisting of > 3 attributes: > > ID: int > URI: String > Collection of references to other nodes > > I use NHibernate to store approx. 500 000 of these objects in my MSSql > database. > I use a many to many relationship to model the relations. > > I do a > > ITransaction TX = SX.BeginTransaction(); > > here i save all nodes without NHibernate "save-update" in a loop > > TX.commit() > > The storeage of the nodes is very slow, I wait 30 min until everything > is stored. > I wonder if the time I have to wait is normal. How much time, do you > think, should a sql server need to store the described amount of data > (Server is on the same system as the Client Tier)? > > Any suggestion for solving this problem? > > Regards > > R4DIUM -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=.
