Skip to content

[QPROF] Better option to manage few queries on same key_id #1305

Closed Answered by mail4umar
yakirgb asked this question in Q&A
Discussion options

You must be logged in to vote

There are two ways in which you can do what you want.

Firstly, to compare 2 queries we have now created a new class QueryProfilerComparison using which you can input any two queries and compare them in a side-by-side view. Please look at

class QueryProfilerComparison:

Secondly, if you want to add more queries to a key_id/schema that you have already stored, you can use the insert command.

For example:

from verticapy.performance.vertica import QueryProfilerInterface
qprof_interface = QueryProfilerInterface('/Users/yakir.g/slow_query.sql',
    target_schema='tests',
    key_id='slow_queries',
  …

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@yakirgb
Comment options

@mail4umar
Comment options

@yakirgb
Comment options

@mail4umar
Comment options

@yakirgb
Comment options

Answer selected by mail4umar
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants