× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Thu, Mar 12, 2015 at 12:38 PM, <rob@xxxxxxxxx> wrote:
<snip>
Also, 600,000 records might simply be too much data. Sending all that
across the network could be what's slow.
</snip>

"Also" is the thing that is wrong. That IS what I am saying. Not only
are you sending all those records down to the client so it can then decide
which rows really matter, but you're making the SQL engine on that client
do that work. You should really find out a way to get the 'where' to
execute on the server. See my previous suggestions.

But OP said right up front that the result set *IS* about 600,000
records! In other words, after WHERE is already done filtering,
what's LEFT is 600,000 records.

Go ahead and try generating an Excel file with that amount of data.
You can do it with a .xlsx, but... it's not fast.

And I *still* don't understand what you mean by "the SQL engine on
that client". My contention all along is that the client doesn't have
an SQL engine. Why would it? The data lives on the server. The
server also has its own (typically quite powerful) SQL engine. Why
would the client have its own?

John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.