A connection to a database is a resource intensive operation that typically comprises a few steps. A channel of communication between the application and the database should be established before the ...
The first example uses connection pooling and takes significantly less time to connect. The latter uses two different connections and so isn't maxing your pool, but it's significantly slower (a lot of ...