Enterprise Library logging into database is very slow
- by Sergej Andrejev
I'm using enterprise library for logging web page events. Because page is load balanced I have to store logs in database on different server (requirement). Sadly, I found storing around 20 entries per page request is very slow (adds additional ~10s). Can anybody explain why this happens and how to fix it.
P.S. I'm using default pooling settings in logging database connection string.