Skip to content

Add option to log queries only when rows returned/affected >= X#5938

Closed
aquarapid wants to merge 2 commits intovitessio:masterfrom
planetscale:jacques_querylog
Closed

Add option to log queries only when rows returned/affected >= X#5938
aquarapid wants to merge 2 commits intovitessio:masterfrom
planetscale:jacques_querylog

Conversation

@aquarapid
Copy link
Contributor

No description provided.

Signed-off-by: Jacques Grove <aquarapid@gmail.com>
Signed-off-by: Jacques Grove <aquarapid@gmail.com>
@aquarapid aquarapid requested a review from sougou as a code owner March 19, 2020 04:08
@sougou
Copy link
Contributor

sougou commented Mar 24, 2020

The idea behind the querylog was that you could do the filtering on the client side on various criteria using a tool like awk; The fields are tab separated. Is there a use case where this would not work?

@aquarapid
Copy link
Contributor Author

Where you just have too many queries to log; as multiple Vitess users have shared...?

@deepthi
Copy link
Collaborator

deepthi commented Jul 21, 2020

@sougou ping. Is the reasoning behind this PR acceptable?

Copy link
Contributor

@sougou sougou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you do a rebase (or anything else to retrigger the hung tests)? Once it passes, we can merge.

@aquarapid
Copy link
Contributor Author

Things have changed underneath a bit, I'm just going to redo this PR.

@aquarapid aquarapid closed this Feb 17, 2021
@aquarapid aquarapid deleted the jacques_querylog branch February 17, 2021 22:29
aquarapid added a commit to planetscale/vitess that referenced this pull request Feb 17, 2021
certain number of rows.
Redo of PR vitessio#5938, minimizing type changes this time.

Signed-off-by: Jacques Grove <aquarapid@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants