| Goal | Find 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. |
|---|---|
| Notes | The query returns at most five rows. It does not count the number of actual rows but relies on the result of statistics collection process (see the ANALYZE statement). The side effect of running the test is that the statistics of the entire database will be refreshed and it could take some time. |
| Type | General (Overview of some aspect of the database.) |
| License | MIT (opens in new tab) |
| Data Source | system catalog only |
| SQL Query |
|
Collections
This query belongs to the following collections:
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 .
| 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 . |
Categories
This query is classified under the following categories:
Data at the database logical level
Queries of this category provide information about data in base tables.
| Name | Description |
|---|---|
| Data at the database logical level | Queries of this category provide information about data in base tables. |
Further reading and related materials: