Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Find database creation Date.

Contributor

Hi All,

In hive how to get database creation date?

can we get detail from meta data?

1 REPLY 1

Contributor

@Anishkumar Valsalam You can run the command desc database <db_name>. There you can find the location of hdfs directory where the db exists and then navigate to find the creation date. From hdfs you can run this command to find the creation date

hdfs dfs -stat /apps/hive/warehouse/<db_name.db>

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.