Trace connections
select * from pg_stat_activity;
select client_addr,count(*) from pg_stat_activity group by client_addr;
select datname,client_addr,count(*) from pg_stat_activity group by datname,client_addr;
Test times of count(*)
EXPLAIN ANALYZE SELECT COUNT(*) FROM remitos;
Obtain rows(tuples) info
select * from pg_class where relname = 'remitos' and relkind = 'r';
select * from pg_stat_all_tables where relname = 'remitos';
and look at the n_tup_ins, n_tup_del, ...
references:
http://www.postgresonline.com/journal/archives/134-Terminating-Annoying-Back-Ends.html
Friday, February 04, 2011
Subscribe to:
Post Comments (Atom)
-
Sunedu Renacyt 1) https://ctivitae.concytec.gob.pe/appDirectorioCTI/ 2) http://regina.concytec.gob.pe 3) https://www.gob.pe/9648-ser-p...
-
Resources: [1] Hela https://ome.grc.nia.nih.gov/iicbu2008/hela/index.html
-
en inglés se llama “A potentially dangerous Request.Form value was detected from the client”. varias páginas indican dos cosas: 1. agrega...
Firefox open multiple private window
/opt/firefox/firefox-bin --profile $(mktemp -d) --private-window www.google.com www.bing.com
No comments:
Post a Comment