Subject | Re: [firebird-support] how to reduce the file size of the database after large amount of deletes ref/eDN8072730811 |
---|---|
Author | Martijn Tonies |
Post date | 2006-09-27T10:30:29Z |
> Well, the hole story is this.is
>
>
>
> It is a trade application with sales with pos machines.
>
>
>
> When the database came bigger than 300mb, there are some lags during the
> day, in precise 5-10 seconds, 3 times per day, per pos machine. We can say
> that this is normal for a sql based application but too bad for pos
> machines, 5 seconds it is too much. It is about 50000 records on header
> table and 200000 on details table.
>
>
>
> For this reason I made 2 databases (files) in the same branch (shop). One
> the 'main' of the branch and the other one database file 'pos' for posI think you're trying to solve a different problem in the wrong way.
> machines, these 2 databases are synchronized successfully!
>
>
>
> Now, what I want is to delete the movements from pos database and reduce
> with someway the database file to actual filesize according the records
> where holds. So the pos machines will run better as the database is almost
> empty.
>
>
>
> What do you think?
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com