Subject | Re: [firebird-support] Re: Should updates be this slow? |
---|---|
Author | Anderson Farias |
Post date | 2007-09-05T15:34:46Z |
Hi,
From: "inoffensive_2006"
update statement will get slower!
Also, changing to {prepare, loop: set params for parametryzed query,
execute, end-loop unprepare}should have some gain too.
Regards,
Anderson
From: "inoffensive_2006"
> This is an example of the SQL that's run for each row.(...)
> UPDATE CON
> SET
> CON_ALPHA_SORT_ORDER = '1130038230440428'
> WHERE
> CON_KEY = '2301';
>sort order is calclated. All of the indexes for the tableI think you should *NOT* set the index on CON_KEY to inactive, or your
>are altered to inactive,
update statement will get slower!
Also, changing to {prepare, loop: set params for parametryzed query,
execute, end-loop unprepare}should have some gain too.
Regards,
Anderson