I have this requirement where I have to copy the complete DB from a single node installation to a 2 nodes cluster of Vertica. As per the documentation this is not possible.
Are there no workaround methods for performing this?
We may not always have same no. of nodes in different clusters especially when it is a pre-prod and prod case. So some method must exist for doing this.
Kindly advise on the same.
Unfortunately this not possible at this time.
You can export to another single node, then add a node. As a side note, you want at least 3 nodes for a production environment.
For users, roles and permissions, see datadug.com's export script.
With regards to moving data, you have a few options:
EXPORT TO VERTICA
- Allows for for export of an entire table, specific columns, or the result of aSELECT
COPY FROM VERTICA
- Works similiar toEXPORT
however does not allow for the result of aSELECT
vsql
- Import flat files by piping out an input into the output of anothervsql
command usingCOPY