WOS and ROS storage in HP Vertica

Vertica is unique in many ways, one of which can be seen in its data storage model. Vertica uses two distinct structures for storing data: WOS storage (Write Optimized Row Storage), and ROS storage (Read Optimized Column Storage). These are explained as following below.

1. WOS :
In Vertica, WOS stands for Write Optimized Store. The WOS is an in-memory data storage structure optimized for low-latency data loading. It is designed to efficiently support INSERT, UPDATE, DELETE, and most COPY operations.

When you load data, it first goes into WOS (unless you use the COPY DIRECT statement). Records in WOS are stored without compression or indexing to support faster loading. 

2. ROS :
ROS on the other hand, is structured for fast reads. ROS stands for Read Optimized Store. It’s a highly optimized, read-oriented, disk storage structure.

ROS data is partitioned into sections called storage containers. A container is just a set of rows created by move out or COPY DIRECT statements and stored in a particular group of files.The bulk of the data in your database lives in ROS and is both sorted and compressed.

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

Article Tags :
Practice Tags :

Be the First to upvote.

Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.