Subject | Re: [firebird-support] Mysterious timeout of exactly 60 seconds |
---|---|
Author | Daniel Albuschat |
Post date | 2008-09-30T14:24:37Z |
2008/9/30 Milan Babuskov <milanb@...>:
But I simply don't want the table to grow as big as it did. :-)
I keep sortids only on tables that have a maximum of 1.000 entries.
Otherwise it wouldn't make that much sense to manually sort them,
imho...
--
eat(this); // delicious suicide
> Daniel Albuschat wrote:Thanks for the hint.
>> (gen_id(table_gen, 1), :name, (select max(sortid) from table) + 1)".
>> The subselect grew ever bigger and slower as more entries have been
>
> You need DESC index on sortid field.
But I simply don't want the table to grow as big as it did. :-)
I keep sortids only on tables that have a maximum of 1.000 entries.
Otherwise it wouldn't make that much sense to manually sort them,
imho...
--
eat(this); // delicious suicide