Re: [GENERAL] oracle_fdw

2012-10-19 Thread Albe Laurenz
[I'll CC the oracle_fdw mailing list where this should be.] Rob wrote: > Environment: PostgreSQL 9.1.6 > SLES 11 SP2 > Oracle_fdw 0.9.7 > > I am trying to implement the use of oracle_fdw. > So far I have installed an oracle client on my postgres server. I can > connect to the oracle environment f

[GENERAL] Streaming Replication Server Crash

2012-10-19 Thread raghu ram
Hi All, We have configured Streaming Replication b/w Primary and Standby server and Pgpool-II load balancing module diverting SELECT statements to Standby server. As per our observations, Standby server crashed during peak hours on today and error message as follows: 2012-10-19 12:26:43 IST [119

Re: [GENERAL] Improve MMO Game Performance

2012-10-19 Thread Arvind Singh
ok, thanks i will look into walbuffers asynchronous_commit=off is a doubt for responsive environment (pg manual). for ex. would it help if, a game player , has to perform next move on basis of his/her previous move plus other players move. all is sent to table and for each player a parti

Re: [GENERAL] Help estimating database and WAL size

2012-10-19 Thread Jasen Betts
On 2012-10-15, Daniel Serodio (lists) wrote: >> >> OID is optional, IIRC PGXID is not > I hadn't heard of PGXID, I've just searched Google but found no > reference to this term except for this e-mail thread and some source > code. What is PGXID? Where can I learn more about hit? That was the wr

Re: [GENERAL] Improve MMO Game Performance

2012-10-19 Thread Torsten Zuehlsdorff
Hello Arvind, i worked on MMO (and especially their performance) some time ago. I really like(d) them. :) we are all aware of the popular trend of MMO games. where players face To understand my query, please consider the following scenario /we store game progress in a postgres table./ A to

[GENERAL] Index creation problem

2012-10-19 Thread Oliver Kohll - Mailing Lists
Hi, I'm getting a problem where my application hangs in the process of adding a field to a table. The app adds the field, then creates an index on the field. It hangs for ages (minutes) until I cancel the query. My investigation so far has been Look at current queries: agilebasedata=# SELECT

Re: [GENERAL] Index creation problem

2012-10-19 Thread Oliver Kohll - Mailing Lists
On 19 Oct 2012, at 13:28, Frank Lanitz wrote: > Just an idea without bigger investigation: Whare are the idle in > transactions are doing? Maybe they are blocking the create index. > > Cheers, > Frank Good question, I don't know. The app runs on Java / Apache Tomcat, which maintains a connecti

Re: [GENERAL] Index creation problem

2012-10-19 Thread Albe Laurenz
Oliver Kohll wrote: > I'm getting a problem where my application hangs in the process of adding a field to a table. The app > adds the field, then creates an index on the field. It hangs for ages (minutes) until I cancel the > query. My investigation so far has been > > Look at current queries: >

[GENERAL] Multiple Cluster on same host

2012-10-19 Thread GMAIL
I have 2 cluster databases, running on the same host, Ubuntu. My fist database port is set to default but my second database port is set to 5433 in the postgresql.conf file. While everything is ok with local connections, I cannot connect using any of my tools to the second database with port 54

Re: [GENERAL] Multiple Cluster on same host

2012-10-19 Thread Chris Ernst
On 10/19/2012 07:02 AM, GMAIL wrote: > I have 2 cluster databases, running on the same host, Ubuntu. My fist > database port is set to default but my second database port is set to > 5433 in the postgresql.conf file. While everything is ok with local > connections, I cannot connect using any of my

Re: [GENERAL] Multiple Cluster on same host

2012-10-19 Thread GMAIL
Il 19/10/2012 15:24, Chris Ernst ha scritto: On 10/19/2012 07:02 AM, GMAIL wrote: I have 2 cluster databases, running on the same host, Ubuntu. My fist database port is set to default but my second database port is set to 5433 in the postgresql.conf file. While everything is ok with local connec

Re: [GENERAL] Multiple Cluster on same host

2012-10-19 Thread Chris Ernst
On 10/19/2012 07:24 AM, GMAIL wrote: > Il 19/10/2012 15:24, Chris Ernst ha scritto: >> On 10/19/2012 07:02 AM, GMAIL wrote: >>> I have 2 cluster databases, running on the same host, Ubuntu. My fist >>> database port is set to default but my second database port is set to >>> 5433 in the postgresql.

Re: [GENERAL] Help estimating database and WAL size

2012-10-19 Thread Frank Lanitz
Am 2012-10-15 23:13, schrieb John R Pierce: On 10/15/12 2:03 PM, Daniel Serodio (lists) wrote: John R Pierce wrote: On 10/08/12 1:39 PM, Daniel Serodio (lists) wrote: 3) Estimate the size of the transaction log ** We've got no idea how to estimate this, need advice ** postgres doesn't ha

Re: [GENERAL] Multiple Cluster on same host

2012-10-19 Thread GMAIL
Il 19/10/2012 15:40, Chris Ernst ha scritto: On 10/19/2012 07:24 AM, GMAIL wrote: What happens when you try to connect? Any error message? Log entries? - Chris now i be able to connect, after update pgAdmin, but i receive the following error: "ERROR: column "datconfig" does not exist LINE 1:

Re: [GENERAL] Multiple Cluster on same host

2012-10-19 Thread Chris Ernst
On 10/19/2012 07:50 AM, GMAIL wrote: > Il 19/10/2012 15:40, Chris Ernst ha scritto: >> On 10/19/2012 07:24 AM, GMAIL wrote: >> What happens when you try to connect? Any error message? Log entries? >> - Chris > now i be able to connect, after update pgAdmin, but i receive the > following error: > "

Re: [GENERAL] Multiple Cluster on same host

2012-10-19 Thread GMAIL
Il 19/10/2012 16:05, Chris Ernst ha scritto: On 10/19/2012 07:50 AM, GMAIL wrote: Il 19/10/2012 15:40, Chris Ernst ha scritto: On 10/19/2012 07:24 AM, GMAIL wrote: What happens when you try to connect? Any error message? Log entries? - Chris now i be able to connect, after update pgAdmin, but

Re: [GENERAL] Index creation problem

2012-10-19 Thread Albe Laurenz
Oliver Kohll wrote: >> In the example you show, some connections are "idle in transaction". >> Such connections can hold locks that block your CREATE INDEX. >> Could you look at pg_locks if there is a lock that is not granted? >> There could also be prepared transactions holding locks, if >> you us

Re: [GENERAL] Multiple Cluster on same host

2012-10-19 Thread GMAIL
postgresql 9.1 and pgadmin 1.8.4 And there it is. You'll need pgAdmin >= 1.12.x to work with PostgreSQL 9.1. - Chris can be a firewall problem? -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/m

Re: [GENERAL] Multiple Cluster on same host

2012-10-19 Thread GMAIL
Il 19/10/2012 15:40, Chris Ernst ha scritto: On 10/19/2012 07:24 AM, GMAIL wrote: Il 19/10/2012 15:24, Chris Ernst ha scritto: On 10/19/2012 07:02 AM, GMAIL wrote: I have 2 cluster databases, running on the same host, Ubuntu. My fist database port is set to default but my second database port

Re: [GENERAL] Multiple Cluster on same host

2012-10-19 Thread GMAIL
Il 19/10/2012 16:11, Shaun Thomas ha scritto: On 10/19/2012 09:06 AM, GMAIL wrote: i use postgresql 9.1 and pgadmin 1.8.4 Yeah, that version of pgAdmin is *way* too old. 1.16 was released fairly recently, and it works great. i try the version 1.16 but it doesn't work. i don't get any erro

[GENERAL] Somewhat automated method of cleaning table of corrupt records for pg_dump

2012-10-19 Thread Heiko Wundram
Hey! I'm currently in the situation that due to (probably) broken memory in a server, I have a corrupted PostgreSQL database. Getting at the data that's in the DB is not time-critical (because backups have restored the largest part of it), but I'd still like to restore what can be restored fr

Re: [GENERAL] Multiple Cluster on same host

2012-10-19 Thread GMAIL
Il 19/10/2012 16:33, Shaun Thomas ha scritto: If you don't get any error message from the client or the server, are you sure it didn't work? I only ask because 1.8 was so old, I'm surprised it even worked with the version you had before. The catalog has changed a lot since then, and the err

Re: [GENERAL] Improve MMO Game Performance

2012-10-19 Thread Alvaro Herrera
Arvind Singh wrote: > > ok, > > thanks i will look into walbuffers > > asynchronous_commit=off is a doubt for responsive environment (pg manual). > for ex. > > would it help if, > > a game player , has to perform next move on basis of his/her previous move > plus other players move. > al

Re: [GENERAL] Multiple Cluster on same host

2012-10-19 Thread GMAIL
Il 19/10/2012 16:55, Shaun Thomas ha scritto: Yep. You've got a firewall between you and your server. Somewhere. Good luck tracking that down, sir. Everything should clear up when/if that gets resolved. i think that the problem should be the service iptables. what i have to change if i want to

Re: [GENERAL] Multiple Cluster on same host

2012-10-19 Thread Chris Ernst
On 10/19/2012 08:06 AM, GMAIL wrote: > Il 19/10/2012 16:05, Chris Ernst ha scritto: >> On 10/19/2012 07:50 AM, GMAIL wrote: >>> Il 19/10/2012 15:40, Chris Ernst ha scritto: On 10/19/2012 07:24 AM, GMAIL wrote: What happens when you try to connect? Any error message? Log entries? - Ch

Re: [GENERAL] oracle_fdw

2012-10-19 Thread hartrc
Thanks Laurenz for your post... Some more info Oracle Server:Oracle 11g R2 (11.2.0.2.0) Client: 11.2 Was installed using Oracle Universal Installer I don't really want to post the full environment of the postmaster but basically I could see no entry in there for ORACLE_HOME or TNS_ADMIN, should

Re: [GENERAL] Multiple Cluster on same host

2012-10-19 Thread Shaun Thomas
On 10/19/2012 09:06 AM, GMAIL wrote: i use postgresql 9.1 and pgadmin 1.8.4 Yeah, that version of pgAdmin is *way* too old. 1.16 was released fairly recently, and it works great. -- Shaun Thomas OptionsHouse | 141 W. Jackson Blvd. | Suite 500 | Chicago IL, 60604 312-444-8534 stho...@options

Re: [GENERAL] Multiple Cluster on same host

2012-10-19 Thread GMAIL
Il 19/10/2012 16:45, Shaun Thomas ha scritto: On 10/19/2012 09:38 AM, GMAIL wrote: but if i connect from another pc, with pgadmin 1.16 or other software, to the host with postgresql i get a "connection refused" message Ok. That narrows it down slightly. If you check your PG logs for FATAL me

Re: [GENERAL] Multiple Cluster on same host

2012-10-19 Thread Shaun Thomas
On 10/19/2012 09:14 AM, GMAIL wrote: i try the version 1.16 but it doesn't work. i don't get any error message If you don't get any error message from the client or the server, are you sure it didn't work? I only ask because 1.8 was so old, I'm surprised it even worked with the version you

Re: [GENERAL] Multiple Cluster on same host

2012-10-19 Thread Shaun Thomas
On 10/19/2012 09:59 AM, GMAIL wrote: i think that the problem should be the service iptables. what i have to change if i want to accept all request to the port 5433? iptables only affects the machine your server is running on. There can be a firewall literally *anywhere* between your client a

Re: [GENERAL] Index creation problem

2012-10-19 Thread Oliver Kohll - Mailing Lists
On 19 Oct 2012, at 15:09, "Albe Laurenz" wrote: > You should always include the list in your replies - > other people might be interested in the solution. Oops, thought I had. > > There must be at least two transactions involved > to create a locking problem like you describe. > But since CRE

Re: [GENERAL] Multiple Cluster on same host

2012-10-19 Thread Raymond O'Donnell
On 19/10/2012 15:38, GMAIL wrote: > Il 19/10/2012 16:33, Shaun Thomas ha scritto: >> >> If you don't get any error message from the client or the server, are >> you sure it didn't work? >> >> I only ask because 1.8 was so old, I'm surprised it even worked with >> the version you had before. The cat

Re: [GENERAL] Multiple Cluster on same host

2012-10-19 Thread Shaun Thomas
On 10/19/2012 09:52 AM, GMAIL wrote: using ping i receive a connection timed out Yep. You've got a firewall between you and your server. Somewhere. Good luck tracking that down, sir. Everything should clear up when/if that gets resolved. -- Shaun Thomas OptionsHouse | 141 W. Jackson Blvd.

Re: [GENERAL] Multiple Cluster on same host

2012-10-19 Thread Shaun Thomas
On 10/19/2012 09:38 AM, GMAIL wrote: but if i connect from another pc, with pgadmin 1.16 or other software, to the host with postgresql i get a "connection refused" message Ok. That narrows it down slightly. If you check your PG logs for FATAL messages, and you don't see anything complaining

[GENERAL] pgwatch: installs but doesn't display anything

2012-10-19 Thread Thalis Kalfigkopoulos
Hi all, trying to run pgwatch1.0 on Ubuntu 12.04 through a Bitnami LAPPstack. # select version(); PostgreSQL 9.1.1 on i686-pc-linux-gnu, compiled by gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5), 32-bit Pgwatch installation finishes OK but the webpages of pgwatch display nothing. Overview: ha