Another db size issue
Ruslan Zasukhin
sunshine at public.kherson.ua
Sat Jul 31 20:06:29 CDT 2004
On 7/31/04 7:35 PM, "jda" <jda at his.com> wrote:
>>>
>>> newFormatDB.Create( f, 1, 1024 )
>>>
>>> it works.
>>>
>>> The problem is that the size of the empty db file is almost half a MB
>>> (it is about 200K in 1.x)! I distribute about 150 such ancillary
>>> files with my app, and I expect that to go up to 500 or more in the
>>> future. That adds up to a LOT of wasted space.
>>>
>>> Any advice?
>>
>> Jon,
>>
>> I will check this point later.
>>
>> I am sure that EMPTY database must have the same size as 1.x
>>
>
> That may be (although that's not what I've seen with other
> databases). But the point here is that I had to increase the segment
> size to 1024 to avoid a VException -- that's what's increasing the db
> size. Since the vast majority of the data I'm storing is well under
> 512 bytes, I can live with 512 segments if V2.0 will let me (1.x did,
> as I said).
Yes I understand that you have discover new bug with 512 bytes segment.
--
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-beta
mailing list