Optimizing DBF database file

DBF files are flat, simple database files that use defined record sizes, and field sizes. We need a utility program to optimize the size of the database by scanning though each field of the dbf and re-outputting the data in the smallest sized field possible to conserve space.

The utility should be able to handle strings, float, double, integer, and long values. floating, strings and integers have different optimizations. For strings you want to look for the longest string and then output a field size of the longest string. for integers you want to look for largest integer, and smallest if negatives are used. if for example, 100 is the max number and 0 is the minimum, you do not want to store it in a field size of 8 bytes, 1 byte would be sufficient!

also, if a double or a float is used and no decimal numbers are used at all in the data, then it should be converted into an integer of smallest size needed.

you would need to keep the following info on each field:

max number (ie 540), min number (ie -600), number with largest decimal (ie. 0.1234), or if it is a string max trimmed length of string.

then output the same dbf file only with adjusted field sizes to use least needed space.

if the max value for a particular field is 94.36 then you'd use field length 2 with decimal precision of get the picture...

and one more thing... watch out for minuses and nulls...

i have sample dbf files that can be used to test the optimization.

you should also output stats for each field in a text file of same name as the dbf file with txt extension, or something similar.

there is also a document describing dbf file format in detail...

i have it and it's also on the internet.

one more thing... we use dbf files with more than 1024 fields so don't rely on that limit as max!

we will need source code to this utility.

Habilidades: .NET, Programação C, Java

Veja mais: string source code java, simple file database, largest number, integers and, get length of string in c, though, strings, scanning, out source a database, look max, java optimization, java file, java database, floating, float, file, document scanning, document database, dbf, database optimization

Acerca do Empregador:
( 1 comentário ) rego park, United States

ID do Projeto: #68002

12 freelancers estão ofertando em média $453 para esse trabalho


Dear Sir/Madam, I have all required knowledge and experience to achieve success of this project with best quality and professionalism. Please see my profile. Before accepting my bid offer please contact me via proj Mais

$590 USD in 10 dias
(36 Comentários)

Bid placed on RAC :)

$550 USD in 7 dias
(9 Comentários)

Hello Please see PMB for details of my bid. Thank you

$550 USD in 15 dias
(19 Comentários)

Dear Respected sir/Madam, I have 8+ years of experieence in Software industry. I have worked on DBase, Fox, Access, SQL, Oracle, C, C++, VB .net, VC++, Java etc. I have worked hugly with DBF, converting from D Mais

$400 USD in 15 dias
(11 Comentários)

Sir I have the 8 years of experience in developement and design field. More about our information visit our profile. Im master in VFP and .net. We will give the quality works and supports. Waiting for your replay. Mais

$400 USD in 10 dias
(15 Comentários)

Plz check your PM.

$700 USD in 25 dias
(10 Comentários)

I think i can help, please check pm.

$500 USD in 10 dias
(3 Comentários)

i can do it!

$400 USD in 30 dias
(0 Comentários)

I just registered on this website. I am quite a DBF specialist, I wrote a DBF component for Delphi in 2000 ([login to view URL]). Should I assume that your DBF are DBF complient and readable using the OLEDB drivers? Mais

$400 USD in 5 dias
(0 Comentários)

Oh, man, that's simple. Indeed there's a nice logic behind the scenes, but it is simple. Specially for a CA/Clipper programmer like me (my everyday job since 2001). I have it all in mind. Best regards.

$350 USD in 13 dias
(0 Comentários)

Hi! I have a lot of experience in C/C++, DBF rebuilding and can do it in the time. I have done similar applications several times. Regards.

$300 USD in 4 dias
(0 Comentários)

I am experienced in dbf optimization from old dos systems to porting them into windows based systems. you wont get disappointed

$300 USD in 5 dias
(0 Comentários)