![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am trying to figure out how to calculate the size of BTREE tables and indexes in Ingres 6.4 and also the growth of the tables. Any help would be greatly appreciated. Thanks Palani |
#3
| |||
| |||
|
|
I am trying to figure out how to calculate the size of BTREE tables and indexes in Ingres 6.4 and also the growth of the tables. Any help would be greatly appreciated. Thanks Palani |
#4
| |||
| |||
|
|
Hi Martin. We have databases that vary in page sizes: 2Kb, 4KB, and 8KB. Does the SQL you provided cater for this. Also, do yo have the SQL that records database table sizes for ISAM, HASH, and HEAP? Thanks. Jason -----Original Message----- From: Martin Bowes [mailto:bowes (AT) bucket (DOT) its.unimelb.edu.au] Sent: Thursday, 27 November 2003 7:54 AM To: Ramaiyan:Palanivel Cc: ingres newsgroup Subject: Re: Table size and growth Hi Palani, select table_name,table_owner,table_type,number_pages/512. as megs from iitables where storage_structure='BTREE' and number_pages/512. >= 10.0 order by megs desc; Will list all BTREE tables or indexes in the database of at least 10M size and order the output in size order. To measure the growth of the tables you can simply store the output from regular runs of ths query and then just compare them over time. Martin Bowes I am trying to figure out how to calculate the size of BTREE tables and indexes in Ingres 6.4 and also the growth of the tables. Any help would be greatly appreciated. Thanks Palani -- Is it just me, or is there a dark undercurrent beneath the fluff of 'Sabrina the Teenage Witch': Aunt Hilda - Not all Tsunamis are bad. ************************************************** ********************** The information in this e-mail together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any form of review, disclosure, modification, distribution and/or publication of this e-mail message is prohibited. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network. ************************************************** ********************** |
#5
| |||
| |||
|
|
Hi Martin. We have databases that vary in page sizes: 2Kb, 4KB, and 8KB. Does the SQL you provided cater for this. Also, do yo have the SQL that records database table sizes for ISAM, HASH, and HEAP? Thanks. Jason -----Original Message----- From: Martin Bowes [mailto:bowes (AT) bucket (DOT) its.unimelb.edu.au] Sent: Thursday, 27 November 2003 7:54 AM To: Ramaiyan:Palanivel Cc: ingres newsgroup Subject: Re: Table size and growth Hi Palani, select table_name,table_owner,table_type,number_pages/512. as megs from iitables where storage_structure='BTREE' and number_pages/512. >= 10.0 order by megs desc; Will list all BTREE tables or indexes in the database of at least 10M size and order the output in size order. To measure the growth of the tables you can simply store the output from regular runs of ths query and then just compare them over time. Martin Bowes I am trying to figure out how to calculate the size of BTREE tables and indexes in Ingres 6.4 and also the growth of the tables. Any help would be greatly appreciated. Thanks Palani -- Is it just me, or is there a dark undercurrent beneath the fluff of 'Sabrina the Teenage Witch': Aunt Hilda - Not all Tsunamis are bad. ************************************************** ********************** The information in this e-mail together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any form of review, disclosure, modification, distribution and/or publication of this e-mail message is prohibited. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network. ************************************************** ********************** |
![]() |
| Thread Tools | |
| Display Modes | |
| |