Framework for visualizing re-written queries to database

US9477724B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9477724-B2
Application numberUS-201414311670-A
CountryUS
Kind codeB2
Filing dateJun 23, 2014
Priority dateJun 23, 2014
Publication dateOct 25, 2016
Grant dateOct 25, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Embodiments relate to re-writing database query plans, and visualizing such re-written query plans. A query re-write framework includes a query normalization engine in communication with a rule catalog comprising query re-write rules in the form of rule classes. The framework receives as input, a query plan graph to be re-written. Based upon the engine's application of re-write rules from the catalog, the framework produces a re-written query plan graph as output. An interface component of the framework may provide a visualization of the re-written query plan graph as part of a dashboard. A user may access the framework to enable/disable existing rules in the catalog, add new rules to the catalog, and/or control a sequence and a precedence in which rules are applied to re-write the query plan. A user may interact with the visualization of the re-written query plan for purposes of de-bugging, re-write optimization, and/or query development.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer-implemented method comprising: providing an engine in communication with a re-written query plan and with an interface, the re-written query plan resulting from application of a query plan re-write rule to a previous query plan; causing an engine to reference the re-written query plan in order to generate a visualization comprising a graph including an operation node and a table node; and causing the engine to communicate the visualization to the interface for display in a dashboard, wherein the dashboard further includes a change log separate from the graph and reflecting changes to the re-written query plan in a format comprising an identifier of the operation node, an operation type, an updated parent node identifier, and an identifier of the query plan re-write rule. 2. A method as in claim 1 wherein the visualization includes a color indicating a change of the re-written query plan from the previous query plan. 3. A method as in claim 1 wherein the dashboard further includes the previous query plan. 4. A method as in claim 1 wherein the dashboard further includes a part of the query plan re-write rule. 5. A method as in claim 4 further comprising causing the engine to change the query plan re-write rule based upon input received from the interface. 6. A method as in claim 1 wherein the dashboard further includes cost information. 7. A non-transitory computer readable storage medium embodying a computer program for performing a method, said method comprising: providing an engine in communication with a re-written query plan and with an interface, the re-written query plan resulting from application of a query plan re-write rule to a previous query plan; causing an engine to reference the re-written query plan in order to generate a visualization comprising a graph including an operation node and a table node; and causing the engine to communicate the visualization to the interface for display in a dashboard, wherein the dashboard further includes a change log separate from the graph and reflecting changes to the re-written query plan in a format comprising an identifier of the operation node, an operation type, an updated parent node identifier, and an identifier of the query plan re-write rule. 8. A non-transitory computer readable storage medium as in claim 7 wherein the visualization includes a color indicating a change of the re-written query plan from the previous query plan. 9. A non-transitory computer readable storage medium as in claim 7 wherein the dashboard further includes the previous query plan. 10. A non-transitory computer readable storage medium as in claim 7 wherein the dashboard further includes a part of the query plan re-write rule. 11. A non-transitory computer readable storage medium as in claim 10 wherein the method further comprises causing the engine to change the query plan re-write rule based upon input received from the interface. 12. A non-transitory computer readable storage medium as in claim 7 wherein the dashboard further includes cost information. 13. A computer system comprising: one or more processors; a software program, executable on said computer system, the software program configured to: provide an engine in communication with a re-written query plan and with an interface, the re-written query plan resulting from application of a query plan re-write rule to a previous query plan; cause an engine to reference the re-written query plan in order to generate a visualization comprising a graph including an operation node and a table node; and cause the engine to communicate the visualization to the interface for display in a dashboard further comprising the previous query plan, wherein the dashboard further includes a change log separate from the graph and reflecting changes to the re-written query plan in a format comprising an identifier of the operation node, an operation type, an updated parent node identifier, and an identifier of the query plan re-write rule. 14. A computer system as in claim 13 wherein the visualization includes a color indicating a change of the re-written query plan from the previous query plan. 15. A computer system as in claim 13 wherein the dashboard further includes a part of the query plan re-write rule. 16. A computer system as in claim 13 wherein the dashboard further includes cost information.

Assignees

Inventors

Classifications

  • G06F16/248Primary

    Presentation of query results · CPC title

  • Query predicate definition using graphical user interfaces, including menus and forms (G06F16/2423 takes precedence) · CPC title

  • Optimisation of common expressions · CPC title

  • Query rewriting; Transformation · CPC title

  • Plan optimisation · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9477724B2 cover?
Embodiments relate to re-writing database query plans, and visualizing such re-written query plans. A query re-write framework includes a query normalization engine in communication with a rule catalog comprising query re-write rules in the form of rule classes. The framework receives as input, a query plan graph to be re-written. Based upon the engine's application of re-write rules from the c…
Who is the assignee on this patent?
Song Sang Il, Kim Won Seok, Choi Sanghyun, and 2 more
What technology area does this patent fall under?
Primary CPC classification G06F16/248. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Oct 25 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).