@SD: Is there a way to force limiting the result set before sorting it?

On Fri, Jan 24, 2020 at 2:55 PM Dimitry Sibiryakov s...@ibphoenix.com
[firebird-support] <firebird-support@yahoogroups.com> wrote:

> 24.01.2020 14:49, Matthias Winkler spmm...@gmail.com [firebird-support]
> wrote:
> > The result are just 8 entries. Sorting those 3 entries should then take
> no time at all, right?
>
>    Wrong. Sorting happens before result set limit apply.
>
> > Any ideas?
>
>    Rule number one: never use "not in".
>
>    Learn how Firebird works: http://www.ibase.ru/performance/
>    Pay a special attention to http://www.ibase.ru/dataaccesspaths/
>
>
> --
>    WBR, SD.
>
>
> ------------------------------------
>
> ------------------------------------
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://www.firebirdsql.org and click the Documentation item
> on the main (top) menu.  Try FAQ and other links from the left-side menu
> there.
>
> Also search the knowledgebases at
> http://www.ibphoenix.com/resources/documents/
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> ------------------------------------
>
> Yahoo Groups Links
>
>
>
>
  • [firebi... Matthias Winkler spmm...@gmail.com [firebird-support]
    • Re... Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
      • ... Matthias Winkler spmm...@gmail.com [firebird-support]
        • ... Gabor Boros mlngl...@bgss.hu [firebird-support]
        • ... Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
          • ... Matthias Winkler spmm...@gmail.com [firebird-support]
            • ... Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
              • ... Matthias Winkler spmm...@gmail.com [firebird-support]
                • ... Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
          • ... Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
            • ... Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
              • ... Karol Bieniaszewski liviusliv...@poczta.onet.pl [firebird-support]
                • ... Matthias Winkler spmm...@gmail.com [firebird-support]
                • ... setysvar setys...@gmail.com [firebird-support]
                • ... Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
                • ... Matthias Winkler spmm...@gmail.com [firebird-support]
    • Re... Elmar Haneke el...@haneke.de [firebird-support]

Reply via email to