![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
Changing the block size in the BDE only effects FUTURE tables. To change an existing table you have to create a new instance and move the data. |
#12
| |||
| |||
|
|
Changing the block size in the BDE only effects FUTURE tables. To change an existing table you have to create a new instance and move the data. Denn Santoro President Resource Development Associates http://www.RDAWorldWide.Com Offices in the United States and Germany Providing solutions to health care, business, governments and non-profits since 1982 Steve, All that I did is change the block size in BDE from 2K to 4K. Also, further [quoted text clipped - 5 lines] Block Size of the table: 16K Block Size of the Database in BDE: 4K |
#13
| |||
| |||
|
|
The application has become slow. Am not sure if this change from 2K to 4K is the culprit |
#14
| |||
| |||
|
#15
| |||
| |||
|
#16
| ||||
| ||||
|
|
spurohit, If I remember correctly, each secondary index reduces the table's maximum record count. So, although you might not be running into the 'theoretical' limits on the table, you might have hit this. |
|
If you have a secondary index that starts with the primary key, drop it since it is useless. This might help alleviate the problem. The only downside would be any forms/scripts/libs/data models that open the table using that index need to be changed. You could probably scan the code for that index name, using window's Search button. |
|
Also, increasing the block size of a table can have a definite impact on you system response. In my experience, using peer-to-peer networking, every time you open a table you get 8 blocks of data sent to you, which I assume is to speed up sequential processing. This is all wasted for random processing, which most interactive systems will use. Since every user is now getting 'wasted' data, that can cause your network to grind to a halt. (The more data sent, the more retries are needed, ad infinitum.) Finally, is it just this query that is slower, or other aspects of your system? You could put more indexes on the table to have them used by this query - a single-field secondary index on this particular field would definitely help this query. But, as you've seen, adding indexes can affect other parts of your app. Well..in fact this query is not slower. It simply fails without returning any |
|
HTH, Jim Moseley |
![]() |
| Thread Tools | |
| Display Modes | |
| |