Background: we have an application running with Sequel 4.42.1 on JRuby 9.1.13.0 connecting to a 3-node MariaDB cluster. We have some queries where Sequel is logging times ~ (1.5s), but when we are checking DB those queries are all executing much faster (~.3s). We've checked packet transfers between application and DB, and those times are also fast. For one of the queries taking 1.5s, we can see the request/response between application and DB at around .3s. I'm trying to understand this discrepancy, so I was looking for some clarification around exactly what is included in the log time. Does it include time to acquire a connection from connection pool or validate that connection (using the connection_validator extension)? Does it include any other processing time (mapping DB response to Ruby objects, etc)?
Thanks for any insight or help anyone has to offer -- You received this message because you are subscribed to the Google Groups "sequel-talk" 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/sequel-talk. For more options, visit https://groups.google.com/d/optout.
