Re: Table OraclexPostgresql - Mailing list pgsql-general

From Richard Huxton
Subject Re: Table OraclexPostgresql
Date
Msg-id 200309121327.40600.dev@archonet.com
Whole thread Raw
In response to Table OraclexPostgresql  ("Jose-Lopes Antunes" <Jose-Lopes.Antunes@serpro.gov.br>)
List pgsql-general
On Friday 12 September 2003 12:41, Jose-Lopes Antunes wrote:
> Hi,
>
> I migrated  one table from oracle to postgresql. I used a PgadminII. But
> the table allocated, in Oracle, 152MB and in Postgresql , after migration,
> the space was 568MB.
> Anybody help me?

Well, PG's files are named after the OID of the sytem object
(database/table/index) they hold. You can look this up in the system tables
or there is an oid2name tool in the contrib/ directory of the source distro.

You will also want to read Ch11 in the Administrator's guide.

You might want to try a VACUUM FULL of the table, and perhaps REINDEX to
reclaim any unused space.

HTH
--
  Richard Huxton
  Archonet Ltd

pgsql-general by date:

Previous
From: Richard Welty
Date:
Subject: Re: library version problem, 7.3.2, php, redhat linux
Next
From: "Amin Schoeib"
Date:
Subject: Between(Interval of two dates) in Postgres