Subject | Re: [firebird-support] UPDATE: what am I doing wrong? |
---|---|
Author | Daniel Rail |
Post date | 2003-07-18T16:38:58Z |
Hi,
At July 18, 2003, 13:10, garyjones_mvm wrote:
try creating an index on that field.
--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)
At July 18, 2003, 13:10, garyjones_mvm wrote:
> I have a query regarding the speed of using UPDATE in Firebird. I'm[...snip...]
> trying to update one table will values looked-up from another.
> Significantly perhaps, the performance monitor in IBExpert reportsDo you have an index on the field "id" in the table "people"? If not,
> that the table PEOPLE is read around 40 million times in executing
> the procedure. (It's probably no coincidence that 40
> million=5000x8000).
> So, what am I doing wrong, and how can I get my UPDATEing to work
> faster?
try creating an index on that field.
--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)