I need a tool or something like it, which can give me the estimated size
of a table considering all fields, constraints, indexes, etc...
CREATE TABLE products (
CONSTRAINT pk_products PRIMARY KEY (product_id),
CONSTRAINT ck_price CHECK (price >= 0)
CREATE INDEX ix_products ON products (product_name);
See that in the example above I have, some fields, some constraints and
one index. I want to know (estimate) how much fisical space (KB, MB) it will
Thanks in advance!
pgsql-admin by date
|Next:||From: theman||Date: 2006-09-21 17:34:44|
|Subject: Re: psql: FATAL: the database system is starting up|
|Previous:||From: Tom Lane||Date: 2006-09-21 15:58:15|
|Subject: Re: psql: FATAL: the database system is starting up |