We're Moving!

The Vertica Forum is moving to a new OpenText Analytics Database (Vertica) Community.

Join us there to post discussion topics, learn about

product releases, share tips, access the blog, and much more.

Create My New Community Account Now


any optimizer HINTs in Vertica ? — Vertica Forum

any optimizer HINTs in Vertica ?

In Oracle you can change behavior of query optimizer with HINTs.

Something like this

SELECT /*+ FIRST_ROWS(10) */ column_name from table_name


SELECT /*+ CHOOSE */ column_name from table_name

 

 

I know Vertica has /*+DIRECT*/ for COPY command, which makes system to bypass WOS and write directly to ROS.

 

What about HINTs for SELECT ?

Does it have any ?

 

Thanks

 

 



 

Comments

  • Hi,

    I believe the only other documented hint (also known as directive) is the label hint as shown below.
    SELECT /*+label(myselectquery)*/ COUNT(*) FROM t;
    There are some other undocumented ones Technical Support may use temporarily for debugging optimizer issues.


Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file