My.ADVISOR.com Sign-In
ID
Password

Member Center / Sign-Up
Go to Article
Advanced Search 

DATABASE DESIGN

Using Microsoft Visual FoxPro to Handle Extremely Large Data Sets

Handling extremely large data sets with Microsoft Visual FoxPro

By Val Matison

Whenever clients discuss projects built with Microsoft Visual FoxPro, the question always arises as to how much data the largest table and the entire database will contain. This article addresses the problems faced when your client states that individual tables will have more than 2GB of data, and the entire database will consist of many gigabytes of information.

The ideas discussed here were used in the design of the largest data set handled by a single FoxPro application in the world. This data set is used by the Euro Tunnel and consists of 128GB of information. (For more information about the Euro Tunnel, see print page 40 or online page 9.)

FoxPro limits table sizes to a maximum of 2GB each. But this isn't an operating system constraint. Even if your data is stored on an operating system that allows large files, such as UNIX or Windows NT running NTFS, FoxPro tables are still limited to 2GB.

Since a single table is limited to a maximum amount, there's a practical limit to the number of rows that can be contained within that table. The two factors that affect a table's size are the number of records it contains and the physical size of each record. FoxPro permits individual tables to contain one billion records, but this doesn't make much sense, as the table would be limited to a single field one byte wide allowing for only 256 unique records.

A more practical limit to the number of records in a single table is about 15 to 20 million rows with average record lengths of about 100 to 150 bytes. Information can also be stored in memo fields permitting an additional 2GB of data storage for a single table, since the memo data is stored in a separate file.

The Ultimate Power & Speed of VFP

11 reader comments:

What do YOU think about this topic? Share your advice and thoughts using this form.

Your Name

REQUIRED : PUBLIC

Your E-Mail

REQUIRED : PRIVATE

Job, Company

OPTIONAL : PUBLIC

City, State, Country

OPTIONAL : PUBLIC

Your Web Site

OPTIONAL : PUBLIC

Your Comment

Please help everyone by keeping your comments on-topic, using clean language, and not defaming or making personal attacks.


Your e-mail address is required, but it will not be displayed to the public or given to anyone. See our Privacy Policy. Comments become visible after they pass our spam filter, and spammers and abusers are permanently blocked. Please report spam or abuse.

Printer-friendly
page layout

Keyword Tags: Microsoft, Microsoft FoxPro, Microsoft Visual FoxPro

ADVISORAMA
Monday is an awful way to spend 1/7th of your life.

ARTICLE INFO

DataBased Advisor

Print Edition: March 1997

FREE ACCESS FREE ACCESS

SUBSCRIPTION STATUS
You are not signed-in. If you are a subscriber to this publication, sign-in above to access locked articles. To subscribe or renew go to www.AdvisorStore.com.

Subscribe to FileMaker Advisor Magazine

Read the advanced guide to creating custom business database solutions with FileMaker software. Subscribe now to gain access to all the archives and downloads.

FileMaker.Advisor.com

Subscribe to Advisor Basics of FileMaker Pro

Learn the fundamentals of using FileMaker Pro software. Every issue gives you step-by-step instructions on creating the databases you need. Subscribe now!

FileMaker.AdvisorBasics.com

Showcase Your Smarts

Submit your tips, techniques and advice and let Advisor promote your business and build your career. Show the world what you know!

AdvisorTips.com

Use of this or any other site, content, product or service of Advisor Media constitutes acceptance of Terms of Use.
Portions copyright ©1983-2008 Advisor Media, Inc. All Rights Reserved.
Reuse or reproduction of any portion or quantity of Advisor Media's copyrighted content, in any form, for any purpose, requires written permission.
ADVISOR®, the ADVISOR logo, and other names and logos that incorporate ADVISOR are registered trademarks, trademarks or service marks of Advisor Media, Inc. in the United States and/or other countries.
Other trademarks are used for identification, editorial or descriptive purposes and are the property of their owners.
Hosted by Prominic.NET Website powered by
LOTUS SOFTWARE
MATIV02 posted 03/01/1997 modified 11/21/2008 03:54:50 AM ztdbms/ztdbms
domino-144.advisor.com my.advisor.com 11/21/2008 09:23:12 PM