# Array File Hierarchy An array is a folder with the following structure: ``` my_array # array folder |_ __array_schema.tdb # array schema file |_ __lock.tdb # empty lock file |_ # fragment folder |_ .ok # fragment ok file |_ ... |_ .vac # fragment vacuum file |_ ... |_ .meta # consol. fragment meta file |_ ... |_ __meta # array metadata folder ``` A `` above has format `__t1_t2_uuid_v`, where * `t1` and `t2` are timestamps in milliseconds elapsed since 1970-01-01 00:00:00 +0000 (UTC) * `uuid` is a unique identifier * `v` is the format version Inside the array folder, you can find the following: * [Array schema file](./array_schema.md) `__array_schema.tdb`. * Empty file `__lock.tdb`, used for process-safety on filesystems that support file locking. * Any number of [fragment folders](./fragment.md) ``. * An empty file `.ok` associated with every fragment folder ``, where `` is common for the folder and the OK file. This is used to indicate that fragment `` has been *committed* (i.e., its write process finished successfully) and it is ready for use by TileDB. If the OK file does not exist, the corresponding fragment folder is ignored by TileDB during the reads. * Any number of [vacuum files](./vacuum_file.md) of the form `.vac`. * Any number of [consolidated fragment metadata files](./consolidated_fragment_metadata_file.md) of the form `.meta`. * [Array metadata](./array_metadata.md) folder `__meta`.