Skip to main content

Is adding new column to vertica table expensive?

  • February 21, 2014
  • 5 replies
  • 18 views

Josip
  • Participating Frequently
If I have large table with ex. 500milion rows, is adding new column with no value exspensive? Is there some description in documentation about this. Thanks, Josip

5 replies

Daniel_Leybovic
Forum|alt.badge.img+1
  • Participating Frequently
  • February 21, 2014
No. No value should be immediately
tested on 20TB, Vertica 7

Josip
  • Author
  • Participating Frequently
  • February 21, 2014
Thanks Daniel. Is there any summary of that test or something about that?

Daniel_Leybovic
Forum|alt.badge.img+1
  • Participating Frequently
  • February 21, 2014
Hi!

Just say what I did and what I can confirm :)

Josip
  • Author
  • Participating Frequently
  • February 21, 2014
Thanks one more time :)

Josip

Forum|alt.badge.img+2
  • Participating Frequently
  • February 21, 2014
Thanks Daniel for the real-world data.

We intend that this sort of operation should be fast.  So, it's good to have someone else confirm that it actually is :-)

For what it's worth, as a column-store database, it is our design intention that column-level operations such as adding columns should always be cheap, whether you have 500 million rows, 500 billion rows, or even more than that.

Adam