along with the code/mappings, are you batching the insert statements? this is one of the benefits of client identity strategies, but you need to configure for batch writes. by default it's 0/1 which means no batching. how many records are inserted during the process? if you are inserting 1 million records a hilo(1000) strategy will require 1000 db calls to select/increment the next max_lo value.
On Mar 4, 9:45 am, Diego Mijelshon <[email protected]> wrote: > We're not fans of psychic debugging here. Please send your class, mapping > and test. > > Diego > > On Thu, Mar 4, 2010 at 07:08, James <[email protected]> wrote: > > It's turning out that hilo is taking significantly more time than > > native sequences. I found this surprising, and I measured it in > > dotTrace cpu profiler. Sure enough, our import function takes 63 > > seconds for hilo, and 55 seconds for sequences. Everything is running > > in one session, so it's not as if it's constantly fetching new hilo > > seeds. Without digging deep into the NHibernate code, I'm pretty > > confused. > > > I can email the dottrace files to someone who knows the code? > > > Thanks > > > -- > > 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]<nhusers%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/nhusers?hl=en. -- 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=en.
