Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I calculate table and index size?
Message
From
23/09/2008 11:58:53
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
23/09/2008 09:18:44
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01349807
Message ID:
01349863
Views:
14
The table is (number of records * record size) + header.

The index - I think - is more complicated (unpredictable, really), since it uses data compression.

Note that a memo file - which is separate from the DBF - can have a variable size. In theory, you can attach enough information to a single record to pass the 2 GB limit.

>I want to make a formula to calculate the table and index size based on the number of records. I was hoping to have the formula to look like this:
>
>
>TableName Bytes/Record Nbr of Records Total Size
>
>IndexName Bytes/Record Nbr of Records Total Size
>
>
>I see that there is a Table Length data in the Tables Tab of the MODI STRU. Is this the Bytes/Record value? How about the Indexes, how do I compute the size for those?
>
>Thanks in advance.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform