Hi,
I need to launch 2.3 million queries against 10 billions triples stored in Virtuoso (512 RAM, 32 cores, SSD disks with RAID 0).
In virtuoso.ini, I have configured
[Parameters]
MaxClientConnections = 128
From the Java side. I have configured:
- VirtuosoConnectionPoolDataSource.setMaxPoolSize(500)
- ThreadPoolExecutor with 32 threads and an ArrayBlockingQueue = 500
The queries are simple, just 2 types.
select ?s ?p ?o {
?s ?p ?o.
filter (?s = ?param)
}
select ?s ?p ?o {
?s ?p ?o.
filter (?o = ?param)
}
It works fine but it takes 6 hours to get the data, is there a way to speed up the queries?
Best,