Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Distributing and using VERY large tables.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00539842
Message ID:
00539893
Vues:
12
>Edmond,
>
>I don't know if this is an answer, but I have a product called ZipMagic installed on one of my PCs and it does work some magic... It will let a file that is ZIPped be accessed as if unzipped by most applications. It works (at least the very limited times I've tried) with .DBFs and VFP. It does NOT go through an UNZIP step internally, but rather (it claims, and appears to) handles each record as it is read.
>
>I think it cost me around $39. It does install itself PRESUMPTUOUSLY (in my opinion). For instance I suddenly found a new bix beside the minimize box, some new menu options in various places and a startup/Systray icon. And I have found that I have to remember to turn it off when I install software (like VFP) that has .ZIP files as parts of its install.
>
>It might be worth a try. I'm guessing they have a trial version available. www.mijenix.com.
>
>Good luck
>
>JimN
>
>>I have to create a table of 35 millions plus records. The table is to be populated from 850 fixed length text files. I get about 1/3rd of the way through with the imports and I hit the 2 Gig limit for Visual FoxPro tables.
>>
>>I took the 2 Gig dbf file and exported it to a delimited text file to see how much smaller it might be since there are a lot of empty fields in the table. To my surprise the 2,079,274 KB table made a 2,066,947 KB delimited text file.
>>
>>Other vendors have this data is some sort of file structure that only takes up about 450 Megs. They distribute this data (in .dat format whatever that is) via a CD-ROM and access it directly off of the CD via their apps on the fly without any major writing to the hard drive. They can access the data immediately upon demand without any obvious decompression. For me, just trying to zip the 2 Gig text file takes forever and slows the computer to a crawl.
>>
>>What type of data format could they be using that can store what would have been a 6 Gig delimited text file into only 450 Megs?
>>
>>I need to be able to do the same thing. I can’t distribute the data in zip format and expect the user to take 40 minutes unzipping it and also expecting him to have 6 Gigs of available disk space not counting space for the indexes that will need to be created.
>>
>>Any ideas or theories about the file type might be and if there is any way that I can do the same thing via Visual FoxPro (or VB or C# if I have to)?
>>
>>TIA

Jim,

I'm curious to give this a try and see how small it will compress the data to. The real drawback that I can see right off of the bat is the licensing fee for distributing the software with my app. The best rate at 100 copies is $25 per copy. This would eat up all of the profits from my app so it's probably not feasable. To stay competative I need to distribute my app with the post office data at $50 to $70 per issue which includs my app and the PO data. The royalities to the post office would be about $20 per disk. That leaves me $30 to $50 for my app and all other expenses of producing the disks, etc.

Most of these other companies have the data in a file with a .dat extension. I assume that they are just giving this extension on their own or is there a database that uses the .dat extension that you know of?

Ed
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform