Catalog of PostgreSQL queries for finding information about a PostgreSQL database and its design problems

AND
AND
AND
ANDFrom where does the query gets its information?
AND
AND

There are 961 queries.

Seq nrNameGoalTypeData sourceLast updateLicense...
781All non-identifying relationshipsFind all non-identifying relationships where the foreign key (a set of columns) is not a subset of any uniqueness constraint (primary key, unique, or exclude constraint).Generalsystem catalog base tables only2023-11-01 11:31MIT License
782All rulesFind user-defined rules for rewriting data manipulation language statements. Rules should be used only for the tasks that cannot be achieved in a declarative manner, i.e., for example, by declaring a constraint.Generalsystem catalog base tables only2023-12-22 12:30MIT License
783All security policiesFind all security policies.Generalsystem catalog base tables only2023-11-17 18:41MIT License
784All supertablesFind all the base tables that serve as supertables in the inheritance hierarchiesSofware measuresystem catalog base tables only2021-03-14 17:07MIT License
785All system-defined TOAST-able typesFind system-defined types in case of which the system can use the TOAST technique, i.e., save the value in a compressed form or store it in a automatically-created secondary table, which is hidden from the database user (TOAST table).Generalsystem catalog base tables only2020-11-06 14:51MIT License
786All user-defined TOAST-able typesFind user-defined types in case of which the system can use the TOAST technique, i.e., save the value in a compressed form or store it in a automatically-created secondary table, which is hidden from the database user (TOAST table).Generalsystem catalog base tables only2020-11-06 14:51MIT License
787All user mappingsFind all user mappings for foreign servers and tablesGeneralsystem catalog base tables only2020-11-11 17:00MIT License
788A state machine is implemented with the help of a state classifier tableFind implementations of state machines that use a state classifier table.Generalsystem catalog base tables only2023-11-26 15:39MIT License
789Base table columns where TOASTing is possibleFind all base table columns in case of which the system can use TOAST technique.Generalsystem catalog base tables only2020-11-06 14:51MIT License
790Base table columns where TOAST-ing strategy has been changedFind base table columns in case of which the system can use TOAST technique (due to the data type of the column) and where the toasting strategy has been changed so that it is different than the default strategy determined by the type. Make sure that the new strategy is optimal.Generalsystem catalog base tables only2020-11-06 14:51MIT License
791Base table columns where TOAST-ing strategy has been changed to plainFind base table columns in case of which the system can use TOAST technique (due to the data type of the column) and where the toasting strategy has been changed to plain. It means that potentially, if a value in the column is large enough, it is not possible to save the row.Problem detectionsystem catalog base tables only2021-02-25 17:29MIT License
792Base table columns with a composite typeFind base table columns with a composite type. Think through as to whether a column with a composite type could be replaced with a separate table.Generalsystem catalog base tables only2020-11-06 14:51MIT License
793Base table columns with CITEXT typeFind base table columns with CITEXT type and make sure that case insensitivity is really needed in case of this column.Generalsystem catalog base tables only2020-11-06 14:51MIT License
794Base tables created based on a typeFind base tables that have been created based on a composite type and thnk through as to whether it was really needed.Generalsystem catalog base tables only2020-11-06 14:51MIT License
795Base tables that do not have a TOAST tableFind base tables that (due to the types of their columns) do not have an associated TOAST table for storing out-of-line data.Generalsystem catalog base tables only2020-11-06 14:51MIT License
796Base tables that have more than five indexesFind base tables that have more than five indexes. Indexes can be used to increase the speed of queries (SELECT statements). However, the amount of indexes shouldn't be too large. Otherwise it may reduce the speed of operations that are used to modify data.Problem detectionsystem catalog base tables only2022-10-21 10:33MIT License
797Base tables with exactly one keyFind all base tables that have exactly one PRIMARY KEY or UNIQUE constraint. Find and enforce all the keys. Are you sure there are not more keys in the table?Generalsystem catalog base tables only2021-10-16 10:39MIT License
798Base tables with plenty of dataFind base tables that have 1000 rows or more.Generalsystem catalog base tables only2022-10-21 11:25MIT License
799Base tables with the biggest number of rowsFind the base tables that belong to the top 5 in terms of the number of rows in the table. There should be test data in the tables.Generalsystem catalog base tables only2022-10-21 01:48MIT License
800Candidate keys and foreign keys of tables that participate in an inheritance hierarchiesFind primary key, unique, foreign key, and exclude constraints that have been defined in tables that participate in an inheritance hierarchy. Do not forget to redefine the constraints that are defined on supertables also on their subtables.Generalsystem catalog base tables only2020-11-06 14:51MIT License