README Update.
parent
f42893472a
commit
1dce75c621
|
@ -2,6 +2,34 @@
|
||||||
|
|
||||||
Below is the complete list of release notes for every version of ``pg_stat_monitor``.
|
Below is the complete list of release notes for every version of ``pg_stat_monitor``.
|
||||||
|
|
||||||
|
## REL0_9_0_STABLE
|
||||||
|
|
||||||
|
### Improvements
|
||||||
|
|
||||||
|
PG-186: Add support to monitor query execution plan
|
||||||
|
|
||||||
|
PG-147: Store top query, instead of parent query.
|
||||||
|
|
||||||
|
PG-188: Added a new column to monitor the query state i.e PARSING/PLANNING/ACTIVE/FINISHED.
|
||||||
|
|
||||||
|
PG-180: Schema Qualified table/relations names.
|
||||||
|
|
||||||
|
Regression Test Suite.
|
||||||
|
|
||||||
|
### Bugs Fixed
|
||||||
|
|
||||||
|
PG-189: Regression crash in case of PostgreSQL 11.
|
||||||
|
|
||||||
|
PG-187: Compilation Error for PostgreSQL 11 and PostgreSQL 12.
|
||||||
|
|
||||||
|
PG-186: Add support to monitor query execution plan.
|
||||||
|
|
||||||
|
PG-182: Added a new option for the query buffer overflow.
|
||||||
|
|
||||||
|
PG-181: Segmentation fault in case of track_utility is ON.
|
||||||
|
|
||||||
|
Some Code refactoring.
|
||||||
|
|
||||||
## REL0_8_1
|
## REL0_8_1
|
||||||
|
|
||||||
[PG-147](https://jira.percona.com/browse/PG-147): Stored Procedure Support add parentid to track caller.
|
[PG-147](https://jira.percona.com/browse/PG-147): Stored Procedure Support add parentid to track caller.
|
||||||
|
|
|
@ -79,6 +79,9 @@ pg_stat_monitor extension contains a view called pg_stat_monitor, which contains
|
||||||
dbid | oid | :heavy_check_mark: | :heavy_check_mark:
|
dbid | oid | :heavy_check_mark: | :heavy_check_mark:
|
||||||
client_ip | inet | :heavy_check_mark: | :x:
|
client_ip | inet | :heavy_check_mark: | :x:
|
||||||
queryid | text | :heavy_check_mark: | :heavy_check_mark:
|
queryid | text | :heavy_check_mark: | :heavy_check_mark:
|
||||||
|
planid | text | :heavy_check_mark: | :x:
|
||||||
|
query_plan | text | :heavy_check_mark: | :x:
|
||||||
|
top_query | text | :heavy_check_mark: | :x:
|
||||||
query | text | :heavy_check_mark: | :heavy_check_mark:
|
query | text | :heavy_check_mark: | :heavy_check_mark:
|
||||||
application_name | text | :heavy_check_mark: | :x:
|
application_name | text | :heavy_check_mark: | :x:
|
||||||
relations | text[] | :heavy_check_mark: | :x:
|
relations | text[] | :heavy_check_mark: | :x:
|
||||||
|
@ -98,7 +101,7 @@ pg_stat_monitor extension contains a view called pg_stat_monitor, which contains
|
||||||
max_time | double precision | :heavy_check_mark: | :heavy_check_mark:
|
max_time | double precision | :heavy_check_mark: | :heavy_check_mark:
|
||||||
mean_time | double precision | :heavy_check_mark: | :heavy_check_mark:
|
mean_time | double precision | :heavy_check_mark: | :heavy_check_mark:
|
||||||
stddev_time | double precision | :heavy_check_mark: | :heavy_check_mark:
|
stddev_time | double precision | :heavy_check_mark: | :heavy_check_mark:
|
||||||
rows | bigint | :heavy_check_mark: | :heavy_check_mark:
|
rows_retrieved | bigint | :heavy_check_mark: | :heavy_check_mark:
|
||||||
shared_blks_hit | bigint | :heavy_check_mark: | :heavy_check_mark:
|
shared_blks_hit | bigint | :heavy_check_mark: | :heavy_check_mark:
|
||||||
shared_blks_read | bigint | :heavy_check_mark: | :heavy_check_mark:
|
shared_blks_read | bigint | :heavy_check_mark: | :heavy_check_mark:
|
||||||
shared_blks_dirtied | bigint | :heavy_check_mark: | :heavy_check_mark:
|
shared_blks_dirtied | bigint | :heavy_check_mark: | :heavy_check_mark:
|
||||||
|
@ -117,6 +120,8 @@ pg_stat_monitor extension contains a view called pg_stat_monitor, which contains
|
||||||
wal_records | bigint | :heavy_check_mark: | :heavy_check_mark:
|
wal_records | bigint | :heavy_check_mark: | :heavy_check_mark:
|
||||||
wal_fpi | bigint | :heavy_check_mark: | :heavy_check_mark:
|
wal_fpi | bigint | :heavy_check_mark: | :heavy_check_mark:
|
||||||
wal_bytes | numeric | :heavy_check_mark: | :heavy_check_mark:
|
wal_bytes | numeric | :heavy_check_mark: | :heavy_check_mark:
|
||||||
|
state_code | bigint | :heavy_check_mark: | :x:
|
||||||
|
state | text | :heavy_check_mark: | :x:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -372,17 +377,10 @@ postgres=# SELECT bucket, substr(query,0, 50) AS query, cmd_type FROM pg_stat_mo
|
||||||
**`top_queryid`**: Outer layer caller's query id.
|
**`top_queryid`**: Outer layer caller's query id.
|
||||||
|
|
||||||
```sql
|
```sql
|
||||||
CREATE OR REPLACE FUNCTION add(int, int) RETURNS INTEGER AS
|
|
||||||
$$
|
|
||||||
BEGIN
|
|
||||||
return (select $1 + $2);
|
|
||||||
END; $$ language plpgsql;
|
|
||||||
|
|
||||||
|
|
||||||
CREATE OR REPLACE function add2(int, int) RETURNS int as
|
CREATE OR REPLACE function add2(int, int) RETURNS int as
|
||||||
$$
|
$$
|
||||||
BEGIN
|
BEGIN
|
||||||
return add($1,$2);
|
return (select $1 + $2);
|
||||||
END;
|
END;
|
||||||
$$ language plpgsql;
|
$$ language plpgsql;
|
||||||
|
|
||||||
|
@ -396,9 +394,8 @@ postgres=# SELECT queryid, top_queryid, query, top_query FROM pg_stat_monitor;
|
||||||
queryid | top_queryid | query. | top_query
|
queryid | top_queryid | query. | top_query
|
||||||
------------------+------------------+-------------------------------------------------------------------------+-------------------
|
------------------+------------------+-------------------------------------------------------------------------+-------------------
|
||||||
3408CA84B2353094 | | select add2($1,$2) |
|
3408CA84B2353094 | | select add2($1,$2) |
|
||||||
2BAB410CC448CE8D | 3408CA84B2353094 | SELECT add($1,$2) | select add2($1,$2)
|
|
||||||
762B99349F6C7F31 | 3408CA84B2353094 | SELECT (select $1 + $2) | select add2($1,$2)
|
762B99349F6C7F31 | 3408CA84B2353094 | SELECT (select $1 + $2) | select add2($1,$2)
|
||||||
(3 rows)
|
(2 rows)
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Monitor Query Execution Plan.
|
#### Monitor Query Execution Plan.
|
||||||
|
|
Loading…
Reference in New Issue