Zmiany pomiędzy wersją 10 and wersją 11 dla AdminGuide/DatabaseMonitoring

Pokaż
Ignoruj:
Data i czas:
05/26/15 21:55:11 (9 years temu)
Autor:
JP (IP: 93.105.42.130)
Komentarz:

--

Legend:

Bez zmian
Dodane
Usunięte
Zmienione
  • AdminGuide/DatabaseMonitoring

    v10 v11  
    3434 
    3535== Sprawdzenie aktualnie wykonywanych zapytań == 
    36  
    37 {{{ 
    38 postgres@edokumenty:~$psql 
    39  
    40 SELECT (now() - pg_stat_activity.xact_start) AS age, 
    41 pg_stat_activity.datname, pg_stat_activity.procpid, 
    42 pg_stat_activity.usename, pg_stat_activity.waiting, 
    43 pg_stat_activity.query_start, pg_stat_activity.client_addr, 
    44 pg_stat_activity.client_port, pg_stat_activity.current_query 
    45 FROM pg_stat_activity 
    46 WHERE (pg_stat_activity.xact_start IS NOT NULL) 
    47 ORDER BY pg_stat_activity.xact_start; 
    48  
    49 }}} 
    5036 
    5137Od wersji postgresql 9.2: