If the table is 100 GB, you should consider the external hive table (unlike the βmanaged table,β see this for a difference).
With an external table, the data itself will be saved on HDFS in the file path you specify (note that you can specify the file directory if they all have the same structure), but Hive will create its map in the meta-storage, whereas managed the table will store data "in the hive."
When you delete a managed table, it discards the underlying data, and does not delete the external hive table, which only throws metadata from the meta store, referencing this data.
In any case, you use only 100 GB when viewed by the user and take advantage of HDFS, although data duplication.
source share