![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hi, I use ODBC drivers to connect PHP and Pervasive sql. The connection is DSN less. I have created DDFs using the DDF builder in Psql9. Now quite a few of these files are very large. Around 24,000 records and 40-50 odd fields. I can access other files that are not this big. But my connection just times out for queries on the large tables. Even If I choose only one field from a table with a "Where coupon_no =1" clause. It still times out. Is there any solution to this problem? |
#4
| |||
| |||
|
|
Hi, I use ODBC drivers to connect PHP and Pervasive sql. The connection is DSN less. I have created DDFs using the DDF builder in Psql9. Now quite a few of these files are very large. Around 24,000 records and 40-50 odd fields. I can access other files that are not this big. But my connection just times out for queries on the large tables. Even If I choose only one field from a table with a "Where coupon_no =1" clause. It still times out. Is there any solution to this problem? TIA, MD |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Hi There, Thanks a lot for your answers. I already have an Index on Coupon_No. (BTW the table as 240,000 records as opposed to my earlier figure of 24,000). The thing that I noticed is that even in the PCC, it takes really long to execute the query. Also, the index is a non-duplicate one. So when i queried for Coupon_No =1 it brought back 3 rows (after a million-gazillion years i.e.). I havent changed the indices as I am not allowed to do that from the DDF builder. The server processor is a little slow but not this slow. Could there be any other reason why? MD |
![]() |
| Thread Tools | |
| Display Modes | |
| |