C
Christian Maier
Hello!
I have huge unperformant "where like" querys to a mysql DB. So there
are some performance issues. To resolve my performance problem I thougt
to split the query into threads. I hold 10 connections to my database
and each connection queries in its own thread as the following:
conn1: select fname from root where p_key between 1 and 20000 fname
like '%somestring%';
conn2: select fname from root where p_key between 20001 and 40000 fname
like '%somestring%';
and so on ...
the root table contains today about 200000 rows growing
Now the problem is: How can I put the 10 datatable objects to one huge
object to bind to my grid object?
THX!
Christian Maier
PS Any other solution for my performance issue is welcome!
I have huge unperformant "where like" querys to a mysql DB. So there
are some performance issues. To resolve my performance problem I thougt
to split the query into threads. I hold 10 connections to my database
and each connection queries in its own thread as the following:
conn1: select fname from root where p_key between 1 and 20000 fname
like '%somestring%';
conn2: select fname from root where p_key between 20001 and 40000 fname
like '%somestring%';
and so on ...
the root table contains today about 200000 rows growing
Now the problem is: How can I put the 10 datatable objects to one huge
object to bind to my grid object?
THX!
Christian Maier
PS Any other solution for my performance issue is welcome!