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 2...you 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.

Kemahiran: .NET, Pengaturcaraan C, Java

Lihat lebih lanjut: 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, database no, database needed, database info, database c#, C# database

Tentang Majikan:
( 1 ulasan ) rego park, United States

ID Projek: #68002

13 pekerja bebas membida secara purata $460 untuk pekerjaan ini


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 Lagi

$590 USD dalam 10 hari
(36 Ulasan)

Plz check your PM.

$700 USD dalam 25 hari
(10 Ulasan)

Bid placed on RAC :)

$550 USD dalam 7 hari
(9 Ulasan)

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

$550 USD dalam 15 hari
(18 Ulasan)

Hello New York.. Pennsylvania here.. My name is Bill.. I am a VB and SQL programming expert / mentor (screenname:'wsh2') at [url removed, login to view] and www.experts-exchange.com. Additionally, I have recently completed my fi Lagi

$545 USD dalam 4 hari
(7 Ulasan)

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. Lagi

$400 USD dalam 10 hari
(15 Ulasan)

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 Lagi

$400 USD dalam 15 hari
(11 Ulasan)

I think i can help, please check pm.

$500 USD dalam 10 hari
(3 Ulasan)

i can do it!

$400 USD dalam 30 hari
(0 Ulasan)

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

$400 USD dalam 5 hari
(0 Ulasan)

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 dalam 13 hari
(0 Ulasan)

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 dalam 4 hari
(0 Ulasan)

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

$300 USD dalam 5 hari
(0 Ulasan)