MatrixOne Directory Structure
After MatrixOne has been installed and connected, the MatrixOne automatically generates the following directories for storing data files or metadata information.
Enter into the matrixone directory and execute ls
to view the directory structure. The related directory structure and uses are as follows:
matrixone //MatrixOne main directory
|-- etc //configuration file directory
│ |-- quickstart //configration file directory
|-- mo-data //data file directory
│ |-- local //local fileservice directory
│ │ |-- cnservice //cn node information directory
│ │ |-- dnservice //TN node information directory
│ |-- etl //external table directory
│ │ |-- sys //Which account does the external table information belong to
│ │ |-- logs //type of statistics
│ │ |-- 2022 //the year of statistics
│ │ |-- 10 //month of statistics
│ │ |-- 27 //the number of days of statistics
│ │ |-- metric //system indicators storage directory
│ │ |-- rawlog //log storage directory
│ │ |-- statement_info //information storage directory
│ │ |-- merged //Merge records of past external table information
│ │ |-- 2022 //the year of statistics
│ │ |-- 10 //month of statistics
│ │ |-- 27 //the number of days of statistics
│ │ |-- metric //system indicators storage directory
│ │ |-- rawlog //log storage directory
│ │ |-- statement_info //information storage directory
│ |-- logservice //logservice directory
| |-- 7c4dccb4-4d3c-41f8-b482-5251dc7a41bf //logservice node directory (randomly generated uuid)
│ |--hostname //MatrixOne server domain name
│ │ |-- 00000000000000000001 //snapshot directory
│ | |-- exported-snapshot //exporting snapshot Directory
| │ |-- snapshot-part-n //snapshot partial directory
│ │ |-- tandb //bootstrap directory
|-- s3 //data storage directory