Multithreading and parallelism
Depending on the needs of your data application, you can use multithreading for improved performance. If your queries will benefit from concurrency, you can create connections in multiple threads. For multiple long-lived connections to one or more databases in one or more MotherDuck accounts, you can use connection pooling.
📄️ Python
Performance tuning via multithreading with multiple connections to MotherDuck with Python
📄️ JDBC
Performance tuning via multithreading with multiple connections to MotherDuck with JDBC
📄️ NodeJS
Performance tuning via multithreading with multiple connections to MotherDuck with NodeJS