Hi. The PK size may vary according to it's composition. For example, a PK with two or more fields will be larger than one with only one field; the column types may also affect the PK size. It's hard to say if the PK size is (or not) normal with knowing it's composition. Could you please send the CREATE TABLE statement, along with required ALTER TABLE ..... ADD CONSTRAINT statements, to get an idea of the table structure.
Being the table empty, it's indexes(including PK) SHOULD be empty, but that may not always happen. However, a REINDEX on tha table should clear them. BTW, was the table cleared using DELETE or TRUNCATE?
The PostgreSQL version used, 8.1.9, even when stable, is old. Considering such table size, I think you will get considerable performance benefits with PostgreSQL 9.5.
Regards,
Alvaro Aguayo
Jefe de Operaciones
Open Comb Systems E.I.R.L.
Oficina: (+51-1) 3377813 | RPM: #034252 / (+51) 995540103 | RPC: (+51) 954183248
Website: www.ocs.pe
Sent from my Sony Xperia™ smartphone
---- Mackay, Beth (ES) wrote ----
I’m running PostgreSQL 8.1.9 (I know, it’s ancient and long past end of life but I can’t get my customer to upgrade). They are running the autovacuum process.