Subject Re: [firebird-support] Re: selects are fast, but commit takes 10 seconds!!
Author Helen Borrie
At 12:07 AM 6/11/2003 +0000, you wrote:
>If rollback has the same overhead as commit, then there must be
>something else going on here, because when I switched it to rollback,
>the 10 second delay went away.

Rollback has *more* overhead (on the server) than commit...but, yeah, it
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