Skip to content

dcvii/ripper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

abstract

This is a toolkit that I developed at Opentext Vertica to handle a crisis at a customer site. This customer was several versions behind on the database. Even with the most current database, there was no comprehensive toolkit that would migrate essential metadata. So this toolkit was designed to handle all odd problems that a straightforward migration could not.

These are the steps required for a long process vertica migration. These will likely be necessary for Vertica to Vertica when there is a mismatch of shards.

I was able to migrate the database completely, and was off to other tasks. So this has not been thoroughly documented. But all of the pieces are here, and with some modification, could be spiffed up. It is particular to the order of restorations and dependencies required specifically for Vertica installations, prior to the overhaul of the product for cloud deployments.

step one - extract

The extract process pulls catalog data and grant data from the database.

There are a couple of assumptions here. The first is that it makes sense to recreate the catalog on either a full catalog basis, or on a schema by schema basis. The gating decision has to do with the number of total tables objects to be migrated. If that number is smaller than 1000, then we can go. Otherwise this has to be blocked out into manageable chunks. I haven't yet managed the chunking process

step two - ddl

The first method is the full catalog method. So the getter will get ddl both ways. The first is to get the entire catalog and then it will pull ddl schema by schema. The third way is for export and import of a single schema.

migration scope

There are four scopes for the migration.

  • one: entire database catalog
  • two: schema by schema
  • three: single schema
  • four: single table

what remains

This needs a facility to pull resource pool assignments, and grant them. It is unclear if the current grant script gets that.

About

Vertica Migration Toolkit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published