Search
 
SCRIPT & CODE EXAMPLE
 

SQL

postgres active connections

SELECT * FROM pg_stat_activity;

OR

SELECT datid, datname, pid, usename, state, query FROM pg_stat_activity;
Comment

PREVIOUS NEXT
Code Example
Sql :: How to select rows with no matching entry in another table? 
Sql :: postgresql reset sequence 
Sql :: postgresql create table default value timestamp 
Sql :: mysql list bigger table 
Sql :: loading local data is disabled mysql 
Sql :: continue in sql 
Sql :: apex execute batch job 
Sql :: check timezone of mysql database 
Sql :: uninstall postgresql mac 
Sql :: output oracle 
Sql :: refresh postgres config 
Sql :: mysql list databases 
Sql :: Add 2 hours to current time in MySQL 
Sql :: list tables sqlite 
Sql :: get all schemas postgres 
Sql :: sql server version query 
Sql :: update part of a string in mysql 
Sql :: RENAME table pl sql 
Sql :: oracle search source code 
Sql :: select records for day before yesterday mysql 
Sql :: crontab every month 
Sql :: oracle user last connection date 
Sql :: oracle first and last day of previous month 
Sql :: how to copy a table from one database to another in mysql 
Sql :: select dba users oracle 
Sql :: get count by weekly pivot table sql server 
Sql :: mysql remove last empty newline 
Sql :: mssql reset auto increment 
Sql :: psql restore from tar 
Sql :: sql beginning of previous month 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =