зеркало из
				https://github.com/iharh/notes.git
				synced 2025-11-03 23:26:09 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			12 строки
		
	
	
		
			276 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			12 строки
		
	
	
		
			276 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
select * from pg_stat_activity where current_query <> '<IDLE>';
 | 
						|
 | 
						|
- current_query (text)
 | 
						|
- client_addr/client_port
 | 
						|
- [backend/xact/query]_start (timestamp with timezone)
 | 
						|
- waiting (boolean)
 | 
						|
 | 
						|
pg_stat_statement
 | 
						|
pg_stat_statements_for_readonly
 | 
						|
 | 
						|
explain(analyze, costs, json, ...)
 |