File size

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Mar 3 09:19:31 CST 2004


on 3/3/04 12:23 AM, Brendan Murphy at bmurf at comcast.net wrote:

> I am using VRB4 v1.10 and my program creates a database
> which can be multiple megabytes on the disk. When I compress
> the database with zip, the database shrinks way down from
> 1.9 mb (hardly no data in the tables) down to 12 kb. So I am
> wondering is there a way reclaim the unused space in the
> database so that it only takes the space it needs? If I
> could reduce the file sizes, it would be highly desirable.

Hi Brendan,

Yes this is right.

Valentina allocate disk space by 32KB for EACH own logical file (filed,
index, ...)

And it looks your db have very small amount of data.

To get smaller size you need in db.Create() specify smaller segment size,
For example 2-4 KB.


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list