Subject | Re: Massive INSERT test |
---|---|
Author | arbitragex <arbitragex@yahoo.com> |
Post date | 2003-02-21T21:51:39Z |
Ann,
Thanks for answering.
getting an error message when doing so through embedded SQL (from
Clarion).
When I get back to testing FireBird, I'll let you know what it says.
Regards,
Terry
Thanks for answering.
> >First let's note that I restarted the test after a few 100K rowsand
> >emptied the table.that
> >
> >Adding 10,000 records took 34 seconds at first.
> >
> >After emptying the table it took 50 seconds. I read some place
> >it was more efficient for FireBird to reuse allocated disk spacethan
> >allocate new space. I cannot confirm it with my setup.Single user. I used either IB Access or IB Expert to do the deleting.
> On question is how you emptied the table. If you're running
> single user, the procedure is first to delete all the rows,
> then commit, then count the rows, then commit then begin
> inserting again. If you're running multi-user, you must wait
> until all concurrent transactions have committed before
> counting the records to force garbage collection.
> What happens if you commit (not commit retaining, but actuallyI tried issue a commit every 10000 inserts, unfortunately I am
> commit) every 10,000 records?
getting an error message when doing so through embedded SQL (from
Clarion).
When I get back to testing FireBird, I'll let you know what it says.
Regards,
Terry