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,550 points
2,105 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
• 67,660 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 in Big Data Hadoop by Daniel
71 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 in Big Data Hadoop by Gitika
• 25,340 points
99 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 in Big Data Hadoop by Gitika
• 25,340 points
127 views
+1 vote
2 answers

Unable to create external table on HIVE

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

answered 5 days ago in Big Data Hadoop by Richa
106 views
0 votes
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,710 points
3,300 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,710 points
391 views
0 votes
10 answers

hadoop fs -put command?

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

answered Dec 7, 2018 in Big Data Hadoop by Aditya
16,239 views
0 votes
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,260 points
1,185 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
• 67,660 points
592 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
• 67,660 points
77 views