This section describes the basic Presto concepts for a better understanding of the Presto work mechanism.
A catalog contains multiple schemas and is physically directed to an external data source, which can be accessed through connectors. When you run an SQL statement in Presto, you are running it against one or more catalogs.
A schema is a database instance that contains multiple data tables.
A data table is the same as a general database table.
Presto uses connectors to connect to various external data sources. To access customized data sources, Presto provides a standard SPI, which allows you to develop your own connectors using this standard API.
A catalog is typically associated with a specific connector (which can be configured in the Properties file of the catalog). Presto contains multiple built-in connectors.