Disable Projection Temporarily?

Moderator: NorbertKrupa

User avatar
usli06
Intermediate
Intermediate
Posts: 93
Joined: Wed Jan 25, 2012 4:53 am

Disable Projection Temporarily?

Post by usli06 » Sun Apr 13, 2014 4:46 am

Hi,

Can I disable a projection so that it can not be used? I don't want to drop it, just make sure it is not used by a query. I would prefer that another projection set be used during testing.

Thank you

scutter
Master
Master
Posts: 302
Joined: Tue Aug 07, 2012 2:15 am

Re: Disable Projection Temporarily?

Post by scutter » Tue Apr 15, 2014 2:09 pm

Nope. This has been on my wishlist for years. I think I first submitted a request for this enhancement in oh 2010 :-).

—Sharon
Sharon Cutter
Vertica Consultant, Zazz Technologies LLC

NorbertKrupa
GURU
GURU
Posts: 527
Joined: Tue Oct 22, 2013 9:36 pm
Location: Chicago, IL
Contact:

Re: Disable Projection Temporarily?

Post by NorbertKrupa » Tue Apr 15, 2014 2:33 pm

Sharon--How do you go about submitting enhancement requests?
Checkout vertica.tips for more Vertica resources.

User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1825
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Re: Disable Projection Temporarily?

Post by JimKnicely » Thu Apr 17, 2014 1:03 am

#usli06,

Until we get Sharon's enhancement ;) , maybe you can change your query so that it directly references the projection you want to test instead of the table?
Jim Knicely

Image

Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.

NorbertKrupa
GURU
GURU
Posts: 527
Joined: Tue Oct 22, 2013 9:36 pm
Location: Chicago, IL
Contact:

Re: Disable Projection Temporarily?

Post by NorbertKrupa » Thu Apr 17, 2014 1:54 am

I'm sure there has to be a way using the add_vertica_options() function... I mean there's

Code: Select all

add_vertica_options('EE', 'DISABLE_EXPR_ANALYSIS');
add_vertica_options('EE', 'ENABLE_JOIN_SPILL');
It would be nice if we could just pass the hint in the query or use add_vertica_option('EE', 'USE_PROJECTION_01');
Checkout vertica.tips for more Vertica resources.

id10t
GURU
GURU
Posts: 732
Joined: Mon Apr 16, 2012 2:44 pm

Re: Disable Projection Temporarily?

Post by id10t » Thu Apr 17, 2014 9:27 am

Hi!

[DELETED]
Last edited by id10t on Wed May 06, 2015 5:36 pm, edited 1 time in total.

NorbertKrupa
GURU
GURU
Posts: 527
Joined: Tue Oct 22, 2013 9:36 pm
Location: Chicago, IL
Contact:

Re: Disable Projection Temporarily?

Post by NorbertKrupa » Thu Apr 17, 2014 2:45 pm

Wow, that's awesome. I had to write a post about it. Thanks!
Checkout vertica.tips for more Vertica resources.

Post Reply

Return to “New to Vertica Database Administration”