WOS vs ROS
What is the benefit of having WOS? Why do not we always directly load into ROS? I understand that WOS is for trickle feed and ROS is for bulk load. Why can not Vertica have just ROS and save time on any spills?
0
Comments
Thanks for the useful info.
Just trying to learn Vertica and attempt vertica certification. I may soon need to implement a trickle feed application, so trying to get ready for it.
Do you have any best practices for trickle feed implementations? The source data may be generated every 10 min. I am looking at different design options. Is there a Queue table in Vertica? In Teradata, the queue table will automatically be deleted once you consume the data. I am thinking of having a stage table(queue table if available), which will be loaded with source data at every 10 min interval. Then will load the target table with the stage table.
I would like to join them. Pls send me the details.
Thanks
Rao
I suggest you are on right path when considering trickle loads every 10 mins.
As you said, you can just use the stage tables for every new load and then depending on the join condition you can use the merge statement to update your master table if any old records are updated in the stage table or insert new records which are present in stage table but not in target table.
But, before this, you need to take care of transfer/Merge time between two tables which should not take more then 10 mins, and i fit exceeds 10 mins. you need to manage your new load and let it wait for the previous process to complete.
Make sure after every merge process you truncate the stage table.
Hope this helps.