I am writing a stored procedure for Firebird 2.5 in which I sometimes need to update a single row in a data table more than once in the same transaction. However, I have noticed that the performance degrades drastically when I do this. (From an execution time measure in ms to sometimes a second or more!) Is this something intrinsic to Firebird 2.5, or am I mistaken? Do I just need to ensure that I only update each row once per transaction?
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:
Here's how it works:
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top