Database query execution tracing and data generation for diagnosing execution issues

US2016253379A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2016253379-A1
Application numberUS-201514632236-A
CountryUS
Kind codeA1
Filing dateFeb 26, 2015
Priority dateFeb 26, 2015
Publication dateSep 1, 2016
Grant date

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.

Trace data is received that was captured for a execution of a first query on first input data. The trace data associates clauses of the first query with respective evaluation states that arise during the execution. Second input data is generated from the trace data without accessing the first input data. An execution of a second query is performed on the second input data, wherein performing the execution of the second query on the second input data reproduces evaluation states from the execution of the first query on the first input data.

First claim

Opening claim text (preview).

1 - 11 . (canceled) 12 . A system comprising: a processor; and a computer readable storage medium connected to the processor, wherein the computer readable storage medium has stored thereon a program for controlling the processor, and wherein the processor is operative with the program to execute the program for: receiving trace data captured for an execution of a first query on first input data, wherein the trace data associates clauses of the query with respective evaluation states that arise during the execution; generating second input data from the trace data without accessing the first input data, so that the first input data is kept private; and performing an execution of a second query on the second input data, wherein performing the execution of the second query on the second input data reproduces evaluation states from the first execution of the first query on the first input data. 13 . A computer program product, the computer program product including a computer readable storage medium having instructions stored thereon for execution by a computer system, wherein the instructions, when executed by the computer system, cause the computer system to implement a method comprising: receiving trace data captured for an execution of a first query on first input data, wherein the trace data associates clauses of the query with respective evaluation states that arise during the first execution; generating second input data from the trace data without accessing the first input data, so that the first input data is kept private; and performing an execution of a second query on the second input data, wherein performing the execution of the second query on the second input data reproduces evaluation states from the execution of the first query on the first input data. 14 . The computer program product of claim 13 , wherein the first input data include data values and generating the second input data from the trace data without accessing the first input data comprises: generating values for the second input data corresponding to respective ones of the first input data values, wherein each second input data value has a value such that in execution of the second query each second input data value produces the same evaluation state as the evaluation state captured in the trace data for the corresponding first input data value but is otherwise independent of the corresponding first input data value. 15 . The computer program product of claim 13 , wherein the trace data includes counts of respective combinations of the evaluation states from the first execution applying the clauses of the first query to rows of the first input data. 16 . The computer program product of claim 13 , wherein generating the second input data from the trace data without accessing the first input data comprises: generating random values constrained to ranges such that executing the second query on the second input data reproduces the same number of combinations for a predetermined type of the evaluation state combinations. 17 . The computer program product of claim 15 , wherein generating the second input data from the trace data without accessing the first input data comprises: generating data that cause the execution of the second query to reproduce true evaluation states of the execution of the first query on the first input data, excluding unevaluated evaluation states of the execution of the first query on the first input data. 18 . The computer program product of claim 15 , wherein the instructions, when executed by the computer system, cause the computer system to implement a method comprising: determining whether a union result of the evaluation states in the trace data is true for each clause in the first query. 19 . The computer program product of claim 18 , wherein the instructions, when executed by the computer system, cause the computer system to implement a method comprising: generating the second query from the first query, wherein generating the second query includes eliminating a clause from the first query when the union result for the clause being eliminated is not true. 20 . The computer program product of claim 19 , wherein generating the alternative input data responsive to the trace data and the schema for the first input data comprises: generating data that cause execution of the execution of the second query to reproduce evaluation states of the execution of the first query only for the clauses having a true union state.

Assignees

Inventors

Classifications

  • Iterative querying; Query formulation based on the results of a preceding query · CPC title

  • by tracing the execution of the program · CPC title

  • Query optimisation · CPC title

  • G06F11/362Primary

    Debugging of software · CPC title

  • Physics · mapped topic

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 US2016253379A1 cover?
Trace data is received that was captured for a execution of a first query on first input data. The trace data associates clauses of the first query with respective evaluation states that arise during the execution. Second input data is generated from the trace data without accessing the first input data. An execution of a second query is performed on the second input data, wherein performing th…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F11/3636. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Sep 01 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). 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).