pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
About System Catalogs
4+ messages / 4 participants
[nested] [flat]

* About System Catalogs
@ 2004-10-21 09:03 Francesco.Borgoglio@cedacri.it
  2004-10-21 23:55 ` Re: About System Catalogs Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 4+ messages in thread

From: Francesco.Borgoglio@cedacri.it @ 2004-10-21 09:03 UTC (permalink / raw)
  To: pgsql-admin

Hi gurus,
i have two questions for you.

1) I would like to know if the system catalogs tables are created 
     for each database of Postgresql instance or belong to a specific db, 
such as template0 i suppose.

2) As i had a very large pg_largeogject, i deleted rows e now i have a 
clean, small table.
    The table is empty but its index  pg_largeogject_loid_pn_index  lasts 
to retain a lot of bytes.
     How can i do?
     I have to drop and recreate the index?

Thank you very much.

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: About System Catalogs
  2004-10-21 09:03 About System Catalogs Francesco.Borgoglio@cedacri.it
@ 2004-10-21 23:55 ` Tom Lane <tgl@sss.pgh.pa.us>
  2004-10-23 02:50   ` Re: About System Catalogs Thomas Swan <tswan@idigx.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Tom Lane @ 2004-10-21 23:55 UTC (permalink / raw)
  To: Francesco.Borgoglio@cedacri.it; +Cc: pgsql-admin

Francesco.Borgoglio@cedacri.it writes:
> 2) As i had a very large pg_largeogject, i deleted rows e now i have a 
> clean, small table.
>     The table is empty but its index  pg_largeogject_loid_pn_index  lasts 
> to retain a lot of bytes.

REINDEX should fix this.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: About System Catalogs
  2004-10-21 09:03 About System Catalogs Francesco.Borgoglio@cedacri.it
  2004-10-21 23:55 ` Re: About System Catalogs Tom Lane <tgl@sss.pgh.pa.us>
@ 2004-10-23 02:50   ` Thomas Swan <tswan@idigx.com>
  2004-10-23 09:01     ` Re: About System Catalogs Gaetano Mendola <mendola@bigfoot.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Thomas Swan @ 2004-10-23 02:50 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Francesco.Borgoglio@cedacri.it; pgsql-admin

Tom Lane wrote:

>Francesco.Borgoglio@cedacri.it writes:
>  
>
>>2) As i had a very large pg_largeogject, i deleted rows e now i have a 
>>clean, small table.
>>    The table is empty but its index  pg_largeogject_loid_pn_index  lasts 
>>to retain a lot of bytes.
>>    
>>
>
>REINDEX should fix this.
>
>  
>
Is REINDEX still going to be a necessity in the 8.0 release?  I 
remembered at there was a discussion on the mailing list about a fix or 
need to fix VACUUM so that manually reindexing would not be necessary...

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: About System Catalogs
  2004-10-21 09:03 About System Catalogs Francesco.Borgoglio@cedacri.it
  2004-10-21 23:55 ` Re: About System Catalogs Tom Lane <tgl@sss.pgh.pa.us>
  2004-10-23 02:50   ` Re: About System Catalogs Thomas Swan <tswan@idigx.com>
@ 2004-10-23 09:01     ` Gaetano Mendola <mendola@bigfoot.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Gaetano Mendola @ 2004-10-23 09:01 UTC (permalink / raw)
  To: pgsql-admin

Thomas Swan wrote:
> Tom Lane wrote:
> 
>>Francesco.Borgoglio@cedacri.it writes:
>>  
>>
>>>2) As i had a very large pg_largeogject, i deleted rows e now i have a 
>>>clean, small table.
>>>    The table is empty but its index  pg_largeogject_loid_pn_index  lasts 
>>>to retain a lot of bytes.
>>>    
>>>
>>
>>REINDEX should fix this.
>>
>>  
>>
> Is REINDEX still going to be a necessity in the 8.0 release?  I 
> remembered at there was a discussion on the mailing list about a fix or 
> need to fix VACUUM so that manually reindexing would not be necessary...
> 

This is already true for the 7.4, I don't remember that vacuum was improved
int that direction in the 8.0.



Regards
Gaetano Mendola





^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2004-10-23 09:01 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-10-21 09:03 About System Catalogs Francesco.Borgoglio@cedacri.it
2004-10-21 23:55 ` Tom Lane <tgl@sss.pgh.pa.us>
2004-10-23 02:50   ` Thomas Swan <tswan@idigx.com>
2004-10-23 09:01     ` Gaetano Mendola <mendola@bigfoot.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox