Subject | Re: Memory use and FB 1.5 |
---|---|
Author | Michael Vilhelmsen |
Post date | 2004-06-30T11:28:50Z |
>batches of
> >I did a commit after each 50 inserts.
>
> That's too frequent. Next time you run it, think in terms of
> around 8 to 10,000 per commit - that COMMIT statements, not COMMITRETAINING.
I always do COMMIT.
I try this next with a greater interval.
But the propebly never will be a next time
>I'll try this tonight when I'm all alone on the system.
> It would be worth gstat-ting the indexes on that table.
If the large
> insert affected the geometry of the indexes in a signficantlyunhelpful
> way, that could account for slow searches for the next users.This is not the case.
The system seems to run at normal speed.
The problem is, that there is no free memory on the server, and that
FBServer.Exe has used some 700 in Nonpaged Buffer !
>try
> If you're alone on the system for doing large batches of inserts,
> deactivating indexes for the duration of the task and reactivatingthem
> afterwards. It will make the batch faster; and reactivating themand log
> afterwards will rebuild them. After that, run SET STATS from isql,
In short. Deactive index, do what ever insert I need, reactivate
and "reindex (SET STATS).
A backup - restore tonight will do the same, right ?
Michael