Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New explain format: VTEXPLAIN #10556

Merged
merged 24 commits into from
Aug 2, 2022
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
be0941d
feat: added query logging to safe session
systay Jun 21, 2022
d8bca71
feat: added [explain format=vtexplain] parsing and AST
systay Jun 21, 2022
94c2517
feat: add planning of vtexplain queries
systay Jun 21, 2022
91d0ffc
feat: keep the logging even in the precense of autocommits
systay Jun 21, 2022
2686558
feat: use table result instead of warnings, and move the logging to s…
systay Jun 21, 2022
9add8fe
feat: log commit to vtexplain logger and added e2e test
harshit-gangal Jun 23, 2022
21e6fde
feat: vindex query to mark vindexExec in session
harshit-gangal Jun 23, 2022
45fae6a
test: run only for gen4 planner
harshit-gangal Jun 23, 2022
8dc45bf
feat: vtexplain logs with bindvars replaces, and begin being counted …
systay Jun 23, 2022
c630068
Merge branch main into vtexplain-vtgate
systay Jul 20, 2022
c8d9cf0
Merge remote-tracking branch 'upstream/main' into vtexplain-vtgate
GuptaManan100 Jul 27, 2022
dc16a97
feat: add ACTUALLY_RUN_QUERIES as a comment directive to vtexplain an…
GuptaManan100 Jul 27, 2022
bdefe23
test: make sure we add the actually_runs_queries directive to inserts…
systay Jul 28, 2022
d1ca5d9
Merge branch main into vtexplain-vtgate
systay Jul 29, 2022
0c641ea
docs: added info to release notes
systay Jul 29, 2022
3f7fe86
typo: fix error message
systay Aug 1, 2022
9d93f03
feat: ignore cases on comment directives
systay Aug 1, 2022
750b200
fix: CommentDirective now hides internals so that the lower casing of…
systay Aug 1, 2022
2ef2942
test: improve assertion
systay Aug 1, 2022
06e40a2
chore: clean up accidental change
systay Aug 1, 2022
37c459d
refactor: clean up so more responsibility for vtexplain ends up in th…
systay Aug 1, 2022
ee5061b
fix: no need to Unquote multiple times
systay Aug 1, 2022
5441224
Merge branch main into vtexplain-vtgate
systay Aug 1, 2022
f7d8b66
fix: rename comment directive
systay Aug 2, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: added info to release notes
Signed-off-by: Andres Taylor <andres@planetscale.com>
  • Loading branch information
systay committed Jul 29, 2022
commit 0c641ea3b358f555b75af86d31e7fb9024fed73a
9 changes: 8 additions & 1 deletion doc/releasenotes/15_0_0_summary.md
Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@
- [VDiff2](#vdiff2)
- [Mysql Compatibility](#mysql-compatibility)
- [Durability Policy](#durability-policy)
- [New EXPLAIN format](#new-explain-format)

## Known Issues

@@ -184,4 +185,10 @@ This is different from the existing `autocommit` parameter where the query is se
#### Cross Cell

A new durability policy `cross_cell` is now supported. `cross_cell` durability policy only allows replica tablets from a different cell than the current primary to
send semi-sync ACKs. This ensures that any committed write exists in at least 2 tablets belonging to different cells.
send semi-sync ACKs. This ensures that any committed write exists in at least 2 tablets belonging to different cells.

### New EXPLAIN format

#### FORMAT=vtexplain

With this new `explain` format, you can get an output that is very similar to the command line `vtexplain` app, but from a running `vtgate`, through a MySQL query.
systay marked this conversation as resolved.
Show resolved Hide resolved