User Tools

Site Tools


doc:appunti:linux:lezioni:pgsql_admin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
doc:appunti:linux:lezioni:pgsql_admin [2009/02/20 00:32] – external edit 127.0.0.1doc:appunti:linux:lezioni:pgsql_admin [2012/01/13 15:00] (current) – [Logging] niccolo
Line 1: Line 1:
 ====== PostgreSQL amministrazione ====== ====== PostgreSQL amministrazione ======
 +
 +Vedere anche **[[..:sa:postgresql]]**.
  
 ===== Il client psql ===== ===== Il client psql =====
Line 13: Line 15:
 --file      (-f) --file      (-f)
 --command   (-c) --command   (-c)
---outout    (-o)+--output    (-o)
 </code> </code>
  
Line 381: Line 383:
 </code> </code>
  
 +===== Debug attività =====
 +
 +Per capire in quale attività è impegnato Postgres è utile la seguente query:
 +
 +<code sql>
 +SELECT datname, procpid, usename, current_query, waiting, query_start, backend_start
 +    FROM pg_stat_activity;
 +</code>
doc/appunti/linux/lezioni/pgsql_admin.1235086355.txt.gz · Last modified: 2009/08/03 22:32 (external edit)