Goal | Find the derived tables (views and materialized views) that have a column with the xid type, i.e., these use the data from the hidden xmin column of a base table. If one uses optimistic approach for dealing with the concurrent data modifications, then xmin values should be presented by views and used in routines that modify or delete rows. |
Notes | In the returned body of subquery of view/materialized view the query replaces each newline character with the line break (br) tag for the better readability in case the query result is displayed in a web browser. |
Type | General (Overview of some aspect of the database.) |
License | MIT License |
Data Source | INFORMATION_SCHEMA+system catalog |
SQL Query |
|
This query belongs to the following collections:
Name | Description |
---|---|
Find problems by overview | Queries that results point to different aspects of database that might have problems. A human reviewer has to decide based on the results as to whether there are problems or not . |
This query is classified under the following categories:
Name | Description |
---|---|
Concurrency control | Queries of this category provide information about concurrency control. |
Derived tables | Queries of this category provide information about the derived tables (views, materialized views), which are used to implement virtual data layer. |
Further reading and related materials: