Rebalance table

Moderator: NorbertKrupa

Post Reply
Timbo
Intermediate
Intermediate
Posts: 53
Joined: Thu Jun 21, 2012 11:05 am
Location: London, UK

Rebalance table

Post by Timbo » Thu Jul 12, 2012 3:46 pm

Hi,
Is there a "rebalance" table command rather than the "rebalance_cluster". We have added a couple of nodes to the cluster and want to rebalance the data on a table by table basis. I was planning on dropping and recreateing each projection on a table, but this seams very exteme as a way of populating the new nodes.

Regards
Tim

jpcavanaugh
Intermediate
Intermediate
Posts: 149
Joined: Mon Apr 30, 2012 10:04 pm
Location: New York
Contact:

Re: Rebalance table

Post by jpcavanaugh » Thu Jul 12, 2012 5:38 pm

Tim - when you add nodes vertica creates new projections that are inclusive of the new nodes, populates them and then drops the old projections. If you want to do this table by table you can by adding new projections with the same definition (new name) and then dropping the old projections. If you want detailed help, let me know!

Timbo
Intermediate
Intermediate
Posts: 53
Joined: Thu Jun 21, 2012 11:05 am
Location: London, UK

Re: Rebalance table

Post by Timbo » Fri Jul 13, 2012 8:06 am

Thanks for the reply, that is what we are doing, but it would be nice if the rebalance functionality could be written at table level.

jpcavanaugh
Intermediate
Intermediate
Posts: 149
Joined: Mon Apr 30, 2012 10:04 pm
Location: New York
Contact:

Re: Rebalance table

Post by jpcavanaugh » Fri Jul 13, 2012 3:34 pm

Did you write a script to do it? I was thinking of doing that and uploading it to the vertica github repository.

Post Reply

Return to “New to Vertica Database Administration”