Datamining standard libraries for Gramps?

Yes, but the problem is we have only one file for the database and this file is on the single disk. You can put 50 threads to read the database, you will not run faster.