Re: [ADMIN] users connected

2004-07-19 Thread Gaetano Mendola
Cardoso Patrick wrote: Hi, Is it possible to know the number of users connected to a database ? select * from pg_stat_activity. I'm not sure about permissions you need for it, try. Regards Gaetano Mendola ---(end of broadcast)--- TIP 9: the plan

Re: [ADMIN] users connected

2004-07-19 Thread Robert Treat
On Fri, 2004-07-16 at 10:42, Cardoso Patrick wrote: > Hi, > > Is it possible to know the number of users connected to a > database ? > > Regards > > select * from pg_stat_activity; Robert Treat -- Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL ---

Re: [ADMIN] VACUUM ANALYZE and REINDEX

2004-07-19 Thread Scott Marlowe
On Mon, 2004-07-19 at 13:25, Bill Chandler wrote: > Hello, > > I'm sorry if this too basic. I searched the web but > could not find an answer. > > Q1: When you do a VACUUM ANALYZE does it update the > statistics for existing indexes on the table? Or do > you have to do an explicit REINDEX comma

Re: [ADMIN] Large file support needed? Trying to identify root of

2004-07-19 Thread Scott Marlowe
On Mon, 2004-07-19 at 13:28, Kris Kiger wrote: > I've got a database that is a single table with 5 integers, a timestamp > with time zone, and a boolean. The table is 170 million rows in length. > The contents of the tar'd dump file it produced using: > pg_dump -U postgres -Ft test > test_b

Re: [ADMIN] Large file support needed? Trying to identify root of error.

2004-07-19 Thread Tom Lane
Kris Kiger <[EMAIL PROTECTED]> writes: > I've got a database that is a single table with 5 integers, a timestamp > with time zone, and a boolean. The table is 170 million rows in length. > The contents of the tar'd dump file it produced using: > pg_dump -U postgres -Ft test > test_backup.ta

[ADMIN] VACUUM ANALYZE and REINDEX

2004-07-19 Thread Bill Chandler
Hello, I'm sorry if this too basic. I searched the web but could not find an answer. Q1: When you do a VACUUM ANALYZE does it update the statistics for existing indexes on the table? Or do you have to do an explicit REINDEX command on the index (or possibly drop and recreate the index)? thanks

[ADMIN] Large file support needed? Trying to identify root of error.

2004-07-19 Thread Kris Kiger
I've got a database that is a single table with 5 integers, a timestamp with time zone, and a boolean. The table is 170 million rows in length. The contents of the tar'd dump file it produced using: pg_dump -U postgres -Ft test > test_backup.tar is: 8.dat (approximately 8GB), a toc, and resto

Re: [ADMIN] inheritance question

2004-07-19 Thread Stephan Szabo
On Mon, 19 Jul 2004, Tsirkin Evgeny wrote: > But this way i will touch both the schema AND data > And what i want is to change the schema ONLY. The use the ALTER TABLE table* ADD COLUMN syntax to alter the schema for table and its descendants. In general, SQL_INHERITANCE=false is primarily there

Re: [ADMIN] inheritance question

2004-07-19 Thread Tsirkin Evgeny
But this way i will touch both the schema AND data And what i want is to change the schema ONLY. Thanks On Sun, 18 Jul 2004, Stephan Szabo wrote: > On Tue, 13 Jul 2004, evgeny tsurkin wrote: > > > Hi All! > > That probably was already asked thousand times > > but i did not find an exact answer: