Read Optimized Store (ROS) is a highly optimized, read-oriented, disk storage structure, organized by projection. The ROS makes heavy use of compression and indexing.
A ROS container can be considered a file created by the following actions:
A COPY DIRECT statement.
An INSERT, DELETE or UPDATE statement with the /*+direct*/ hint.
A Moveout of WOS data to ROS by the Tuple Mover
A Mergeout from a number of ROS files into a new ROS file.
The MERGE_PARTITION() function.
Note:
- a ROS container is write once file, so if you have some data in the ROS you will need ot update then a new ROS container will be created with the new data version and the old ROS will be dropped.
Vertica imposes a limit of 1024 ROS Containers per projection. This is well related to the operation system limits as i said before a ROS is a file.
For more info on your db ROS containters see STORAGE_CONTAINERS table.
-- look for it in your operational system , look for the folder 849 (the last 3 digits of your storage_oid), and since i have my storage labeled i know is in the T1_DATA folder.
-- now see the content of the full path to the folder + the storage_oid, like below
dbadmin=> \! ls -la /vertica_storage/t1_data/849/45036002965404849 | grep 45036002965404849 -rw------- 1 dbadmin verticadba 133 Feb 12 16:34 45036002965404849_0.fdb -rw------- 1 dbadmin verticadba 56 Feb 12 16:34 45036002965404849_0.pidx
-- there you go ! -- you have a .fdb file and a .pidx file .fdb - file is the data itself (encoded and compressed) .pidx - contains index/statistics info from the data file.