pg_statio_all_sequences

A statistics view showing IO statistics for each sequence in the current database

pg_statio_all_sequences is a statistics view showing IO statistics for each sequence in the current database.

pg_statio_all_sequences was added in PostgreSQL 7.2 (commit 8d80b0d9).

Definition by PostgreSQL version

pg_statio_all_sequences (PostgreSQL 13)

      View "pg_catalog.pg_statio_all_sequences"
   Column   |  Type  | Collation | Nullable | Default
------------+--------+-----------+----------+---------
 relid      | oid    |           |          |
 schemaname | name   |           |          |
 relname    | name   |           |          |
 blks_read  | bigint |           |          |
 blks_hit   | bigint |           |          |
    

Documentation: pg_statio_all_sequences

pg_statio_all_sequences (PostgreSQL 12)

      View "pg_catalog.pg_statio_all_sequences"
   Column   |  Type  | Collation | Nullable | Default
------------+--------+-----------+----------+---------
 relid      | oid    |           |          |
 schemaname | name   |           |          |
 relname    | name   |           |          |
 blks_read  | bigint |           |          |
 blks_hit   | bigint |           |          |
    

Documentation: pg_statio_all_sequences

pg_statio_all_sequences (PostgreSQL 11)

      View "pg_catalog.pg_statio_all_sequences"
   Column   |  Type  | Collation | Nullable | Default
------------+--------+-----------+----------+---------
 relid      | oid    |           |          |
 schemaname | name   |           |          |
 relname    | name   |           |          |
 blks_read  | bigint |           |          |
 blks_hit   | bigint |           |          |
    

Documentation: pg_statio_all_sequences

pg_statio_all_sequences (PostgreSQL 10)

      View "pg_catalog.pg_statio_all_sequences"
   Column   |  Type  | Collation | Nullable | Default
------------+--------+-----------+----------+---------
 relid      | oid    |           |          |
 schemaname | name   |           |          |
 relname    | name   |           |          |
 blks_read  | bigint |           |          |
 blks_hit   | bigint |           |          |
    

Documentation: pg_statio_all_sequences

pg_statio_all_sequences (PostgreSQL 9.6)

View "pg_catalog.pg_statio_all_sequences"
   Column   |  Type  | Modifiers
------------+--------+-----------
 relid      | oid    |
 schemaname | name   |
 relname    | name   |
 blks_read  | bigint |
 blks_hit   | bigint |
    

Documentation: pg_statio_all_sequences

pg_statio_all_sequences (PostgreSQL 9.5)

View "pg_catalog.pg_statio_all_sequences"
   Column   |  Type  | Modifiers
------------+--------+-----------
 relid      | oid    |
 schemaname | name   |
 relname    | name   |
 blks_read  | bigint |
 blks_hit   | bigint |
    

Documentation: pg_statio_all_sequences

pg_statio_all_sequences (PostgreSQL 9.4)

View "pg_catalog.pg_statio_all_sequences"
   Column   |  Type  | Modifiers
------------+--------+-----------
 relid      | oid    |
 schemaname | name   |
 relname    | name   |
 blks_read  | bigint |
 blks_hit   | bigint |
    

Documentation: pg_statio_all_sequences

pg_statio_all_sequences (PostgreSQL 9.3)

View "pg_catalog.pg_statio_all_sequences"
   Column   |  Type  | Modifiers
------------+--------+-----------
 relid      | oid    |
 schemaname | name   |
 relname    | name   |
 blks_read  | bigint |
 blks_hit   | bigint |
    

Documentation: pg_statio_all_sequences

pg_statio_all_sequences (PostgreSQL 9.2)

View "pg_catalog.pg_statio_all_sequences"
   Column   |  Type  | Modifiers
------------+--------+-----------
 relid      | oid    |
 schemaname | name   |
 relname    | name   |
 blks_read  | bigint |
 blks_hit   | bigint |
    

Documentation: pg_statio_all_sequences

pg_statio_all_sequences (PostgreSQL 9.1)

View "pg_catalog.pg_statio_all_sequences"
   Column   |  Type  | Modifiers
------------+--------+-----------
 relid      | oid    |
 schemaname | name   |
 relname    | name   |
 blks_read  | bigint |
 blks_hit   | bigint |
    

Documentation: pg_statio_all_sequences

pg_statio_all_sequences (PostgreSQL 9.0)

View "pg_catalog.pg_statio_all_sequences"
   Column   |  Type  | Modifiers
------------+--------+-----------
 relid      | oid    |
 schemaname | name   |
 relname    | name   |
 blks_read  | bigint |
 blks_hit   | bigint |
    

Documentation: pg_statio_all_sequences

pg_statio_all_sequences (PostgreSQL 8.4)

View "pg_catalog.pg_statio_all_sequences"
   Column   |  Type  | Modifiers
------------+--------+-----------
 relid      | oid    |
 schemaname | name   |
 relname    | name   |
 blks_read  | bigint |
 blks_hit   | bigint |
View definition:
 SELECT c.oid AS relid, n.nspname AS schemaname, c.relname, pg_stat_get_blocks_fetched(c.oid) - pg_stat_get_blocks_hit(c.oid) AS blks_read, pg_stat_get_blocks_hit(c.oid) AS blks_hit
   FROM pg_class c
   LEFT JOIN pg_namespace n ON n.oid = c.relnamespace
  WHERE c.relkind = 'S'::"char";
    

Documentation: pg_statio_all_sequences

pg_statio_all_sequences (PostgreSQL 8.3)

View "pg_catalog.pg_statio_all_sequences"
   Column   |  Type  | Modifiers
------------+--------+-----------
 relid      | oid    |
 schemaname | name   |
 relname    | name   |
 blks_read  | bigint |
 blks_hit   | bigint |
View definition:
 SELECT c.oid AS relid, n.nspname AS schemaname, c.relname, pg_stat_get_blocks_fetched(c.oid) - pg_stat_get_blocks_hit(c.oid) AS blks_read, pg_stat_get_blocks_hit(c.oid) AS blks_hit
   FROM pg_class c
   LEFT JOIN pg_namespace n ON n.oid = c.relnamespace
  WHERE c.relkind = 'S'::"char";
    

Documentation: pg_statio_all_sequences

pg_statio_all_sequences (PostgreSQL 8.2)

View "pg_catalog.pg_statio_all_sequences"
   Column   |  Type  | Modifiers
------------+--------+-----------
 relid      | oid    |
 schemaname | name   |
 relname    | name   |
 blks_read  | bigint |
 blks_hit   | bigint |
View definition:
 SELECT c.oid AS relid, n.nspname AS schemaname, c.relname, pg_stat_get_blocks_fetched(c.oid) - pg_stat_get_blocks_hit(c.oid) AS blks_read, pg_stat_get_blocks_hit(c.oid) AS blks_hit
   FROM pg_class c
   LEFT JOIN pg_namespace n ON n.oid = c.relnamespace
  WHERE c.relkind = 'S'::"char";
    

Documentation: pg_statio_all_sequences

Change history

Categories

Statistics / monitoring view

See also

pg_statio_sys_sequences, pg_statio_user_sequences