Icehouse LakeOps is only available to users assigned to roles that have the
Manage Icehouse
Ops account-level privilege.
Icehouse LakeOps requires exclusive access to registered tables. Any third-party
table maintenance services or operations must be fully disabled prior to
using LakeOps.
Automatic table maintenance only supports data stored in Parquet format.
To register a catalog for managed maintenance, select Managed Icehouse >
LakeOps from the Starburst Galaxy navigation menu.
On the LakeOps pane, click Register a catalog to open the Register
catalogs dialog.
In the Catalog selection:
Select a single catalog from the list of eligible catalogs or select all
catalogs by checking the Select all catalogs box.
Use the Search field to find catalogs by name.
In the Configuration options section:
Specify a threshold between 1 and 90 days for retaining snapshots from the
Days drop-down menu.
To exclude any schemas or tables from managed maintenance, hover near the
catalog of interest in the Catalog selection section, and click the edit icon to expose
Schema/table exclusion options.
Expand the section and select schemas to exclude. To exclude tables, expand
the schema to expose its tables.
Click Select all to select all schemas and their tables. Deselect
all unchecks all boxes and allows for individual schema and table selection.
The top of this section shows how many schemas and tables are included and/or
excluded.
Use the Search field to find schemas and tables by name.
The Search field lets you filter lists based on your search criteria.
Filters display the number of managed resources in each category and the number
of errors detected during maintenance runs. Use the filters to view All
resources or resources by category, including Registered, Unregistered,
and Errors.
The table level displays a maintenance summary and key metrics for the
selected table.
Table stats and data volume details include the Table size and Record
count according to the timestamp, the number of Files compacted and the
amount of Storage reclaimed in the last 30 days, and any Errors
discovered during the last maintenance run.
Table history and storage details include the Current number of data files,
the Current number of delete files, the Number of snapshots, the
Snapshot retention threshold, and the location of the table in
Destination.
The Optimization pane displays the following maintenance task details:
Compaction: the timestamp indicates when the last compaction task was
executed and how many files were removed and/or added during the maintenance
run.
Snapshot expiration: the timestamp indicates when the last snapshot
expiration task was executed and how many snapshots expired.
Manifest file rewrite: the timestamp indicates when the manifest file was
rewritten.
Orphan file removal: the timestamp indicates when the last orphan file
removal task was executed.
Table metrics are also shown in the following charts:
Data files compacted: shows how many data files were compacted daily
over the past seven days.
Delete files compacted: shows how many delete files were compacted
daily over the past seven days.
Snapshot history: shows how many snapshots were created and how many
snapshots expired per day over the past seven days.
Table size: shows the size of the table.
File composition: shows the total number of data files and delete files.
Live tables cannot be unregistered. Unregistering a catalog or schema, or
unmanaged (non-live) table from managed maintenance automatically stops
maintenance operations for the selected resource. Previously completed
maintenance operations are not reverted.
To remove a catalog, schema, or unmanaged table from managed maintenance:
Go to the Managed catalog tab, and locate the resource in the catalog,
schema, or table list.
Click themore_vertoptions menu at the
end of the row, then select Unregister {managed resource}.
In the dialog, click deleteYes, unregister.
To re-register a schema or unmanaged table:
Go to the Managed catalog tab, and locate the resource in the schema or
table list.
Click themore_vertoptions menu at the
end of the row, then select Register {managed resource}.