Skip to main content

replication - files or queries ?

  • Apr 23, 2019 12:28 PM UTC
  • 4 replies
  • 14 views

vcarusi
Forum|alt.badge.img+1

Hi,
How is replication done ? At file level or query level ?
Thank you,
Veronica

4 replies

Jim_Knicely
Forum|alt.badge.img+2
  • Participating Frequently
  • Apr 23, 2019 1:11 PM UTC

Replicating Schema/Table using Vbr copies files stored on disk. Since those files are already in a compressed format, Replicating objects is generally faster than exporting and importing objects.


Afe
Forum|alt.badge.img
  • Participating Frequently
  • Apr 23, 2019 1:12 PM UTC

vcarusi
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • Apr 23, 2019 1:20 PM UTC

Thank you!
This topic is related to this one
https://forum.vertica.com/discussion/240553/maximum-number-of-ros-containers#latest
I have made a lot of mergeout operations in order to decrease the number of ROS containers. This number has decreased dramatically from 2500 to 1. As consequence, the replication process that initially lasted 30 min , now needs 9 h. Practically, the amount of bytes to copy is equivalent to the table size. Thus, I was thinking, the replication is done at file level.


vcarusi
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • Apr 24, 2019 5:47 AM UTC

I my case, the solution was to backup/restore (object level), manually, the table on the second server. Thus, wasn't necessary to replicate the big file.
After this manual restore, the replication lasted 15 min.