Replies: 1 comment
-
There is no connection pool. 100M connections seems like a lot. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The code for creating the connection is as follows:
Connection conn=DriverManager.getConnection("jdbc:duckdb:E:\test\duckdb\10m.db");
The time required to create a connection is as follows:
Time required to create 10 million data connections: 91 milliseconds
Time required to create 20 million data connections: 170 milliseconds
Time required to create 50 million data connections: 416 milliseconds
Time required to create 100 million data connections: 823 milliseconds
As the amount of data increases, the time required increases significantly.
Is there any way to reduce the creation time?
If you use connection pool, how should you use it?
Beta Was this translation helpful? Give feedback.
All reactions