Open BroadZhang opened 1 month ago
Just to add, my data volume is about 50000 entries, and the data table contains several indexes. When executing delete from table, it takes about 15 seconds. During these 15 seconds, all other read and write operations are waiting
Have you seen the DuckDB docs about concurrency? Your code looks like it's used on an environment with multiple threads. Maybe you can make sure, to run your code in a single thread to ensure concurrency.
** I will call GetInstance in the main method, and the following operations are methods under Instance
The above is my duck db operation. When I execute delete, other query requests will wait for delete to complete, even if they are not a table
**