General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>I have a workstation which is doing a lot of SQL across the net. When those SQL are executed on the server where the tables reside, it's fast. However, across the net, it takes more time for the workstation to obtain the results. I am trying to optimize those queries. In most of those queries, I don't use NOFILTER. Would that be of such a help? All my SQL are optimized as per Rushmore. It's true that between PCs, I have Ethernet 10 and not 100. But, for now, we can't change cards. So, what else could I look for?
Michel,
This sounds much like one of those cases where Walter M. (and lately Hilmar Z.) frequently comment that 'sometimes FULL optimization is too much optimization'.
The most common example is the TAG on DELETED(). It causes far too much network traffic in 99% of cases of LARGE tables, making for much slower response.
That example can be extended to any other TAG that might have a VERY limited number of values (as DELETED() can only have 2).
In this case it is best to:
1) Ensure that your SELECT is FULLY optimized for Rushmore;
2) Start deleting TAGs one by one, begining with DELETED() if it exists and re-trying BETWEEN each deletion. Obviously the next subject TAG would be the one with the fewest possible values (for example, male/female code if one existed).
Bets are this will make a substantial difference.
good luck,
JimN
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only