The metastore stores the schema and partition information of Hive tables. A relational database is used as metastore.
There are three modes of Hive metastrore deployment:
- Embedded Metastore:- By default in hive, metastore services runs on the same JVM as Hive services.
- Local Metastore:- Here metastore service still runs in the same JVM as Hive but it connects to a database running in a separate process either on same machine or on a remote machine.
- Remote Metastore:- Metastore runs in its own separate JVM not on hive service JVM.