Re: [PERFORM] libpq or postgresql performance

2012-09-06 Thread Ireneusz Pluta
W dniu 2012-09-06 22:04, Aryan Ariel Rodriguez Chalas pisze: -Why if I connect to the remote server desktop (using RDP or any Remote Desktop Application) and run the application using the same internet connection, it runs really fast when making requests to postgresql; but if I run the applicat

Re: [PERFORM] libpq or postgresql performance

2012-09-06 Thread Albe Laurenz
Aryan Ariel Rodriguez Chalas wrote: > I'm working with an application that connects to a remote server database > using "libpq" library over > internet, but making a simple query is really slow even though I've done > PostgreSQL Tunning and table > being indexed, so I want to know: > > -Why is p

Re: [PERFORM] HELP!!!-----Need to Sql commands to monitoring Postgresql

2012-09-06 Thread Daniel Farina
On Thu, Sep 6, 2012 at 6:50 PM, charles_xie wrote: > Hi, >Thanks for your advice.i know the basic monitoring skill,because the > postgresql database is used for the factory production , so I hope they can > run normal and exert more perfect performance. so i need to be considered > from the p

Re: [PERFORM] libpq or postgresql performance

2012-09-06 Thread Andreas Kretschmer
Aryan Ariel Rodriguez Chalas wrote: > Hello, > > I'm working with an application that connects to a remote server database > using "libpq" library over internet, but making a simple query is really slow > even though I've done PostgreSQL Tunning and table being indexed, so I want > to know:

Re: [PERFORM] HELP!!!-----Need to Sql commands to monitoring Postgresql

2012-09-06 Thread charles_xie
Hi, Thanks for your advice.i know the basic monitoring skill,because the postgresql database is used for the factory production , so I hope they can run normal and exert more perfect performance. so i need to be considered from the point of view ,eg : threading ,locks and so on. Daniel Farina

[PERFORM] libpq or postgresql performance

2012-09-06 Thread Aryan Ariel Rodriguez Chalas
Hello, I'm working with an application that connects to a remote server database using "libpq" library over internet, but making a simple query is really slow even though I've done PostgreSQL Tunning and table being indexed, so I want to know: -Why is postgresql or libpq that slow when working

Re: [PERFORM] HELP!!!-----Need to Sql commands to monitoring Postgresql

2012-09-06 Thread Steven Crandell
Also probably some good info to be mined out of postbix. http://www.zabbix.com/wiki/howto/monitor/db/postbix/monitor_postgres_with_zabbix On Thu, Sep 6, 2012 at 12:44 PM, Josh Berkus wrote: > On 9/4/12 12:12 AM, charles_xie wrote: > > Hi all, > > i have 5 servers that have been installi

Re: [PERFORM] HELP!!!-----Need to Sql commands to monitoring Postgresql

2012-09-06 Thread Josh Berkus
On 9/4/12 12:12 AM, charles_xie wrote: > Hi all, > i have 5 servers that have been installing postgresql .In order to > know the postgresql working status and monitor them ,moreover i don't want > to use the monitor tools .I want to use the SQL commands to monitoring > postgresql system

Re: [PERFORM] HELP!!!-----Need to Sql commands to monitoring Postgresql

2012-09-06 Thread Daniel Farina
On Tue, Sep 4, 2012 at 12:12 AM, charles_xie wrote: > Hi all, > i have 5 servers that have been installing postgresql .In order to > know the postgresql working status and monitor them ,moreover i don't want > to use the monitor tools .I want to use the SQL commands to monitoring > pos

Re: [PERFORM] JDBC 5 million function insert returning Single Transaction Lock Access Exclusive Problem

2012-09-06 Thread Eileen
Thank you for your help. At a high-level, I am just updating about 900k records in the database with new information, and during that update timetable, I didn't want users to get inconsistent data. I read about the MVCC and discovered that I didn't necessarily need the LOCK statement. However