Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old November 23rd, 2005, 01:35 AM
Rob Klaus
Guest
 
Posts: n/a
Default Relation does not exist

Hello,

We are having a problem where intermittently a query will not work,
returning an error:

ERROR: Relation "x" does not exist

It will do this for a variable period, typically not lasting more than 5
minutes

I have searched through list archives and only find this reference in
regards to entities that are capitalized, which is *not* the case here.

Our setup may be 'bad', but I'm not sure; here is some background:

I have one database with 13 schemas
The code used to access data for the most part does not use schema.entity
naming convention
as we have the search_path set in postgresql.conf set to include all 13
schemas.

Entity names are not duplicated across schemas.

If I use the qualified schema.entity in my database calls, I don't get the
error.

I can go through all the code used to access data and add the schema name as
appropriate, but would prefer not to.

Has anyone seen an issue like this. We have had this setup for about a year
without problems until just last week.

We are using PG_VERSION 7.3 on RedHat 7.0
System has 512 Mb RAM

I have tried tweaking some of the memory settings thinking maybe there was
an issue with that. . . .here are the details of that:

max_connections = 150
shared_buffers = 15200
sort_mem = 32168
fsync = false

We did change RedHat's shared memory setting to: kernel.shmmax = 134217728

Not sure if any other information would be useful. I appreciate any
responses.

Thanks!

-Rob

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rob Klaus
Manager of Information Systems
Unique Management Services, Inc
119 East Maple Street
Jeffersonville, IN 40206
800.879.5453
http://www.unique-mgmt.com






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

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

  #2  
Old November 23rd, 2005, 01:35 AM
Tom Lane
Guest
 
Posts: n/a
Default Re: Relation does not exist

"Rob Klaus" <rob@unique-mgmt.com> writes:[color=blue]
> We are having a problem where intermittently a query will not work,
> returning an error:
> ERROR: Relation "x" does not exist
> It will do this for a variable period, typically not lasting more than 5
> minutes[/color]

This certainly seems like a bug, but I have no idea what's causing it.
Can you characterize the conditions under which the bug appears or
disappears? What operation exactly is getting the error, and what sorts
of things are happening in parallel with it?
[color=blue]
> We are using PG_VERSION 7.3 on RedHat 7.0[/color]

Hm. Red Hat 7.0 is positively ancient; you really ought to update. And
if you are running original PG 7.3 there are some very serious bugs that
you ought to fix by updating to 7.3.6 (if not 7.4.something). But I
can't say that I recognize your report as related to any of the known
bug fixes.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

 

Bookmarks

Thread Tools

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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles