Re: [ADMIN] pgstattuple, vacuum and free_space

2005-11-29 Thread Gourish Singbal
hi all,   I have a question :-  when we should consider vacuuming the table is there an average dead_tuple_percent that should be taken into account before vacuuming any table ?. i have   rpt_production=# select * from pgstattuple('table1');-[ RECORD 1 ]--+--table_len  | 105537

[ADMIN] Error in IPV6 client authenciation

2005-11-29 Thread R, Rajesh (STSD)
Hello All, I run Tru64 Unix 5.1B / Alpha OSF1. I have installed Postgresql 8.0.3 on a cluster. The following is my pg_hba.conf, " hostdcs all 127.0.0.1 255.255.255.255 password hostdcsconfig all 127.0.0.1 255.255.255.255 password local all

[ADMIN] command line options to pass to the postmaster - controlling UNIX socket permiss

2005-11-29 Thread Dan The Man
Hi, I'm running postgres on a Linux server SuSE SLES. When I run postgresql 8.0.3, I get /tmp/.s.PGSQLl.5432 socket open with group and owner permissions. The group permissions are the default group of the postgres account and the owner is postgres. If I want to start postgres with a non-

[ADMIN] continuent:sequoia

2005-11-29 Thread Josh O'Brien
Hello all, I was justwondering if anyone is using continuents p/cluster and could give me info on there personal experience. Thank you begin:vcard fn:Joshua O'Brien n:O'Brien;Joshua org:Zedx Inc. title:Database Administrator version:2.1 end:vcard ---(end of broadcast)-

Re: [ADMIN] command line options to pass to the postmaster - controlling UNIX socket permiss

2005-11-29 Thread Tom Lane
"Dan The Man" <[EMAIL PROTECTED]> writes: > I'm running postgres on a Linux server SuSE SLES. When I run postgresql > 8.0.3, I get /tmp/.s.PGSQLl.5432 socket open with group and owner > permissions. The group permissions are the default group of the postgres > account and the owner is postgre

[ADMIN] Delete slow...

2005-11-29 Thread Diego
Hi, I have a table with 400,000 records, but in delete comand is very slow (4 seconds for operation) Why is very slow? There is some special configuration for this? Ps.: Version = Postgresql 7.4.6 Thanks Diego Ziquinatti ---(end of broadcast)---

Re: [ADMIN] Delete slow...

2005-11-29 Thread Mario Splivalo
On Tue, 2005-11-29 at 18:13 -0300, Diego wrote: > Hi, > I have a table with 400,000 records, but in delete comand is very slow > (4 seconds for operation) > Why is very slow? There is some special configuration for this? > > Ps.: Version = Postgresql 7.4.6 That smells like a bad design. What do

Re: [ADMIN] Delete slow...

2005-11-29 Thread Diego
Thanks by answers... For each record deleted, my postgresql server spended 4 seconds... I know because i have logged each sql instruction, showing the time spended. My question is: is normal this time to a big table (400,000 records) Thanks! Diego Ziquinatti From Brazil (excuse me my english, r

Re: [ADMIN] Delete slow...

2005-11-29 Thread Scott Marlowe
On Tue, 2005-11-29 at 15:32, Diego wrote: > Thanks by answers... > > For each record deleted, my postgresql server spended 4 seconds... > I know because i have logged each sql instruction, showing the time spended. > > My question is: is normal this time to a big table (400,000 records) Do you h

[ADMIN] Fatal : IDENT authentication

2005-11-29 Thread Andrea
!Hola LISTA!   La duda és :   Yo he hecho un pg_dump de una base de datos llamada CHT ex:   pg_dump cht > cht.backup   después hice un psql (restore) en otro servidor en una base con el mismo nombre ex:  psql cht < cht.backup   Y tengo la mensage: FATAL: IDENT authentication failed for user

Re: [ADMIN] Delete slow...

2005-11-29 Thread Jim C. Nasby
Can you provide the output of EXPLAIN ANALYZE for one of these deletes? On Tue, Nov 29, 2005 at 06:32:43PM -0300, Diego wrote: > Thanks by answers... > > For each record deleted, my postgresql server spended 4 seconds... > I know because i have logged each sql instruction, showing the time spende

[ADMIN] invalid length of startup packet

2005-11-29 Thread Dan The Man
Hi, I've been using postgresql v810 for a couple of weeks. I notice when I start it up I get 'invalid lenth of startup packet' On a database that I just initialized I get ' incomplete startup packet' after I first started it. This never happened that I can see in 8.0.3. Does any one know

Re: [ADMIN] Delete slow...

2005-11-29 Thread Guido Barosio
A good idea would be to:   1) if your spanish is strong enough, post into the -es mailing list and kindly request for help there. (Si tu espaniol es fuerte, escribi a la lista -es, te vas a encontrar mas comodo con las posibles respuestas)   2) if your spanish isn't strong enough, post here again,

Re: [ADMIN] invalid length of startup packet

2005-11-29 Thread Guido Barosio
I can notice:   < % %2005-11-28 07:31:10 EST>LOG:  database system was not properly shutdown; automatic recovery in progress   At a first sight, you didn't shut down the database as expected. (pg_ctl stop -m smart/fast/immediate). Now I don't know if this is the root cause for that message, but a c

Re: [ADMIN] invalid length of startup packet

2005-11-29 Thread Tom Lane
"Dan The Man" <[EMAIL PROTECTED]> writes: > I've been using postgresql v810 for a couple of weeks. I notice when I > start it up I get 'invalid lenth of startup packet' On a database that I > just initialized I get ' incomplete startup packet' after I first started > it. This never happened

Re: [ADMIN] query planning and partitioned tables

2005-11-29 Thread Simon Riggs
On Thu, 2005-11-24 at 11:12 -0500, Colton Smith wrote: > My question involves how the database performs the following queries: > > explain select max(measurement_date) from pressure; > QUERY > PLAN >

[ADMIN] the "users" group and restricting privileges

2005-11-29 Thread Dan Tenenbaum
I want to create a postgresql user with restricted permissions--all it should be able to do is select on a few views that I specify. So I did the following, as the database owner: create user viewer password ''; grant select on myview to viewer; Then, when I start psql as the viewer user, spe

Re: [ADMIN] the "users" group and restricting privileges

2005-11-29 Thread Tom Lane
Dan Tenenbaum <[EMAIL PROTECTED]> writes: > ERROR: permission denied for schema myschema > What do I need to do to get the correct permissions? GRANT USAGE ON SCHEMA myschema TO whoever Schema access is comparable to directory access in a filesystem: if you can't look into the directory, it doesn

Re: [ADMIN] the "users" group and restricting privileges

2005-11-29 Thread Jim C. Nasby
On Tue, Nov 29, 2005 at 03:30:33PM -0800, Dan Tenenbaum wrote: > I want to create a postgresql user with restricted permissions--all it > should be able to do is select on a few views that I specify. > > So I did the following, as the database owner: > create user viewer password ''; > grant s

Re: [ADMIN] the "users" group and restricting privileges

2005-11-29 Thread Dan Tenenbaum
Thanks to both you and Jim--this was the missing piece that made things work. On 11/29/05, Tom Lane <[EMAIL PROTECTED]> wrote: Dan Tenenbaum <[EMAIL PROTECTED]> writes:> ERROR: permission denied for schema myschema> What do I need to do to get the correct permissions?GRANT USAGE ON SCHEMA myschema