Subject | Re: [Firebird-Architect] Re: Some benchmarks about 'Order by' - temporary |
---|---|
Author | Adriano dos Santos Fernandes |
Post date | 2006-09-22T18:56:02Z |
Vlad Horsun wrote:
If they are not written after keys, how you will fast locate it in disk?
Adriano
> Yes, having all the select list's fields in sorted order is very goodYes, but the whole requested record should be returned to the caller.
> thing as it avoid needs to reread it from tables again. This is strong
> point no doubt.
>
> What i mean is that sorted runs contains whole records and during
> merge phase we must read it from disk and write back merged larger
> runs. Formally we need only keys to compare and merge.
If they are not written after keys, how you will fast locate it in disk?
Adriano