Subject | Re: [firebird-support] Re: selects are fast, but commit takes 10 seconds!! |
---|---|
Author | Helen Borrie |
Post date | 2003-11-06T03:41:30Z |
At 12:07 AM 6/11/2003 +0000, you wrote:
could be that InterClient mudges rollback so it *doesn't* cause the balance
of the output set to be fetched. That would precisely account for the time
difference between commit and rollback.
And of course updates and deletes to single records are fast: you are just
submitting a single statement and there is no traffic after it
completes. You need to compare apples with apples.
I still think you are not telling us the **most relevant** fact: the size
of the output set that your select statement will fetch eventually. The
10-second delay on commit is a strong clue that it is very, very large.
Helen
>If rollback has the same overhead as commit, then there must beRollback has *more* overhead (on the server) than commit...but, yeah, it
>something else going on here, because when I switched it to rollback,
>the 10 second delay went away.
could be that InterClient mudges rollback so it *doesn't* cause the balance
of the output set to be fetched. That would precisely account for the time
difference between commit and rollback.
And of course updates and deletes to single records are fast: you are just
submitting a single statement and there is no traffic after it
completes. You need to compare apples with apples.
I still think you are not telling us the **most relevant** fact: the size
of the output set that your select statement will fetch eventually. The
10-second delay on commit is a strong clue that it is very, very large.
Helen