dbTalk Databases Forums  

Possibly stupid questions re: large tables/files, port 5432 access

comp.databases.postgresql.general comp.databases.postgresql.general


Discuss Possibly stupid questions re: large tables/files, port 5432 access in the comp.databases.postgresql.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Michael Holden
 
Posts: n/a

Default Possibly stupid questions re: large tables/files, port 5432 access - 10-14-2004 , 04:00 PM







Hi, folks....

There is a file located at

/usr/local/pgsql/data/base/26920/

named 35987 that is roughly 750mb. Is there any way to find out what
table or database this file belongs to? I really shouldn't have that
much data in any of my tables, so I'm fairly certain that this is a bug
in my code.

Things are running very sloooowly, and I think that the size of this
file/table/whatever is partly to blame. It used to run really quickly
but performance has deteriorated over time.

Also, I'd like to use the EMS front end for managing my database, but
it seems that port 5432 isn't enabled, or my server isn't accepting
connections on that port. My server is in a data center and there is no
firewall between m Is there a FAQ or HOWTO for configuring this?

Many thanks,

Michael


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html


Reply With Quote
  #2  
Old   
Alvaro Herrera
 
Posts: n/a

Default Re: Possibly stupid questions re: large tables/files, port 5432 access - 10-14-2004 , 04:20 PM






On Thu, Oct 14, 2004 at 02:00:51PM -0700, Michael Holden wrote:

Quote:
There is a file located at

/usr/local/pgsql/data/base/26920/

named 35987 that is roughly 750mb. Is there any way to find out what
table or database this file belongs to?
Sure, use contrib/oid2name.

Quote:
I really shouldn't have that much data in any of my tables, so I'm
fairly certain that this is a bug in my code.
Do you run VACUUM regularly?

Quote:
Also, I'd like to use the EMS front end for managing my database, but
it seems that port 5432 isn't enabled, or my server isn't accepting
connections on that port.
Look for the tcpip_socket option in postgresql.conf.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"The West won the world not by the superiority of its ideas or values
or religion but rather by its superiority in applying organized violence.
Westerners often forget this fact, non-Westerners never do."
(Samuel P. Huntington)


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.