Performance After Creating Views in Vertica

Moderator: NorbertKrupa

Post Reply
varuna.bhat
Newbie
Newbie
Posts: 5
Joined: Fri May 31, 2013 9:15 pm

Performance After Creating Views in Vertica

Post by varuna.bhat » Mon Jun 10, 2013 9:33 pm

Hello,

We are migrating the data from SQL Server to Hp Vertica. When we created the tables in Vertica we have renamed the tables along with their custom column names to more sensible naming conventions. For Example the table PPS_Group has been renamed as DIM_Group (Group is a dimension table). And the coulmn PPS_GroupId has been renamed to GroupId in Vertica.

I would like to know like if we create views in Vertica which consists the same naming convention as PPS_Group and PPS_GroupId, will the performance go down or not .

Because the views will contain the same columns as the respective tables.

Thanks,
Varun

User avatar
nnani
Master
Master
Posts: 302
Joined: Fri Apr 13, 2012 6:28 am
Contact:

Re: Performance After Creating Views in Vertica

Post by nnani » Tue Jun 11, 2013 6:43 am

Hi Varuna,

How are you going to use your views ?
It really dosen't affect the performance how you are naming the views.
Can you please elaborate your question. 8-)
nnani........
Long way to go

You can check out my blogs at vertica-howto

me_theonlyone
Newbie
Newbie
Posts: 3
Joined: Fri May 31, 2013 9:24 am

Re: Performance After Creating Views in Vertica

Post by me_theonlyone » Fri Jul 05, 2013 2:09 pm

Unless your view is a super complicated query with lots of joins on several different tables, it won't be slow.
If your view is a basic

Code: Select all

select column1, column2, ... from tablename 
of a particular set of columns from a table, then you would certainly not see any degradation in performance.

User avatar
nnani
Master
Master
Posts: 302
Joined: Fri Apr 13, 2012 6:28 am
Contact:

Re: Performance After Creating Views in Vertica

Post by nnani » Mon Jul 08, 2013 8:11 am

Hello Varuna,

Instead of going for views, you can try creating manual projections with the same query you would have used for views.
This can give you good performance.
nnani........
Long way to go

You can check out my blogs at vertica-howto

Post Reply

Return to “New to Vertica”