dbTalk Databases Forums  

[Info-Ingres] How to calculate tables' spaces acurately in Ingres

comp.databases.ingres comp.databases.ingres


Discuss [Info-Ingres] How to calculate tables' spaces acurately in Ingres in the comp.databases.ingres forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jürgen Cappel
 
Posts: n/a

Default [Info-Ingres] How to calculate tables' spaces acurately in Ingres - 07-14-2009 , 11:06 AM






Hi Scott,

how can you calculate the disk usage of compressed tables for example ?
It depends on data types used, fillfactor, table content (removed
trailing blanks), page size and many more factors. There can be (imho)
no accurate formula I'm afraid.

Jürgen




-------- Original-Nachricht --------
Betreff: [Info-Ingres] How to calculate tables' spaces acurately in Ingres
Datum: Tue, 14 Jul 2009 08:16:01 -0700 (PDT)
Von: Scott <lius (AT) algonquincollege (DOT) com>
Antwort an: Ingres and related product discussion forum
<info-ingres (AT) kettleriverconsulting (DOT) com>
Organisation: http://groups.google.com
An: info-ingres (AT) kettleriverconsulting (DOT) com
Newsgruppen: comp.databases.ingres



Hello Folks,

Does anyone have an accurate way to calculate the amount of disk
spaces needed for tables ?

I followed up the method in the section of calculating disk space
from Database Administrator's Guide to do the calculation. It seems
the calculations are not accuate especialy for BTREE struction in our
database(the results of calculations for HEAP are OK). I could get the
pages used by a table at present from iitables and compared them with
the pages required for this table from my calculations, if there were
more than 20% wasted, I reclaimed them by modify <table> to statement,
which should reclaim the lost spaces due to many deletions of this
table. I compared the pages again after modification and found that
there were the same percent of differences. This make me think the
way of calculation is not accurate. Can anyone shed a light on my
issue and have a better and an accurate way to calculate the amount of
disk spaces needed for tables in Ingres.

Thanks,

Scott Liu

Data Analyst
Algonquin College
Ottawa, Canada
_______________________________________________
Info-Ingres mailing list
Info-Ingres (AT) kettleriverconsulting (DOT) com
http://www.kettleriverconsulting.com...fo/info-ingres

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.