Hi!
Known anyone, how I can modify tied file size. I need save to db file small values (for example: key - 10 char, value - 30 char), but file is very large, approx 8kb empty and it quick enlarging...
I think the way tied files are created they always start out about 8Kb. Unless you are adding a LOT of records it shouldn't grow too much larger than that. 8Kb really isn't that large. How big is it quickly enlarging to?
Tracy Dryden
tracy@bydisn.com
Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
That does sound unnecessarily large, but other than using some other database or a flat text file, I'm not sure there's much you can do about it. How many key/value pairs do you expect to have to store?
Tracy Dryden
tracy@bydisn.com
Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
I try writing "pseudo relation" database module and planning use DB_File for easy index creation and access. But with DB_File my index files sizes will be larger as tables
When I start writing this project, I was use MLDBM module for this, and my code was worked exselent quick, and files had good size
But in many systems is not installed MLDBM, and I try use for it DB_File... :-(
I planning use my module with tables up to 500 - 1000 enteries.
Another database, such as MySQL is not allowed. I write module for use with sistems where not installed another databases.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.