Subject | Re: [IBO] Too many SavePoints error |
---|---|
Author | paultugwell |
Post date | 2004-03-17T10:00:01Z |
--- In IBObjects@yahoogroups.com, Helen Borrie <helebor@t...> wrote:
the next update statement would start a new transaction. Is this not
the case? If so, what would be the best way to run a script like this?
> At 04:27 PM 16/03/2004 +0000, you wrote:is
>
> > > >There is very little information on this error, but what there
> > > >seems to point to excessive commit retainings without a commit.you
> > >
> > > You are right on the button. In IB, you need to ensure you do a
> >hard
> > > commit (not commit retaining) about once every 10,000 updates.
> > >
> > > Helen
> >
> >Yes, but if I'm using the script function in IB_SQL and putting
> >COMMIT statements in the script, isn't this what I'm doing or am I
> >missing something?
>
> You didn't mention a script, you mentioned commitretaining...but if
> have a statement in your script that operates on 75,000 rows,commits,
> operates on 100,000 rows, commits...that's too many operations pertransaction.
>I thought that the COMMIT statement would close the transaction and
> Helen
>
the next update statement would start a new transaction. Is this not
the case? If so, what would be the best way to run a script like this?