[ADMIN]

2010-05-20 Thread Priya G
http://pabivano.t35.com/ _ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-U

Re: [ADMIN] could not truncate directory "pg_subtrans": apparent wraparound

2010-05-20 Thread Alvaro Herrera
Excerpts from Mikko Partio's message of jue may 20 00:39:00 -0400 2010: > On Wed, May 19, 2010 at 3:21 PM, Ray Stell wrote: > > http://archives.postgresql.org/pgsql-general/2007-06/msg01050.php > > Browsing through that thread I can see that I have similar symptoms: > > $ pg_controldata | grep

[ADMIN] Asynchronous commit | Transaction loss at server crash

2010-05-20 Thread Balkrishna Sharma
Hello,Couple of questions:1. For the 'Asynchronous commit' mode, I know that WAL transactions not flushed to permanent storage will be lost in event of a server crash. Is it possible to know what were the non-flushed transactions that were lost, in any shape/form/part ? I guess not, but wanted

Re: [ADMIN] Clarification Needed: When does autovacuum daemon run?

2010-05-20 Thread Alvaro Herrera
Excerpts from Narasimha Murthy-VRFX87's message of jue may 20 02:47:21 -0400 2010: > Hi Alvaro Herrera, > > Since, my original plan was to run the auto-vacuum daily EXACTLY at 5 am, I > wanted to know which seconds of a minute. My query in other word was, if I > set autovacuum_naptime to 1 hr,

Re: [ADMIN] Asynchronous commit | Transaction loss at server crash

2010-05-20 Thread Scott Marlowe
On Thu, May 20, 2010 at 10:54 AM, Balkrishna Sharma wrote: > Hello, > Couple of questions: > 1. For the 'Asynchronous commit' mode, I know that WAL transactions not > flushed to permanent storage will be  lost in event of a server crash. Is it That's not exactly correct. Transactions that haven'

Re: [ADMIN] Asynchronous commit | Transaction loss at server crash

2010-05-20 Thread Scott Marlowe
On Thu, May 20, 2010 at 10:54 AM, Balkrishna Sharma wrote: > I need to support several hundreds of concurrent update/inserts from an > online form with pretty low latency (maybe couple of milliseconds at max). > Think of a save to database at every 'tab-out' in an online form. You can get nearly

[ADMIN] installation on Sun Solaris for version 8.4

2010-05-20 Thread Sherry . CTR . Zhu
All, I downloaded the file for Sun solaris 8.4 version, and extracted. Can someone tell me where the configure script is? Which unix account should run this script? You help is very appreciated. 15.5. Installation Procedure 1. Configuration The first step of the installation procedur

Re: [ADMIN] installation on Sun Solaris for version 8.4

2010-05-20 Thread Scott Marlowe
On Thu, May 20, 2010 at 11:56 AM, wrote: > > All, > >   I downloaded the file for Sun solaris 8.4 version, and extracted.  Can > someone tell me where the configure script is?  Which unix account should > run this script?  You help is very appreciated. It looks like you're compiling from source

Re: [ADMIN] installation on Sun Solaris for version 8.4

2010-05-20 Thread Scott Marlowe
And don't include pgsql-admin-ow...@postgresql.org in your cc list etc... Just pgsql-admin is plenty. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

Re: [ADMIN] Asynchronous commit | Transaction loss at server crash

2010-05-20 Thread Balkrishna Sharma
Good suggestion. Thanks.What's your take on SSD ? I read somewhere that moving the WAL to SSD helps as well. > Date: Thu, 20 May 2010 11:36:31 -0600 > Subject: Re: [ADMIN] Asynchronous commit | Transaction loss at server crash > From: scott.marl...@gmail.com > To: b...@hotmail.com > CC: pgsql-ad

Re: [ADMIN] Asynchronous commit | Transaction loss at server crash

2010-05-20 Thread Scott Marlowe
SSD and battery backed cache kind of do the same thing, in that they reduce random access times close to 0. However, most SSDs are still not considered reliable due to their internal caching systems. hard drives and bbu RAID are proven solutions, SSD is still not really there just yet in terms of

Re: [ADMIN] Asynchronous commit | Transaction loss at server crash

2010-05-20 Thread Balkrishna Sharma
What if we don't rely on the cache of SSD, i.e. have write-through setting and not write-back. Is the performance gain then not significant to justify SSD ? > Date: Thu, 20 May 2010 13:35:54 -0600 > Subject: Re: [ADMIN] Asynchronous commit | Transaction loss at server crash > From: scott.marl...

Re: [ADMIN] Asynchronous commit | Transaction loss at server crash

2010-05-20 Thread Scott Marlowe
The design of SSD is such that it cannot run without caching. It has to cache to arrange things to be written out due to issues with the fact that it cannot write small blocks one at a time but needs to write large chunks together at once. On Thu, May 20, 2010 at 2:10 PM, Balkrishna Sharma wrote

Re: [ADMIN] Asynchronous commit | Transaction loss at server crash

2010-05-20 Thread Balkrishna Sharma
But if we have write-through setting, failure before the cache can write to disk will result in incomplete transaction (i.e. host will know that the transaction was incomplete). Right ? Two things I need for my system is:1. Unsuccessful transactions with a notification back that it is unsuccess

Re: [ADMIN] Asynchronous commit | Transaction loss at server crash

2010-05-20 Thread Scott Marlowe
On Thu, May 20, 2010 at 2:26 PM, Balkrishna Sharma wrote: > But if we have write-through setting, failure before the cache can write to > disk will result in incomplete transaction (i.e. host will know that the > transaction was incomplete). Right ? > Two things I need for my system is: > 1. Unsuc

Re: [ADMIN] Asynchronous commit | Transaction loss at server crash

2010-05-20 Thread Jesper Krogh
On 2010-05-20 22:26, Balkrishna Sharma wrote: But if we have write-through setting, failure before the cache can write to disk will result in incomplete transaction (i.e. host will know that the transaction was incomplete). Right Two things I need for my system is:1. Unsuccessful transactio

Re: [ADMIN] Asynchronous commit | Transaction loss at server crash

2010-05-20 Thread Greg Smith
Jesper Krogh wrote: A Battery Backed raid controller is not that expensive. (in the range of 1 or 2 SSD disks). And it is (more or less) a silverbullet to the task you describe. Maybe even less; in order to get a SSD that's reliable at all in terms of good crash recovery, you have buy a fairl

Re: [ADMIN] Asynchronous commit | Transaction loss at server crash

2010-05-20 Thread Rosser Schwarz
On Thu, May 20, 2010 at 4:04 PM, Greg Smith wrote: > Also, it's questionable whether a SSD is even going to be faster than > standard disks for the sequential WAL writes anyway, once a non-volatile > write cache is available.  Sequential writes to SSD are the area where the > gap in performance b

Re: [ADMIN] Asynchronous commit | Transaction loss at server crash

2010-05-20 Thread Greg Smith
Balkrishna Sharma wrote: I need to support several hundreds of concurrent update/inserts from an online form with pretty low latency (maybe couple of milliseconds at max). Think of a save to database at every 'tab-out' in an online form. I regularly see 2000 - 4000 small write transactions per

[ADMIN]

2010-05-20 Thread Priya G
http://tikiboma.tripod.com/ _ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:e

Re: [ADMIN] Asynchronous commit | Transaction loss at server crash

2010-05-20 Thread Jesper Krogh
On 2010-05-21 00:04, Greg Smith wrote: Jesper Krogh wrote: > A Battery Backed raid controller is not that expensive. (in the > range of 1 or 2 SSD disks). And it is (more or less) a silverbullet > to the task you describe. Maybe even less; in order to get a SSD that's reliable at all in terms

Re: [ADMIN] could not truncate directory "pg_subtrans": apparent wraparound

2010-05-20 Thread Mikko Partio
On Thu, May 20, 2010 at 7:53 PM, Alvaro Herrera wrote: > Excerpts from Mikko Partio's message of jue may 20 00:39:00 -0400 2010: > > On Wed, May 19, 2010 at 3:21 PM, Ray Stell wrote: > > > > http://archives.postgresql.org/pgsql-general/2007-06/msg01050.php > > > > Browsing through that thread I c