with a as (select sum(xact_rollback+xact_commit) q from pg_stat_database), b as (select sum(xact_rollback+xact_commit) q from pg_stat_database,pg_sleep_for(\'1s\'))