Query Execution (epo) Patents (Class 707/E17.132)
  • Patent number: 8812643
    Abstract: Encoding and/or decoding of messages. On the encoding end, a composite encoder encodes message from an internal format that is used by internal system components into an external format. However, the composite encoder may encode the outgoing messages into different external formats on a per-message basis. For incoming message, a composite decoder decodes incoming messages from any one of a plurality of external formats into the internal format also on a per-message basis. A per-message report mechanism permits internal system components and the encoding/decoding components to communicate information regarding the encoding or decoding on a per message basis. XML messages can be converted automatically into Binary messages.
    Type: Grant
    Filed: July 5, 2011
    Date of Patent: August 19, 2014
    Assignee: Microsoft Corporation
    Inventors: Stephen Jared Maine, Michael J. Coulson, Tirunelveli R. Vishwanath, Erik B. Christensen
  • Publication number: 20140067793
    Abstract: The present invention relates to computer implemented methods and system for creating and executing an query plan for SPARQL Protocol And Query Language (SPARQL) queries. The methods and systems are designed to accept as input a query in SPARQL syntax, convert this query to semQA2 and generate a parse tree, perform filter pushdown, generate an efficient query plan potentially using a cost function, and execute this query plan against data sources complying to or modeled as Resource Description Framework (RDF). The result of these methods and of the systems implementing these methods is a set of triples contained in the data sources that comprise a solution of the SPARQL query provided.
    Type: Application
    Filed: August 31, 2012
    Publication date: March 6, 2014
    Applicant: INFOTECH SOFT, INC.
    Inventor: Emilio Patrick Shironoshita
  • Publication number: 20140052711
    Abstract: Techniques are described for generating histograms for a multidimensional space. In the presence of large spatial objects, fuzzy splitting techniques are utilized to recursively divide the multidimensional space into partitions, where a single spatial object may belong to multiple partitions. Large spatial objects are essentially broken down into smaller objects that may allow for more efficient partitioning of the multidimensional space. A count of spatial objects in each partition yields a spatial histogram. A spatial object that belongs to multiple partitions may have a weighted count for each of the multiple partitions, based on the extent to which the spatial object overlaps with each partition. Thus, an object that is split among a handful of partitions will only contribute a fraction of a count to each partition. Small partitions having relatively few objects are avoided by refusing to subdivide a partition whose members drop below a threshold number.
    Type: Application
    Filed: August 16, 2012
    Publication date: February 20, 2014
    Applicant: ORACLE INTERNATIONAL CORPORATION
    Inventors: Bhuvan Bamba, Richard J. Anderson, Ying Hu, Siva Ravada
  • Publication number: 20140032528
    Abstract: Methods and systems for processing a database query are disclosed. An example method includes receiving a SQL database query at a database query handling server, and parsing the SQL database query to identify a database and one or more tables and columns identified by the SQL database query. The method also includes determining a query plan based on the parsed database query. At a database engine, and based on the query plan and the identified database, tables and columns, the method further includes identifying a set of data nodes implicated by the identified database, tables and columns, determining a set of reduce operations and levels at which each of the set of map-reduce operations are to execute, and passing the query plan, the set of data nodes, and the map-reduce operations to a map-reduce query execution framework. The map-reduce query framework returns records as query results to the client system.
    Type: Application
    Filed: October 23, 2012
    Publication date: January 30, 2014
    Applicant: Unisys Corporation
    Inventors: Sateesh Mandre, Kumar Swamy BV, Raghavendra Marutirao Banappanavar, Murthy Naik Revananaik, Prabhakar Chintapalli
  • Publication number: 20130304723
    Abstract: In an embodiment, a query plan is compressed to data in a cache at a high compression level if a runtime of a query that the query plan implements is greater than a high time threshold. The query plan is compressed to the data in the cache at a medium compression level if the runtime of the query that the query plan implements is less than the high time threshold and greater than a low time threshold. The query plan is stored to the data in the cache at an uncompressed level if the runtime of the query that the query plan implements is less than the low time threshold.
    Type: Application
    Filed: May 11, 2012
    Publication date: November 14, 2013
    Applicant: INTERNATIONAL BUSINESS MACHINES CORPORATION
    Inventors: Rafal P. Konik, Roger A. Mittelstadt, Brian R. Muras, Mark W. Theuer
  • Publication number: 20130173592
    Abstract: A database system comprises a processing module, and a storage device communicatively coupled with the processing module and allocated thereto. The storage device stores a base table allocated to the processing module. The processing module receives a database query from a client computer system, and generates a spool based upon a number of columns of a table, and partitions at least one column of the spool based upon the database query received from the client computer system.
    Type: Application
    Filed: March 12, 2012
    Publication date: July 4, 2013
    Inventors: Heng Yuan, Mark Sirek
  • Publication number: 20130151504
    Abstract: The claimed subject matter provides a method for providing a progress estimate for a database query. The method includes determining static features of a query plan for the database query. The method also includes selecting an initial progress estimator based on the static features and a trained machine learning model. The model is trained using static features of a plurality of query plans, and dynamic features of the plurality of query plans. Further, the method includes determining dynamic features of the query plan for each of a plurality of candidate estimators. Additionally, the method includes selecting a revised progress estimator based on the static features, the dynamic features and a trained machine learning model for each of the candidate estimators. The method further includes producing the progress estimate based on the revised progress estimator.
    Type: Application
    Filed: December 9, 2011
    Publication date: June 13, 2013
    Applicant: MICROSOFT CORPORATION
    Inventors: Christian Konig, Bolin Ding, Surajit Chaudhuri, Vivek Narasayya
  • Publication number: 20130110820
    Abstract: There is provided a computer-implemented method of determining an execution ordering. An exemplary method comprises generating a directed graph based on a hierarchy. The hierarchy includes a plurality of pattern queries. The method also includes determining a minimum spanning tree of the directed graph. The method further includes determining an execution order of the pattern queries based on the minimum spanning tree.
    Type: Application
    Filed: October 31, 2011
    Publication date: May 2, 2013
    Inventors: Chetan Kumar Gupta, Song Wang, Abhay Mehta, Mo Liu, Elke A. Rundensteiner
  • Publication number: 20130080417
    Abstract: A data management system receives a query for data. A deadline for completing the query is supplied along with the query. The data management system determines access plans for the query and selects one of the access plans for execution to return a results set for the query. The selected access plan is selected according to an estimated ability to complete the query prior to the deadline. Further, the access plan is selected according to a lowest resource usage among the plans that can be completed the query prior to the deadline.
    Type: Application
    Filed: September 27, 2011
    Publication date: March 28, 2013
    Applicant: International Business Machines Corporation
    Inventor: Sujatha Kashyap
  • Publication number: 20130013588
    Abstract: A mechanism is provided for generating a filter expression using tree parameters receives an expression wherein operators of the expression bind multiple data items to a single parameter to form a received expression, generates a default prompt control using received metadata and the received expression and prompts for an input selection using the default prompt control. Responsive to receiving selected values in response to the default prompt control to form received values the computer-implemented process generates a native database query using the received expression with the single parameter and the received values, wherein the single parameter is a tree parameter.
    Type: Application
    Filed: September 14, 2012
    Publication date: January 10, 2013
    Applicant: International Business Machines Corporation
    Inventors: David Dewar, Glenn D. Rasmussen, Katherine A. Wallace
  • Patent number: 8290937
    Abstract: Techniques are described for managing query execution by estimating and monitoring query execution time. Embodiments of the invention may generally receive a query to be executed and calculate an initial estimated execution time for the received query. If the initial estimated execution time does not exceed a threshold amount of time, embodiments of the invention may submit the query for execution. Once execution of the query has begun, embodiments of the invention may calculate an updated estimated execution time for the executing query, and if the updated estimated execution time exceeds the threshold amount of time, may halt the execution of the query.
    Type: Grant
    Filed: August 30, 2010
    Date of Patent: October 16, 2012
    Assignee: International Business Machines Corporation
    Inventors: Eric L. Barsness, John M. Santosuosso
  • Publication number: 20120185462
    Abstract: Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for managing computing resources. In one aspect, a method includes filtering a first plurality of requests based on one or more criteria to generate first filtered requests, the first plurality of requests being associated with a first query plan that is associated with a first instance, identifying a first application associated with at least a portion of the first filtered requests, and determining a quantity of cores used by the first application based at least in part on the portion of the first filtered requests associated with the first application.
    Type: Application
    Filed: January 18, 2011
    Publication date: July 19, 2012
    Applicant: ACCENTURE GLOBAL SERVICES LIMITED
    Inventors: Scott A. Albrecht, Joshua Davidson
  • Publication number: 20120166424
    Abstract: A database management system implemented in a cloud computing environment. Operational nodes are assigned as groups of controller-nodes, compute-nodes or storage-nodes. Queries specify one or more tables for an associated database operation, with each table being assigned to respective storage nodegroup(s). The number of nodes executing a given query may change, by (a) changing the compute-nodes associated with a connection, or (b) adding or removing nodes associated with a connection; and/or distributing data to a storage nodegroup based on a Distribution Method which may be either data dependent or data independent. A controller node further executes a Dynamic Query Planner (DQP) process that develops a query plan.
    Type: Application
    Filed: March 5, 2012
    Publication date: June 28, 2012
    Applicant: ParElastic Corporation
    Inventor: Mrithyunjaya Annapragada
  • Publication number: 20120143847
    Abstract: Disclosed is a database management method which generates an execution plan with respect to a factorized character string generated by factoring an execution value list of a query and stores the factorized character string and an execution plan identifier with respect to the factorized character string, matching each other.
    Type: Application
    Filed: April 29, 2009
    Publication date: June 7, 2012
    Applicant: NHN BUSINESS PLATFORM CORPORATION
    Inventors: Kyung Sik Seo, Ki Eun Park
  • Publication number: 20120130984
    Abstract: A preliminary segment root and a final segment root are selected for each segment. Each time a search query is received, a set of nodes in each segment that will be used to resolve the search query is identified. A preliminary segment root is selected from the set of nodes. Based on statistical data from each node in the set of nodes indicating each node's capability to act as a final segment root that assembles query-execution data, the preliminary segment root algorithmically selects the final segment root. The other nodes in the set of nodes are notified regarding the identity of the final segment root.
    Type: Application
    Filed: March 25, 2011
    Publication date: May 24, 2012
    Applicant: MICROSOFT CORPORATION
    Inventors: KNUT MAGNE RISVIK, MICHAEL HOPCROFT, KARTHIK KALYANARAMAN, TRISHUL CHILIMBI, HENRY SETIAWAN, CHRISTOPHER W. ANDERSON
  • Patent number: 8185519
    Abstract: An exact cardinality query optimization system and method for optimizing a query having a plurality of expressions to obtain a cardinality-optimal query execution plan for the query. Embodiments of the system and method use various techniques to shorten the time necessary to obtain the cardinality-optimal query execution plan, which contains the query execution plan when all cardinalities are exact. Embodiments of the system and method include a covering queries technique that leverages query execution feedback to obtain an unordered subset of relevant expressions for the query, an early termination technique that bounds the cardinality to determine whether the processing can be terminate before each of the expressions are executed, and an expressions ordering technique that finds an ordering of expressions that yields the greatest reduction in time to obtain the cardinality-optimal query execution plan.
    Type: Grant
    Filed: March 14, 2009
    Date of Patent: May 22, 2012
    Assignee: Microsoft Corporation
    Inventors: Surajit Chaudhuri, Vivek Narasayya, Ravishankar Ramamurthy
  • Publication number: 20120095989
    Abstract: A method determines a number of unique values in a sample of a list of values and estimates a number of the unique values for an unsampled portion of the list of values. The method estimates a number of the unique values in the list by adding the number of unique values in the sample to the number of the unique values in the unsampled portion.
    Type: Application
    Filed: October 19, 2010
    Publication date: April 19, 2012
    Inventors: Choudur Lakshminarayan, Joe Robert Hill
  • Publication number: 20110231889
    Abstract: A method, system, and computer usable program product for applying a security policy as a query predicate. A query is received. The query is a request for data directed to a data repository executing in a data processing system. The security policy is identified, the security policy being a security policy applicable to the query. A predicate that corresponds to the security policy is determined. The query is modified to include the predicate. The modified query is sent to the data repository.
    Type: Application
    Filed: March 22, 2010
    Publication date: September 22, 2011
    Applicant: International Business Machines Corporation
    Inventors: VIJAY DHEAP, Abhinaya Ravinder Nagpal, Sandeep R. Patil, Yan Stein
  • Publication number: 20110179080
    Abstract: A map update data delivery method includes: storing update unit data compiled in correspondence to each set of update data used to update map data in a specific version to map data in another version for a map element by incorporating update data for another map element that must also be updated in coordination with a change made for the map element; searching for base update data needed to update a map data for a map element designated as an update target in a map area specified at a terminal as a map data update target; searching for related update data with a relation to contents of update data included in the base update data searched; and transmitting the base update data and the related update data to the terminal.
    Type: Application
    Filed: January 19, 2011
    Publication date: July 21, 2011
    Applicant: Clarion Co., Ltd.
    Inventors: Yukio MIYAZAKI, Osamu Tomobe, Yukihiro Kawamata, Takayuki Uchida, Tadashi Kamiwaki, Shigeru Matsuo
  • Publication number: 20110125732
    Abstract: A markup language schema utilized to represent internal ranking models. In one implementation, the schema developed utilizes XML (extensible markup language) for internal ranking model representation. Other markups languages can be employed.
    Type: Application
    Filed: November 25, 2009
    Publication date: May 26, 2011
    Applicant: c/o Microsoft Corporation
    Inventors: Yauhen Shnitko, Dmitriy Meyerzon, Vladimir V. Tankovich
  • Publication number: 20110125729
    Abstract: Embodiments of the invention disclose a method, a system and a computer program product of discovering automated insights in XML data by generating a query result in response to querying data using a query, wherein the data is in a markup language format, and identifying a pattern associated with the query result, wherein the data in the markup language format is used for pattern identification.
    Type: Application
    Filed: November 23, 2009
    Publication date: May 26, 2011
    Applicant: INTERNATIONAL BUSINESS MACHINES CORPORATION
    Inventors: Manish A. Bhide, Venkat Chakravarthy, Mukesh K. Mohania, Girish Venkatachaliah
  • Publication number: 20110047144
    Abstract: A computer program product that includes a computer useable storage medium to store a computer readable program that, when executed on a computer, causes the computer to perform operations, including operations to receive a query for which a query execution plan (QEP) is to be computed, divide a search space into a plurality of subproblems for which constituent QEPs are to be created, partition the plurality of subproblems into a plurality of partitions, and allocate each of the plurality of partitions to a thread of a plurality of threads within a multiple thread architecture. Possible QEPs describe a search space. Each subproblem references one or more quantifiers and each of the subproblems within a partition references the same number of quantifiers. A partition containing subproblems referencing fewer quantifiers is executed before a partition containing subproblems referencing more quantifiers.
    Type: Application
    Filed: August 18, 2009
    Publication date: February 24, 2011
    Applicant: International Business Machines Corporation
    Inventors: Wook-Shin Han, Wooseong Kwak, Jinsoo Lee, Guy M. Lohman, Volker Markl
  • Patent number: 7840590
    Abstract: Techniques for efficiently processing a query are provided. A query may specify a location path and a content path. The location path identifies the hierarchical location of a set of documents within a resource repository. The content path identifies hierarchical location of one or more nodes within the content of the set of documents. Computing the query includes using a repository index, based on the location path and the content path, to generate first results corresponding to the set of documents and second results corresponding to the one or more nodes. Final results of the query are based on the first results and second results. Another technique is provided for formatting a locator value in the repository index to support data that is stored object-relationally. Another technique is provided for storing index information about virtual content.
    Type: Grant
    Filed: December 18, 2006
    Date of Patent: November 23, 2010
    Assignee: Oracle International Corporation
    Inventors: Man-Hay Tam, Thomas Baby, Nipun Agarwal
  • Patent number: 7831593
    Abstract: A system and method for selectively recompiling stored execution plans within a database system. In one technique the execution plans include respective version numbers of database software operable within the database system during compilation of the respective plans. A request is received to execute one of the stored execution plans, and the stored execution plan is retrieved from computer memory. A version number is obtained of database software operable within the database system during retrieval of the stored execution plan. The obtained version number is compared with the version number associated with the retrieved execution plan. On detecting a mismatch between the obtained version number and the retrieved version number, the stored execution plan is recompiled. In another technique the stored execution plans include respective cost parameters representing the hardware capabilities of the system at the time of plan compilation.
    Type: Grant
    Filed: March 5, 2007
    Date of Patent: November 9, 2010
    Assignee: Teradata US, Inc.
    Inventors: Louis Burger, Thomas Julien, Frank Roderic Vandervort
  • Publication number: 20100281018
    Abstract: Pursuant to receipt of a data modification command or statement, such as an Update command, it is determined which fields in a data structure, such as a UDT, computed column, indexed view, or index, for example, will be changed as a result of the command. Only those fields that are affected by the command will be changed. Thus, changes are propagated to only to those dependent data structures whose content is being modified. Tree representations are used to facilitate the determination as to whether a subfield in a hierarchy is changed.
    Type: Application
    Filed: July 15, 2010
    Publication date: November 4, 2010
    Applicant: Microsoft Corporation
    Inventors: Bruno H.M. Denuit, Stefano Stefani
  • Publication number: 20100250520
    Abstract: A method for controlling a relational database system, with a query statement comprised of keywords being analyzed, with the RTN being formed of independent RTN building blocks. Each RTN building block has an inner, directed decision graph which is defined independently from the inner, directed decision graphs of the other RTN building blocks with at least one decision position along at least one decision path. The inner decision graphs of all RTN building blocks are run by means of the keywords in a selection step and all possible paths of this decision graph are followed until either no match with the respectively selected path is determined by the decision graph and the process is interrupted, or the respectively chosen path is run until the end.
    Type: Application
    Filed: June 7, 2010
    Publication date: September 30, 2010
    Applicant: MEDIAREIF MOESTL & REIF KOMMUNIKATIONS-UND INFORMATIONSTECHNOLOGIEN OEG
    Inventor: Matthias Möstl
  • Publication number: 20100228769
    Abstract: In large medical facilities such as hospitals or group practices run by physicians individual patients are often examined and treated by a number of specialists in succession. In view of this it is important, in spite of great differences in the workflows of the individual medical facilities, to coordinate the work of said specialists by way of an operator control device having a uniform user interface. According to at least one embodiment of the invention, methods and a program product for enabling data records to be located are provided for that purpose. By way of the methods and/or the program product, in at least one embodiment a basic page and at least one content page are provided, wherein by use of the basic page at least one display field for presenting information extracted from a data record can be generated on a screen display and wherein by use of the content page, information extracted from a data record can be displayed in a display field.
    Type: Application
    Filed: March 2, 2010
    Publication date: September 9, 2010
    Inventors: Karlheinz Dorn, Andrew John Hewett, Vladyslav Ukis
  • Patent number: 7747609
    Abstract: Deriving join cost demographics for a binary join, i.e., a join between two relations each having a join column, includes using a correlation factor related to the ratio of unique join column values stored in each of a plurality of units of storage to the total number of unique values in the join column.
    Type: Grant
    Filed: December 21, 2007
    Date of Patent: June 29, 2010
    Assignee: Teradata US, Inc.
    Inventors: Grace K. Au, Bibhu Ranjan Priyadarshi, Ramakrishna Korlapati, Sanjay Sukumaran Nair
  • Publication number: 20100100552
    Abstract: A vast amount of information currently accessible over the Web, and in corporate networks, is stored in a variety of databases, and is being exported as XML data. However, querying this totality of information in a declarative and timely fashion is problematic because this set of databases is dynamic, and a common schema is difficult to maintain. The present invention provides a solution to the problem of issuing declarative, ad hoc XPath queries against such a dynamic collection of XML databases, and receiving timely answers. There is proposed a decentralized architectures, under the open and the agreement cooperation models between a set of sites, for processing queries and updates to XML data. Each site consists of XML data nodes. (which export their data as XML, and also pose queries) and one XML router node (which manages the query and update interactions between sites). The architectures differ in the degree of knowledge individual router nodes have about data nodes containing specific XML data.
    Type: Application
    Filed: December 22, 2009
    Publication date: April 22, 2010
    Inventors: Nikolaos Koudas, Divesh Srivastava, Michael Rabinovich