DELETE_CATALOG_TABLE_PREFS is used to drop table-level preferences from the catalog.
Syntax
DBMS_STATS.DELETE_CATALOG_TABLE_PREFS (
catname VARCHAR(65535),
dbname VARCHAR(65535),
tabname VARCHAR(65535),
pname VARCHAR(65535)
);
Parameters
Parameter |
Explanation |
|---|---|
| catname | Specifies the catalog name. |
| dbname | Specify the database name. |
| tabname | Specifies the table name. |
| pname | Specifies the name of the preference to delete. Valid values:
|
Examples
The table-level preference CATALOG_STATS_BATCH_SIZE is dropped.
obclient> CALL DBMS_STATS.GATHER_CATALOG_TABLE_STATS (
'hive_catalog',
'test_oss',
'lineitem',
'CATALOG_STATS_BATCH_SIZE'
);