Re: [GENERAL] Server Performance

2009-03-31 Thread Stefan Kaltenbrunner
chris.el...@shropshire.gov.uk wrote: Scott Marlowe wrote on 31/03/2009 15:53:34: > On Tue, Mar 31, 2009 at 8:21 AM, wrote: > > > > Scott Marlowe wrote on 31/03/2009 15:16:01: > > > >> I'd call IBM and ask them to come pick up their boat anchors. > > > > My sentiments exactly, unfortu

Re: [GENERAL] SELinux problem rsync'ing WAL logs

2009-03-31 Thread Tom Lane
Aleksey Tsalolikhin writes: > On Tue, Mar 31, 2009 at 6:35 PM, David Wilson > wrote: >> Have you tested "ssh node2" as the postgres user with SELinux enabled? > Yes, I have, it works fine. With SELinux enabled. That's why I've > been tearing my hair out. Ah, well, you need to understand one

Re: [GENERAL] SELinux problem rsync'ing WAL logs

2009-03-31 Thread Aleksey Tsalolikhin
On Tue, Mar 31, 2009 at 6:35 PM, David Wilson wrote: > On Tue, Mar 31, 2009 at 9:18 PM, Aleksey Tsalolikhin > wrote: > >> Could not create directory '/home/postgres/.ssh'. >> Host key verification failed. > > Have you tested "ssh node2" as the postgres user with SELinux enabled? Yes, I have, it

Re: [GENERAL] SELinux problem rsync'ing WAL logs

2009-03-31 Thread David Wilson
On Tue, Mar 31, 2009 at 9:18 PM, Aleksey Tsalolikhin wrote: > Could not create directory '/home/postgres/.ssh'. > Host key verification failed. Have you tested "ssh node2" as the postgres user with SELinux enabled? This looks like ssh failing to access the .ssh directory where it keeps host keys

[GENERAL] SELinux problem rsync'ing WAL logs

2009-03-31 Thread Aleksey Tsalolikhin
Ok, this is not strictly a PostgreSQL issue, but I am trying to enable WAL log shipping on our PostgreSQL 8.1.10 (upgrade to 8.3.7 is in the works). My archive_command is 'rsync %p postg...@node2:/file/to/$f http://www.verticalsysadmin.com/ LinkedIn - http://www.linkedin.com/in/atsaloli -- Sent

Re: [GENERAL] High consumns memory

2009-03-31 Thread Scott Marlowe
On Tue, Mar 31, 2009 at 5:44 PM, Anderson Valadares wrote: > I have a software developed in Delphi as a Windows Service, but, i don't > know why, it consumns an unexpected large system memory (1.3g). > > The service access PostgresSQL by ODBC driver (psqlodbc_08_03_0400) and it > consist simply of

[GENERAL] High consumns memory

2009-03-31 Thread Anderson Valadares
I have a software developed in Delphi as a Windows Service, but, i don't know why, it consumns an unexpected large system memory (1.3g). The service access PostgresSQL by ODBC driver (psqlodbc_08_03_0400) and it consist simply of a loop calling a procedure PL/PGSQL. How to discover what is causing

[GENERAL] Re: [GENERAL] ERROR: XX001: could not read block 235 4 of relation…

2009-03-31 Thread Patrick Desjardins
I am on Windows Server 2003 and humm I will have to check tommorow morning but I do not think any Anti-Virus is scanning. On Tue, Mar 31, 2009 at 6:53 PM, Scott Marlowe wrote: > On Tue, Mar 31, 2009 at 2:10 PM, Patrick Desjardins > wrote: > > Hi, > > > > I have the error ERROR: XX001: could not

[GENERAL] Re: [GENERAL] ERROR: XX001: could not read block 235 4 of relation…

2009-03-31 Thread Scott Marlowe
On Tue, Mar 31, 2009 at 2:10 PM, Patrick Desjardins wrote: > Hi, > > I have the error ERROR: XX001: could not read block 2354 of relation > 1663/17633/17925: read only 0 of 8192 bytes, but only sometime, when trying > to Insert data into a table. I would say that 99% of Insert works and 100% > of

Re: [GENERAL] Space for pg_dump

2009-03-31 Thread hubert depesz lubaczewski
On Tue, Mar 31, 2009 at 08:57:28AM -0700, SHARMILA JOTHIRAJAH wrote: > > Note you can find out by doing: > > pg_dump dbname | wc > Yes...I could find the space used after creating the dump. > But I need to pre-allocate some space for storing these dumps I'm not sure if you realize that you don't n

[GENERAL] ERROR: XX001: could not read block 2354 of relation …

2009-03-31 Thread Patrick Desjardins
Hi, I have the error ERROR: XX001: could not read block 2354 of relation 1663/17633/17925: read only 0 of 8192 bytes, but only sometime, when trying to Insert data into a table. I would say that 99% of Insert works and 100% of read works. This is only happenning since few weeks. I have done Vaccum

Re: [GENERAL] Server Performance

2009-03-31 Thread Greg Smith
On Tue, 31 Mar 2009, chris.el...@shropshire.gov.uk wrote: Been having interesting times with an IBM x3650 with 8 15k RPM 73GB drives in RAID 10 and a ServRAID 8K controller with Write-Back cache enabled (battery installed and working).  Currently getting a pgbench score of 4.7 transactions per

[GENERAL] Triggers for a MPTT based table

2009-03-31 Thread Laurent Rahuel
Hi all, I wish to use a MPTT based table to store some hierachical datas. Here is my table definition: CREATE TABLE region ( id SERIAL NOT NULL, full_path VARCHAR(255) NOT NULL, lhs INTEGER NOT NULL, rhs INTEGER NOT NULL, level INTEGER NOT NULL, parent

Re: [GENERAL] string_to_array with empty input

2009-03-31 Thread justin
This thread being cross posted has made it a bit confusing Greg Stark wrote: Nobody has ever suggested filtering out empty elements or dealing specially with spaces or anything else like that. If you're talking about that then you've missed the original question. "Does anyone want t

Re: [GENERAL] string_to_array with empty input

2009-03-31 Thread Greg Stark
On Tue, Mar 31, 2009 at 6:44 PM, justin wrote: > > Consider this.  I have intelligent part numbers  that need to be split apart > to simplify searching  and do math with. > > string_to_array(' F-2500-50 ', '-' ) ::int[] Yeah, that's what I've said about three times. If you're building a parser an

[GENERAL] Pg Conference East: Registration closing

2009-03-31 Thread Joshua D. Drake
Hello, As a reminder for all of those in our community that like to register at the last minuted (that means most of us), registration will be closing on Wednesday April first. On line registration is much easier than registering at the door so please bounce on over to: http://www.postgresql.us/p

Re: [GENERAL] string_to_array with empty input

2009-03-31 Thread justin
Greg Stark wrote: On Tue, Mar 31, 2009 at 5:48 PM, justin wrote: But consider  this fails also select string_to_array('1, , 3', ',' )::int[] => ERROR:  invalid input syntax for integer: " " yet this works select string_to_array('1, 2, 3',',')::int[] Sure, and the an

Re: [GENERAL] [GENEAL] dynamically changing table

2009-03-31 Thread Alban Hertroys
On Mar 31, 2009, at 6:41 PM, Harald Fuchs wrote: In article <437faa9f-df2d-429e-9856-eb2026b55...@solfertje.student.utwente.nl >, Alban Hertroys writes: You could add the columns you're sure that you need and put the rest in an XML field. If you have a problem and want to solve it using X

Re: [GENERAL] string_to_array with empty input

2009-03-31 Thread Greg Stark
On Tue, Mar 31, 2009 at 5:48 PM, justin wrote: > > But consider  this fails also > > select string_to_array('1, , 3', ',' )::int[] => ERROR:  invalid input > syntax for integer: " " > > yet this works > > select string_to_array('1, 2, 3',',')::int[] Sure, and the analogous pair string_to_array('

Re: [HACKERS] [GENERAL] string_to_array with empty input

2009-03-31 Thread justin
Sam Mason wrote: string_to_array('',',')::INT[] => invalid input syntax for integer: "" Which you don't get at the moment; although you do currently get it in other common cases such as: string_to_array('1,',',')::INT[] If you want backwards compatible behaviour you could always bung a N

Re: [GENERAL] [GENEAL] dynamically changing table

2009-03-31 Thread Harald Fuchs
In article <437faa9f-df2d-429e-9856-eb2026b55...@solfertje.student.utwente.nl>, Alban Hertroys writes: > On Mar 30, 2009, at 5:39 PM, A B wrote: >> Hi, >> In the next project I'm going to have a number of colums in my tables, >> but I don't know how many, they change. They all use integers as >>

Re: [GENERAL] Space for pg_dump

2009-03-31 Thread Scott Marlowe
On Tue, Mar 31, 2009 at 10:31 AM, SHARMILA JOTHIRAJAH wrote: > > > > --- On Tue, 3/31/09, Scott Marlowe wrote: > >> From: Scott Marlowe >> wrote: >> > But I need to pre-allocate some space for storing >> these dumps (there are other databases too that needs to be >> dumped). So Im trying to find

Re: [GENERAL] Space for pg_dump

2009-03-31 Thread SHARMILA JOTHIRAJAH
--- On Tue, 3/31/09, Scott Marlowe wrote: > From: Scott Marlowe > Subject: Re: [GENERAL] Space for pg_dump > To: "SHARMILA JOTHIRAJAH" > Cc: "General postgres mailing list" > Date: Tuesday, March 31, 2009, 12:07 PM > On Tue, Mar 31, 2009 at 9:57 AM, > SHARMILA JOTHIRAJAH > > wrote: > > But

Re: [GENERAL] how to see how the data is structured in postgreqsql

2009-03-31 Thread zhang zhengquan
Thank you so much Ray, I will give it a go. Z 2009/3/31 Raymond O'Donnell : > On 31/03/2009 16:58, zhang zhengquan wrote: >> I would like to know how the my log data is organized in the database >> and then I will see if I can do something to optimize the data entry >> into the db. > > pgAdmin is

Re: [GENERAL] string_to_array with empty input

2009-03-31 Thread justin
Sam Mason wrote: I'd expect 3,2,1 and 1. That's also a disingenuous example; what would you expect back from: select count_elements(string_to_array('butter,,milk',',')) I think the semantics you want is what you'd get from: array_filter_blanks(string_to_array($1,$2)) where I defined "arr

Re: [GENERAL] weird problem with PG 8.1

2009-03-31 Thread Osvaldo Kussama
2009/3/31 Marcin Krol : > Hello everyone, > > I'm having this completely weird problem that ORDER BY doesn't seem to work > correctly in PG 8.1 as bundled in RedHat 5. > > When I issue: > > SELECT * FROM virtualization; > > I get all the fields: > > reservations=# SELECT * FROM virtualization; >  i

Re: [GENERAL] how to see how the data is structured in postgreqsql

2009-03-31 Thread Raymond O'Donnell
On 31/03/2009 16:58, zhang zhengquan wrote: > I would like to know how the my log data is organized in the database > and then I will see if I can do something to optimize the data entry > into the db. pgAdmin is a really good tool that lets you see all the objects in your database in a tree view:

Re: [GENERAL] string_to_array with empty input

2009-03-31 Thread Greg Stark
On Tue, Mar 31, 2009 at 4:34 PM, Sam Mason wrote: > > That's also a disingenuous example; what would you expect back from: > >  select count_elements(string_to_array('butter,,milk',',')) > > I think the semantics you want is what you'd get from: > >  array_filter_blanks(string_to_array($1,$2)) > >

Re: [GENERAL] Space for pg_dump

2009-03-31 Thread Scott Marlowe
On Tue, Mar 31, 2009 at 9:57 AM, SHARMILA JOTHIRAJAH wrote: > --- On Tue, 3/31/09, Scott Marlowe wrote: > >> From: Scott Marlowe >> Subject: Re: [GENERAL] Space for pg_dump >> To: "SHARMILA JOTHIRAJAH" >> Cc: "General postgres mailing list" >> Date: Tuesday, March 31, 2009, 11:49 AM >> On Tue,

[GENERAL] how to see how the data is structured in postgreqsql

2009-03-31 Thread zhang zhengquan
Hi, There, I am a new sysadmin and I am new to postgresql and database. I have got a very old gentoo server that has been running postgresql db for years and now the log files alone are about 10 Giga bytes. we run apache server and we have a ruby script that parse the access_log of apache and p

Re: [GENERAL] Space for pg_dump

2009-03-31 Thread Scott Marlowe
On Tue, Mar 31, 2009 at 9:57 AM, SHARMILA JOTHIRAJAH wrote: > But I need to pre-allocate some space for storing these dumps (there are > other databases too that needs to be dumped). So Im trying to find a space > estimate > Do you have a rough estimate of pg_dump in general... like 1/4 th

[GENERAL] non starting server

2009-03-31 Thread Bradley Russell
Long time reader, first time poster :-) Postgresql 8.3.something Windows Server 2003 So, the hard drive filled up this morning but server was still up. I ran a few deletes some of them finished then the server crashed. Now it won't start back up. Just getting could not start server on the co

Re: [GENERAL] Space for pg_dump

2009-03-31 Thread SHARMILA JOTHIRAJAH
--- On Tue, 3/31/09, Scott Marlowe wrote: > From: Scott Marlowe > Subject: Re: [GENERAL] Space for pg_dump > To: "SHARMILA JOTHIRAJAH" > Cc: "General postgres mailing list" > Date: Tuesday, March 31, 2009, 11:49 AM > On Tue, Mar 31, 2009 at 7:57 AM, > SHARMILA JOTHIRAJAH > > wrote: > > > >

Re: [GENERAL] weird problem with PG 8.1

2009-03-31 Thread Guillaume Lelarge
Hi, Le mardi 31 mars 2009 à 17:35:58, Marcin Krol a écrit : > [...] > I'm having this completely weird problem that ORDER BY doesn't seem to > work correctly in PG 8.1 as bundled in RedHat 5. > > When I issue: > > SELECT * FROM virtualization; > > I get all the fields: > > reservations=# SELECT *

Re: [HACKERS] [GENERAL] string_to_array with empty input

2009-03-31 Thread David E. Wheeler
On Mar 31, 2009, at 8:34 AM, Sam Mason wrote: What do you really expect to be returned for things like select count_elements(string_to_array('butter,tea,milk',',')) 3 = {butter,tea,milk} select count_elements(string_to_array('butter,tea',',')) 2 = {butter,tea} select count_elements(stri

Re: [GENERAL] weird problem with PG 8.1

2009-03-31 Thread Tom Lane
Marcin Krol writes: > When I issue: > SELECT * FROM virtualization; > I get all the fields: > reservations=# SELECT * FROM virtualization; > id | Virtualization | color > +-+- > But when I try to order by column Virtualization: > reservations=# SELECT * FROM virt

Re: [GENERAL] Space for pg_dump

2009-03-31 Thread Scott Marlowe
On Tue, Mar 31, 2009 at 7:57 AM, SHARMILA JOTHIRAJAH wrote: > > Hi, > How much space does a pg_dump usually take? > One of my databases is 600GB How much  space do I need to dump this? Note you can find out by doing: pg_dump dbname | wc -- Sent via pgsql-general mailing list (pgsql-general

Re: [GENERAL] weird problem with PG 8.1

2009-03-31 Thread Scott Marlowe
On Tue, Mar 31, 2009 at 9:35 AM, Marcin Krol wrote: > Hello everyone, > > I'm having this completely weird problem that ORDER BY doesn't seem to work > correctly in PG 8.1 as bundled in RedHat 5. > > When I issue: > > SELECT * FROM virtualization; > > I get all the fields: > > reservations=# SELEC

Re: [GENERAL] Space for pg_dump

2009-03-31 Thread Richard Huxton
SHARMILA JOTHIRAJAH wrote: > Hi, > How much space does a pg_dump usually take? > One of my databases is 600GB How much space do I need to dump this? That will depend on how many indexes etc. make up that 600GB. Also how compressible your data is if you are using -Fc. Certainly less than a "li

Re: [GENERAL] Server Performance

2009-03-31 Thread Scott Marlowe
On Tue, Mar 31, 2009 at 8:54 AM, wrote: > > Scott Marlowe wrote on 31/03/2009 15:53:34: > >> On Tue, Mar 31, 2009 at 8:21 AM,   wrote: >> > >> > Scott Marlowe wrote on 31/03/2009 15:16:01: >> > >> >> I'd call IBM and ask them to come pick up their boat anchors. >> > >> > My sentiments exactly,

[GENERAL] weird problem with PG 8.1

2009-03-31 Thread Marcin Krol
Hello everyone, I'm having this completely weird problem that ORDER BY doesn't seem to work correctly in PG 8.1 as bundled in RedHat 5. When I issue: SELECT * FROM virtualization; I get all the fields: reservations=# SELECT * FROM virtualization; id | Virtualization | color +

Re: [HACKERS] [GENERAL] string_to_array with empty input

2009-03-31 Thread Tom Lane
Greg Stark writes: > On Tue, Mar 31, 2009 at 3:42 PM, Sam Mason wrote: >> string_to_array('',',')::INT[]  => invalid input syntax for integer: "" > Oof. That's a good point. Isn't that an argument in favor of the zero-size-array definition? regards, tom lane -- Sent v

Re: [GENERAL] string_to_array with empty input

2009-03-31 Thread Sam Mason
On Tue, Mar 31, 2009 at 03:43:37PM +0100, Greg Stark wrote: > On Tue, Mar 31, 2009 at 7:45 AM, Brendan Jurd wrote: > > My first thought was that it should be a zero-element array, because > > then the string_to_array() behaviour would conform to the notion that > > it returns an array with 1 eleme

Re: [GENERAL] Server Performance

2009-03-31 Thread Chris . Ellis
Scott Marlowe wrote on 31/03/2009 15:53:34: > On Tue, Mar 31, 2009 at 8:21 AM, wrote: > > > > Scott Marlowe wrote on 31/03/2009 15:16:01: > > > >> I'd call IBM and ask them to come pick up their boat anchors. > > > > My sentiments exactly, unfortunately, I seem stuck with them :( > > Can you

Re: [GENERAL] Server Performance

2009-03-31 Thread Scott Marlowe
On Tue, Mar 31, 2009 at 8:21 AM, wrote: > > Scott Marlowe wrote on 31/03/2009 15:16:01: > >> I'd call IBM and ask them to come pick up their boat anchors. > > My sentiments exactly, unfortunately, I seem stuck with them :( Can you at least source your own RAID controllers? -- Sent via pgsql-g

Re: [GENERAL] string_to_array with empty input

2009-03-31 Thread Greg Stark
On Tue, Mar 31, 2009 at 3:42 PM, Sam Mason wrote: > >  string_to_array('',',')::INT[]  => invalid input syntax for integer: "" Oof. That's a good point. -- greg -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.o

Re: [GENERAL] string_to_array with empty input

2009-03-31 Thread Greg Stark
On Tue, Mar 31, 2009 at 7:45 AM, Brendan Jurd wrote: > My first thought was that it should be a zero-element array, because > then the string_to_array() behaviour would conform to the notion that > it returns an array with 1 element per string fragment bounded by the > delimiter. > > However, I no

Re: [HACKERS] [GENERAL] string_to_array with empty input

2009-03-31 Thread Sam Mason
On Tue, Mar 31, 2009 at 05:45:33PM +1100, Brendan Jurd wrote: > On Tue, Mar 31, 2009 at 2:26 PM, Tom Lane wrote: > > Does anyone want to argue for keeping it the same?  Or perhaps > > argue that a zero-element array is a more sensible result than > > a one-element array with one empty string?  (It

Re: [GENERAL] Server Performance

2009-03-31 Thread Chris . Ellis
Scott Marlowe wrote on 31/03/2009 15:16:01: > On Tue, Mar 31, 2009 at 3:37 AM, wrote: > > > > Hi > > > > Been having interesting times with an IBM x3650 with 8 15k RPM 73GB drives > > in RAID 10 and a ServRAID 8K controller with Write-Back cache enabled > > (battery installed and working). Cu

Re: [GENERAL] Server Performance

2009-03-31 Thread Scott Marlowe
On Tue, Mar 31, 2009 at 3:37 AM, wrote: > > Hi > > Been having interesting times with an IBM x3650 with 8 15k RPM 73GB drives > in RAID 10 and a ServRAID 8K controller with Write-Back cache enabled > (battery installed and working).  Currently getting a pgbench score of 4.7 > transactions per sec

Re: [GENERAL] how can i migrate just the users from one db to a new one

2009-03-31 Thread Adrian Klaver
On Tuesday 31 March 2009 6:44:52 am Reid Thompson wrote: > I've a DB and I want to migrate the users to a new empty DB. How do I > dump/reload just the users? > > Thanks, > reid pg_dumpall -g From: http://www.postgresql.org/docs/8.3/interactive/app-pg-dumpall.html -g --globals-only Dump on

[GENERAL] Space for pg_dump

2009-03-31 Thread SHARMILA JOTHIRAJAH
Hi, How much space does a pg_dump usually take? One of my databases is 600GB How much space do I need to dump this? Thanks -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

[GENERAL] how can i migrate just the users from one db to a new one

2009-03-31 Thread Reid Thompson
I've a DB and I want to migrate the users to a new empty DB. How do I dump/reload just the users? Thanks, reid -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Postgres: Packaging & Server Startup

2009-03-31 Thread Raymond O'Donnell
On 31/03/2009 12:14, CM J wrote: > D:\pgsql\bin\pg_ctl.exe -U postgres -P -w start -D D:\pgsql\data I wonder if that -P is causing trouble? According to the output of --help, there's no -P option with a START operation; however, -p is used to specify the path to the postgres binaries. Just a s

Re: [GENERAL] [GENEAL] dynamically changing table

2009-03-31 Thread Alban Hertroys
On Mar 30, 2009, at 5:39 PM, A B wrote: Hi, In the next project I'm going to have a number of colums in my tables, but I don't know how many, they change. They all use integers as datatype though.. One day, I get 2 new columns, a week later I loose one column, and so on in a random pattern. I

Re: [GENERAL] Postgres: Packaging & Server Startup

2009-03-31 Thread Richard Huxton
CM J wrote: > Hi, > > I don't have multiple postgres installed. Hmm. OK. > Anyway, tried your suggestion > to use the full path name and here is what i get: > > D:\pgsql\bin>D:\pgsql\bin\pg_ctl.exe -U postgres -P -w start > -D:\pgsql\data You've got a typo here - the "-D" has run into "D:\...

Re: [GENERAL] Postgres: Packaging & Server Startup

2009-03-31 Thread CM J
Hi, Please ignore my previous mail. I had given data directory location incorrectly.Anyways,even after giving the absolute path for exe location, i get the same error message as before: D:\pgsql\bin\pg_ctl.exe -U postgres -P -w start -D D:\pgsql\data *waiting for server to start...FATAL

Re: [GENERAL] Postgres: Packaging & Server Startup

2009-03-31 Thread CM J
Hi, I don't have multiple postgres installed.Anyway, tried your suggestion to use the full path name and here is what i get: D:\pgsql\bin>D:\pgsql\bin\pg_ctl.exe -U postgres -P -w start -D:\pgsql\data pg_ctl: could not open PID file ":/pgsql/data/postmaster.pid": Invalid argument

Re: [GENERAL] partial TEXT search on an index

2009-03-31 Thread Oleg Bartunov
On Tue, 31 Mar 2009, Thomas Pundt wrote: Hi, Ow Mun Heng schrieb: I don't think I understand how PG implements fulltext searching or if my search actually needs to use fulltext search. No, that's something different. See the fine manual. in 8.4 it will be possible to use prefix search in f

[GENERAL] Postgres: Packaging & Server Startup

2009-03-31 Thread JCM
Hi, I am working on packaging postgres database in our java based application.I downloaded postgresql-8.2.12-1-binaries-no-installer.zip from the postgres site and installed it on a windows 2003 machine using administrator account.I later created a postgres service login account and changed t

Re: [GENERAL] Postgres: Packaging & Server Startup

2009-03-31 Thread Richard Huxton
CM J wrote: > pg_ctl.exe -U postgres -P -w start -D D:\pgsql\data > > However, i get the following error message: > > waiting for server to start...FATAL: postgres: could not locate matching > postgres executable That does seem to suggest it found the executable but it didn't match ve

[GENERAL] Postgres: Packaging & Server Startup

2009-03-31 Thread CM J
Hi, I am working on packaging postgres database in our java based application.I downloaded postgresql-8.2.12-1-binaries-no-installer.zip from the postgres site and installed it on a windows 2003 machine using administrator account.I later created a postgres service login account and changed th

[GENERAL] Server Performance

2009-03-31 Thread Chris . Ellis
Hi Been having interesting times with an IBM x3650 with 8 15k RPM 73GB drives in RAID 10 and a ServRAID 8K controller with Write-Back cache enabled (battery installed and working). Currently getting a pgbench score of 4.7 transactions per second! After playing with the postgresql configuratio

Re: [GENERAL] Schema for J2EE project

2009-03-31 Thread Richard Huxton
margaretgil...@chromalloy.com wrote: > Using Postgresql 8.2.11 on Ubuntu 7.10. > > I am writing a J2EE project but do not want user specific schemas because > this > application sits on a production floor and any production employee can walk > to a > workstation and access the database to punc

Re: [GENERAL] partial TEXT search on an index

2009-03-31 Thread Thomas Pundt
Hi, Ow Mun Heng schrieb: I don't think I understand how PG implements fulltext searching or if my search actually needs to use fulltext search. No, that's something different. See the fine manual. basically, I have a btree index on a SERIAL_NUMBER which is of sort like ABC12345 or AAA123434