Managed Table vs External Table

0 votes
What is the difference between Managed table and External Table in Hive?
Dec 13, 2018 in Big Data Hadoop by digger
• 26,660 points
5,183 views

1 answer to this question.

0 votes

External table is created for external use as when the data is used outside Hive. Whenever we want to delete the table’s metadata and we want to keep the table’s data as it is, we use an External table. External table only deletes the schema of the table.

A managed table is also called an Internal table. This is the default table in Hive. When we create a table in Hive without specifying it as external, by default we will get a Managed table. If we create a table as a managed table, the table will be created in a specific location in HDFS. By default, the table data will be created in /usr/hive/warehouse directory of HDFS. If we delete a Managed table, both the table data and metadata for that table will be deleted from the HDFS.

answered Dec 13, 2018 by Omkar
• 69,060 points

Related Questions In Big Data Hadoop

0 votes
1 answer

Hive: external table without URI scheme

Yes, it is possible to create an ...READ MORE

answered May 31, 2019 in Big Data Hadoop by Daniel
205 views
0 votes
1 answer

Is it possible to change the default location of a managed table?

Hi, Yes, you can do it by using ...READ MORE

answered Jun 18, 2019 in Big Data Hadoop by Gitika
• 29,290 points
254 views
0 votes
1 answer

what is the difference between CREATE TABLE and CREATE EXTERNAL TABLE in Hive?

Hey, Although, we can create two types of ...READ MORE

answered Jun 26, 2019 in Big Data Hadoop by Gitika
• 29,290 points
320 views
+1 vote
2 answers

Unable to create external table on HIVE

Hi @Ozer, This error occurred because there is ...READ MORE

answered Nov 6, 2019 in Big Data Hadoop by Richa
722 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,920 points
5,081 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,920 points
724 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyF ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
30,091 views
–1 vote
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,310 points
1,898 views
0 votes
1 answer

How to create a managed table in Hive?

You can use this command: create table employee(Name ...READ MORE

answered Dec 14, 2018 in Big Data Hadoop by Omkar
• 69,060 points
1,292 views
0 votes
1 answer

How to create external Hive table?

It's simple. You just have to add external ...READ MORE

answered Dec 14, 2018 in Big Data Hadoop by Omkar
• 69,060 points
131 views