batch file - Nhibernate: Batching and StatelessSession -


I was just trying to set the batch value in the config file, and I think that using it There is a visual advantage, as it takes less time to insert 25000 entries without batching, I have a question, what are the counter signs, or are there dangers to use batching? As I see, I only see the benefit in setting up batch values ​​and activating it.

Another question is regarding StatelessSession. I was also testing and I have seen that when I make a scope. Note that it takes more time than it is to scope. Save a regular session, but when I do this, there is no reason for

I can only speak with the first digit. The possible negative of having a large batch size is the size of the SQL being sent to the wire in a wire.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -