doc:appunti:linux:lezioni:pgsql_admin
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| doc:appunti:linux:lezioni:pgsql_admin [2009/02/20 00:32] – external edit 127.0.0.1 | doc:appunti:linux:lezioni:pgsql_admin [2012/01/13 15:00] (current) – [Logging] niccolo | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== PostgreSQL amministrazione ====== | ====== PostgreSQL amministrazione ====== | ||
| + | |||
| + | Vedere anche **[[..: | ||
| ===== Il client psql ===== | ===== Il client psql ===== | ||
| Line 13: | Line 15: | ||
| --file | --file | ||
| --command | --command | ||
| - | --outout | + | --output |
| </ | </ | ||
| Line 381: | Line 383: | ||
| </ | </ | ||
| + | ===== Debug attività ===== | ||
| + | |||
| + | Per capire in quale attività è impegnato Postgres è utile la seguente query: | ||
| + | |||
| + | <code sql> | ||
| + | SELECT datname, procpid, usename, current_query, | ||
| + | FROM pg_stat_activity; | ||
| + | </ | ||
doc/appunti/linux/lezioni/pgsql_admin.1235086355.txt.gz · Last modified: (external edit)
