RESTORE_LOCATION
Restores a storage location that was previously retired with RETIRE_LOCATION
.
Syntax
RESTORE_LOCATION ( 'location‑path', 'node' )
Parameters
location‑path |
Specifies where to mount the retired storage location. |
node |
The Vertica node where the retired location is available. An empty string specifies to perform this operation on all nodes. The operation fails if you dropped any locations. |
Privileges
Superuser
Effects of Restoring a Previously Retired Location
After restoring a storage location, Vertica re-ranks all of the cluster storage locations. It uses the newly restored location to process queries as determined by its rank.
Monitoring Storage Locations
To obtain disk storage information that the database uses on each node, query system table DISK_STORAGE
.
Examples
Restore the retired storage location on node4
:
=> SELECT RESTORE_LOCATION ('/thirdVerticaStorageLocation/' , 'v_vmartdb_node0004');