IoTDB Data Directory Overview Tool

IoTDB data directory overview tool is used to print an overview of the IoTDB data directory structure. The location is tools/tsfile/print-iotdb-data-dir.

Usage

  • For Windows:
  1. .\print-iotdb-data-dir.bat <IoTDB data folder path, separated by commas if there are multiple folders> (<storage path of the output overview file>)
  • For Linux or MacOs:
  1. ./print-iotdb-data-dir.sh <IoTDB data folder path, separated by commas if there are multiple folders> (<storage path of the output overview file>)

Note: if the storage path of the output overview file is not set, the default relative path “IoTDB_data_dir_overview.txt” will be used.

Example

Use Windows in this example:

  1. .\print-iotdb-data-dir.bat D:\github\master\iotdb\data\datanode\data
  2. ````````````````````````
  3. Starting Printing the IoTDB Data Directory Overview
  4. ````````````````````````
  5. output save path:IoTDB_data_dir_overview.txt
  6. data dir num:1
  7. 143 [main] WARN o.a.i.t.c.conf.TSFileDescriptor - not found iotdb-common.properties, use the default configs.
  8. |==============================================================
  9. |D:\github\master\iotdb\data\datanode\data
  10. |--sequence
  11. | |--root.redirect0
  12. | | |--1
  13. | | | |--0
  14. | |--root.redirect1
  15. | | |--2
  16. | | | |--0
  17. | |--root.redirect2
  18. | | |--3
  19. | | | |--0
  20. | |--root.redirect3
  21. | | |--4
  22. | | | |--0
  23. | |--root.redirect4
  24. | | |--5
  25. | | | |--0
  26. | |--root.redirect5
  27. | | |--6
  28. | | | |--0
  29. | |--root.sg1
  30. | | |--0
  31. | | | |--0
  32. | | | |--2760
  33. |--unsequence
  34. |==============================================================