Hi,
I am wanting to find out the size of a table for which I am using the
following query:
select c.card * b.columnlength from syscat.tables c,
(select sum(a.avgcollen ) as columnlength from syscat.columns a
where a.tabname = <colname>) b
where c.tabname = <colname>
and c.tabschema = <schemaname>;
My question:
How can I use the Npages in the syscat.tables to arrive to the size of
the table.
How can i estimate the size of the indexes for a table.
How can i find out the size of the allocated space for the table and
index.
Regards
Sandip
I am wanting to find out the size of a table for which I am using the
following query:
select c.card * b.columnlength from syscat.tables c,
(select sum(a.avgcollen ) as columnlength from syscat.columns a
where a.tabname = <colname>) b
where c.tabname = <colname>
and c.tabschema = <schemaname>;
My question:
How can I use the Npages in the syscat.tables to arrive to the size of
the table.
How can i estimate the size of the indexes for a table.
How can i find out the size of the allocated space for the table and
index.
Regards
Sandip
Comment