Subject | Re: [firebird-support] FOR SELECT .. DO .. UPDATE is slow |
---|---|
Author | Daniel Rail |
Post date | 2004-07-19T18:16:42Z |
Hi,
At July 19, 2004, 14:16, clementdoss wrote:
If you execute the SELECT query by itself(outside of a SP), how long
does it take to execute and fetch all the records?
--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)
At July 19, 2004, 14:16, clementdoss wrote:
> Hi,[...snip...]
> I'm using WI-V6.3.0.436 Firebird 1.5
> I am building a small stored procedure, and I need to update some
> records (7701). And I believe it's taking too much time. 10+ minutes.
> I don't know if this is the best way.
> I have commented out the "update TB_MOV ..." code out of it. AndHow many records are there in the table TB_MOV?
> it's still very slow, so I guess that the update is not the issue,
> but this FOR SELECT is slow. Am I correct? Can a FOR SELECT be that
> slow?
> What would be the correct way to implement this code in FB?
If you execute the SELECT query by itself(outside of a SP), how long
does it take to execute and fetch all the records?
--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)