Viewing Table Regions
Use either the Control System or the CLI to list the regions in which a table's data is located.
About this task
HPE Data Fabric Database tables are split into regions on an ongoing basis. Administrators and developers do not need to manage these regions or restructure data on disk when data is added and deleted. These operations happen automatically. You can view region information for tables to get a sense of the size and location of table data on the Data Fabric cluster.
Displaying the Regions Using the Control System
About this task
To display the regions of a table:
Procedure
Displaying Region Information Using the CLI or the REST API
About this task
The basic command to retrieve the list of regions that make up the table is:
maprcli table region list -path <path>
- For a path on the local cluster, start the path at the volume mount point. For
example, for a table named
testunder a volume with a mount point at /volume1, specify the following path:/volume1/test - For a path on a remote cluster, you must also specify the cluster name in the
path. For example, for a table named
customerundervolume1in thesanfranciscocluster, specify the following path:/mapr/sanfrancisco/volume1/customerTo use the following characters in the table name, enclose them either in single or double quotes:NOTEYou cannot use the following characters in the table name:< > ? % \
For example:; | ( ) /maprcli table create -path "/設備^=#;{}&()/" (or) maprcli table create -path '/設備^=#;{}&()/'To use either the ' or the " character in the table name, enclose:For example:- the ' character within double quotes (")
- the " character within single quote (')
maprcli table create -path "/'設備^=#;{}&()/" (or) maprcli table create -path '/"設備^=#;{}&()/'
json parameter displays the output as a JSON document.To run this command, your user ID must have the following permissions:
readAceon the volumelookupdiron directories in the path
See table region list.