Skip to main content

identity columns -migrate data

  • Mar 30, 2016 10:12 AM UTC
  • 3 replies
  • 14 views

sreeblr
Forum|alt.badge.img+2

How to migrate data between tables having identity columns

3 replies

eli_revach
Forum|alt.badge.img+2
  • Participating Frequently
  • Mar 31, 2016 6:59 PM UTC

Hi,

Vertica do not suport simple way to do that!

 

The why i know that should work for sure is:

1) take object backup 

2) rename source table to target

3)restore  from backup.

 

I hope you will find it useful

Thanks


sreeblr
Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • May 4, 2016 1:02 PM UTC

will it work if i migrate between two servers? backup is using vbr.py? is there no utility like export/expdp in oracle?


eli_revach
Forum|alt.badge.img+2
  • Participating Frequently
  • May 8, 2016 7:33 AM UTC

Hi ,

Looks like its doable from 7.2 see NodeMapping -> https://my.vertica.com/docs/7.2.x/HTML/Content/Authoring/AdministratorsGuide/BackupRestore/ConfigFileReference/[NodeMapping].htm

 

 

I hope you will find it useful

 

Thanks