In Impala, a database is a logical container for a group of tables. Each database defines a separate namespace. Within a database, you can refer to the tables inside it using their unqualified names. Different databases can contain tables with identical names.
Creating a database is a lightweight operation. There are minimal
database-specific properties to configure, such as
You can change the owner of a database with the
Typically, you create a separate database for each project or application, to avoid naming conflicts between
tables and to make clear which tables are related to each other. The
Each database is physically represented by a directory in HDFS. When you do not specify a
There is a special database, named
Related statements: