Query Execution Plan Patents (Class 707/718)
  • Publication number: 20140089294
    Abstract: Presented is a system and method for evaluating relational database queries in a distributed system. An optimized query plan is received by a control node. The query plan is decoded to a SQL statement that is semantically equivalent to the query plan, even though the query plan contains elements that have no direct analogue in SQL. The decoded SQL is transmitted to a compute node for execution.
    Type: Application
    Filed: September 26, 2012
    Publication date: March 27, 2014
    Applicant: MICROSOFT CORPORATION
    Inventors: Srinath Shankar, Rimma Nehme
  • Patent number: 8682875
    Abstract: Embodiments of the invention provide techniques for generating statistics for optimizing database queries containing user-defined functions (UDFs). In general, the statistics may be generated based on output values produced during past executions of a UDF. The statistics may also be generated based on input values received during past executions of the UDF. Additionally, the statistics may include input and output value pairs, such that a UDF output may be determined based on a UDF input. The generated statistics may be used by a query optimizer to determine an efficient query plan for executing the database query.
    Type: Grant
    Filed: October 24, 2007
    Date of Patent: March 25, 2014
    Assignee: International Business Machines Corporation
    Inventors: Eric Lawrence Barsness, Brian Robert Muras, Paul Stuart Nelsestuen, John Matthew Santosuosso
  • Patent number: 8676765
    Abstract: A database archiving performance benefit determination system may include a data reduction module to ascertain a reduction value of data stored on a database, and a database setup module to ascertain a setup of the database. A performance modeling module may calculate a performance increase for a database application using the database based on the reduction value, the setup of the database, and at least one parameter representing the database application.
    Type: Grant
    Filed: July 12, 2011
    Date of Patent: March 18, 2014
    Assignee: Hewlett-Packard Development Company, L.P.
    Inventor: Yu Gong
  • Publication number: 20140067792
    Abstract: A system includes a coordinator node and worker nodes in communication with the coordinator node. Each worker node stores data blocks. Each data block has data in a semi-structured format and each data block has an associated foreign table declaration specifying conversion of the data in the semi-structured format into a tabular format interpretable by a query language. A query processor executed by the coordinator node produces a distributed query plan in response to a query language query. The distributed query plan includes sub-queries. The sub-queries are executed by selected worker nodes of the worker nodes. The selected worker nodes use foreign table declarations to convert data in semi-structured formats into tabular formats of a distributed database to provide tabular data in response to the query language query.
    Type: Application
    Filed: August 30, 2012
    Publication date: March 6, 2014
    Applicant: CITUS DATA BILGI ISLEMLERI TICARET A.S.
    Inventors: Ozgun Ali Erdogan, Sumedh Suhas Pathak, Hadi Moshayedi
  • 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
  • Patent number: 8666968
    Abstract: In an embodiment, a runtime callback function is a part of a code that is invoked upon execution of an associated function. To execute the runtime callback function associated with an in-memory computing engine, multidimensional analytical metadata associated with an application server is received and transformed into an in-memory executable metadata, to generate an instance of an in-memory executable calculation scenario. The instance of the in-memory executable calculation scenario is analyzed to determine process callbacks associated with nodes of the in-memory executable calculation scenario. Based upon the determined process callbacks, the runtime callback function is executed by executing a selection callback at the nodes and a transformation callback at part providers associated with the in-memory executable calculation scenario.
    Type: Grant
    Filed: December 23, 2011
    Date of Patent: March 4, 2014
    Assignee: SAP AG
    Inventors: Nadine Sachs, Sebastian Schroetel, Ulrich Bestfleisch, Gerrit Simon Kazmaier
  • Patent number: 8666969
    Abstract: Various aspects of this disclosure are directed to receiving, by a computing device, a first table join query that may include a first group of table identifiers that identify the two or more tables. The computing device may determine whether the first table join query includes an outer join command. When the first table join query includes the outer join command, the computing device may compare the first group of table identifiers and a second group of table identifiers of one or more pre-joined tables to determine whether each of the first table identifiers matches at least one of the second group of table identifiers. The computing device may further determine whether a predicate associated with each table identifier matches a predicate associated with a matching second table identifier. When each of the predicates match, the computing device may rewrite the first table join query.
    Type: Grant
    Filed: November 14, 2011
    Date of Patent: March 4, 2014
    Assignee: International Business Machines Corporation
    Inventors: Thomas A. Beavin, Mengchu Cai, Ruiping Li, James A. Ruddy
  • Patent number: 8661023
    Abstract: Systems and methods are provided for processing a query at a computer system. The method includes building a query tree based on the query and grouping at least some nodes of the query tree into a group of nodes. Grouping is based on an operator node that is a parent of the at least some nodes. The group of nodes retains the functionality of the operator node but the operator node is eliminated by replacing the operator node with the group of nodes in the query tree. The method also includes traversing the query tree to obtain a result list from a search index that is responsive to the query.
    Type: Grant
    Filed: August 17, 2012
    Date of Patent: February 25, 2014
    Assignee: Google Inc.
    Inventors: Won S. Chun, Herb Derby, Douglas Lee Taylor Rohde, Xiaotong Zhuang, Hermanpreet Singh
  • Patent number: 8661022
    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: Grant
    Filed: April 29, 2009
    Date of Patent: February 25, 2014
    Assignee: NHN Business Platform Corporation
    Inventors: Kyung Sik Seo, Ki Eun Park
  • Patent number: 8661018
    Abstract: A method, a service optimization system, and a set of instructions are disclosed. A user interface 150 may receive a data request 230 from a user 210. A service plan generation module 410 may generate in real time a preliminary data response plan 300 based upon the data request 230. A service optimization module 412 may create in real time an optimized data response plan 350 by reorganizing the preliminary data response plan 300 into a new order of execution to optimize a response time for the data response 414.
    Type: Grant
    Filed: August 10, 2010
    Date of Patent: February 25, 2014
    Assignee: Lockheed Martin Corporation
    Inventor: Robert D. Riepshoff
  • Patent number: 8661017
    Abstract: A method, apparatus, article of manufacture for generating a media program database having a plurality of media programs is disclosed. In one embodiment, the method is comprises the steps of receiving first media program metadata from a first source, searching the Internet to find second media program metadata from a second source distinct from the first source, determining if the first media program metadata and the second media program metadata are associated with the same media program, merging the first media program metadata and the second media program metadata if the first media program metadata and the second media program metadata are associated with the same media program, and storing the merged first media program metadata and second media program metadata in the media program database.
    Type: Grant
    Filed: February 29, 2012
    Date of Patent: February 25, 2014
    Assignee: Hulu, LLC
    Inventors: Zhibing Wang, Yizhe Tang, Qian Chang, Ting-hao Yang
  • 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: 20140046928
    Abstract: In an embodiment, a first query is received that specifies a first object identifier. If a first query plan exists that implements the first query, except that the first query plan does not comprise the first object identifier and instead comprises a parameter marker in place of the first object identifier, a first query execution plan is created from the first query plan, substituting the first object identifier in the first query execution plan for the parameter marker, and the first query execution plan is executed to read a first object identified by the first object identifier.
    Type: Application
    Filed: August 9, 2012
    Publication date: February 13, 2014
    Applicant: International Business Machines Corporation
    Inventors: Rafal P. Konik, Roger A. Mittelstadt, Brian R. Muras, Mark W. Theuer
  • Publication number: 20140040235
    Abstract: Methods and systems are provided for querying a database. One exemplary method for obtaining data from an on-demand database supporting one or more tenants involves obtaining model database statistics based on expected utilization information for a tenant and providing the model database statistics to the on-demand database. The on-demand database utilizes the model database statistics to generate a query plan and executes the query plan to obtain data from the model database statistics.
    Type: Application
    Filed: October 2, 2013
    Publication date: February 6, 2014
    Applicant: salesforce.com, inc.
    Inventors: Chirag Rajan, Jesse Collins, Seung-Yeoul Yang, Hoon Kim
  • Patent number: 8645356
    Abstract: An adaptive query execution plan enhancement is provided by: selecting a sample of literal sets from an execution history of a query statement; determining a plurality of access paths by applying each literal set in the sample to the query statement; for each given access path of the plurality of access paths, determining a total execution cost by applying each literal set in the sample to the given access path; and selecting a preferred access path from the plurality of access paths based on the total execution costs for each given access path. A plurality of preferred access paths for a plurality of query statements in an application workload is collected and may be presented as a query execution plan enhancement recommendation to users.
    Type: Grant
    Filed: March 28, 2012
    Date of Patent: February 4, 2014
    Assignee: International Business Machines Corporation
    Inventors: Patrick D Bossman, Curt L. Cotner, You-Chin Fuh, Adarsh R. Pannu, Kun Peng Ren
  • 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
  • Patent number: 8630999
    Abstract: In accordance with aspects of the present invention, provided are systems and computer program products for incrementally estimating the cardinality of a derived relation including statistically correlated partially applicable predicates for a range-partitioned table. During the generation of a QEP a cardinality estimate is calculated in which one or more partially applicable predicates is correlated to another partially applicable predicate and/or to one or more fully applicable predicates. The cardinality includes a number of rows expected to be returned by the QEP and is computed in an incremental fashion for each operator of the QEP.
    Type: Grant
    Filed: January 30, 2012
    Date of Patent: January 14, 2014
    Assignee: International Business Machines Corporation
    Inventors: Vincent Corvinelli, John Frederick Hornibrook, Bingjie Miao
  • Publication number: 20140006383
    Abstract: A system for evolutionary analytics supports three dimensions (analytical workflows, the users, and the data) by rewriting workflows to be more efficient by using answers materialized as part of previous workflow execution runs in the system.
    Type: Application
    Filed: May 9, 2013
    Publication date: January 2, 2014
    Applicant: NEC LABORATORIES AMERICA, INC.
    Inventors: Vahit Hakan Hacigumus, Jagan Sankaranarayanan, Jeffrey LeFevre, Junichi Tatemura, Neoklis Polyzotis
  • Publication number: 20140006382
    Abstract: Embodiments of the present invention provide query processing for column stores by accumulating table record attributes during application of query plan operators on a table. The attributes and associated attribute values are compacted when said attribute values are to be consumed for an operation in the query plan, during the execution of the query plan. Table column record values are materialized late in query plan execution.
    Type: Application
    Filed: August 16, 2012
    Publication date: January 2, 2014
    Applicant: INTERNATIONAL BUSINESS MACHINES CORPORATION
    Inventors: Ronald J. BARBER, Lin Qiao, Vijayshankar Raman, Richard S. Sidle
  • Publication number: 20140006381
    Abstract: Embodiments of the present invention provide query processing for column stores by accumulating table record attributes during application of query plan operators on a table. The attributes and associated attribute values are compacted when said attribute values are to be consumed for an operation in the query plan, during the execution of the query plan. Table column record values are materialized late in query plan execution.
    Type: Application
    Filed: June 29, 2012
    Publication date: January 2, 2014
    Applicant: INTERNATIONAL BUSINESS MACHINES CORPORATION
    Inventors: Ronald J. Barber, Lin Qiao, Vijayshankar Raman, Richard S. Sidle
  • Patent number: 8620903
    Abstract: Systems and method are disclosed for query optimization in a scale-out system with a single query processing machine and a distributed storage engine to store data by receiving a query rewritten for an internal schema; optimizing a query execution plan for the query; and executing the plan and returning result to an application.
    Type: Grant
    Filed: August 31, 2010
    Date of Patent: December 31, 2013
    Assignee: NEC Laboratories America, Inc.
    Inventors: Junichi Tatemura, Arsany Sawires, Oliver Po, V. Hakan Hacigumus
  • Patent number: 8615507
    Abstract: There is disclosed a system and method for optimising database access plans. Specifically, modifications made to a database are monitored and compared to a set of criteria. If a modification satisfies a criterion, the access plans relating to the modification are updated.
    Type: Grant
    Filed: December 23, 2008
    Date of Patent: December 24, 2013
    Assignee: International Business Machines Corporation
    Inventors: Gopikrishnan Varadarajulu, Abhishek Iyer, Pallavi Gupta
  • Patent number: 8600977
    Abstract: Approaches, techniques, and mechanisms are disclosed for capturing and utilizing information related to query plans exhibiting interesting characteristics. A database server receives a request to execute a command. The database server executes the command according to a query plan. In response to determining that the command matches one or more pre-defined criteria, the database server captures information related to the execution of the first command. The criteria may include, for example, whether or not the command is repeatable, the existence of bind variables, access of a particular object, high resource utilization, receipt from a particular user, client, or application, etc. The information recorded may include, for example, performance statistics collected during execution of the first plan, data indicating the execution context during execution of the first plan, and properties of the first plan.
    Type: Grant
    Filed: August 8, 2008
    Date of Patent: December 3, 2013
    Assignee: Oracle International Corporation
    Inventors: Benoit Dageville, Dinesh Das, Mohamed Ziauddin
  • Patent number: 8601474
    Abstract: In an embodiment, a query implemented by a first execution plan is executed at a first virtual machine. In response to a move command that requests a move of the first virtual machine from a first computer to a second computer while the first virtual machine is executing the query implemented by the first execution plan at the first computer, an attribute of a resource used by the executing at the first virtual machine is saved to memory at the first computer and a driver source used by the executing at the first virtual machine is saved to the memory at the first computer. In response to a command that requests starting a second virtual machine at the second computer, a determination is made whether the driver source that comprises the state of the partial execution of the first execution plan exists in memory of the second computer.
    Type: Grant
    Filed: October 14, 2011
    Date of Patent: December 3, 2013
    Assignee: International Business Machines Corporation
    Inventors: Rafal P. Konik, Roger A. Mittelstadt, Brian R. Muras, Mark W. Theuer
  • Publication number: 20130318068
    Abstract: Techniques are provided for improving performance of parallel execution plans that include serial operations. A database server generates a parallel execution plan and includes one or more serial data flow objects in the parallel execution plan, each data flow object including one or more serial row sources. A parallel selector row source is associated with each serial data flow object included in the parallel execution plan. Each parallel selector row source coordinates with a query coordinator process the execution of the associated serial data flow object. In the event that that a plurality of serial data flow objects are included in a parallel execution plan, serial row sources included in the serial data flow objects may be executed concurrently by a separate parallel slave process, instead of sequential execution of each serial row source by the query coordinator process.
    Type: Application
    Filed: May 22, 2012
    Publication date: November 28, 2013
    Inventors: Himani Apte, Thierry Cruanes
  • Publication number: 20130318069
    Abstract: A query plan predictor receives a query instance according to a query template having a set of parameters. The query plan predictor determines a plan space point for the query instance which is based upon the set of parameters. The query plan predictor predicts a predicted query plan for the plan space point, which is selected from a map of query plans according to a confidence threshold from a plan cache that includes at least one histogram. Each histogram is representative of a cached query plan in the plan cache combined with a previously-selected locality-sensitive hashing function. The histogram stores a frequency distribution of a mapping of sample plan points for the cached query plan by the locality-sensitive hashing function.
    Type: Application
    Filed: May 24, 2012
    Publication date: November 28, 2013
    Applicant: Sybase, Inc.
    Inventors: Günes AluÇ, David E. Dehaan, Ivan T. Bowman
  • Patent number: 8595215
    Abstract: A plan combining unit combines a plan including all predicate nodes by increasing a size of a subplan stepwise while selecting the subplan with a low cost using an analysis graph generated by a query analyzing unit and plan combination constraint data extracted by a constraint extracting unit. The analysis graph is the one expressed by a graph including a variable node corresponding to a variable to which an object on a database is bound and a predicate node indicating a condition between the variable nodes. The plan combination constraint data represents a constraint to a plan and a subplan extracted from the analysis graph as a condition between the nodes.
    Type: Grant
    Filed: March 13, 2008
    Date of Patent: November 26, 2013
    Assignee: Kabushiki Kaisha Toshiba
    Inventor: Masakazu Hattori
  • Patent number: 8595217
    Abstract: Techniques for using database metric results are provided. Structure Query Language (SQL) statements are parsed for multiple metric calculations. Each metric calculation is dynamically processed against a database to obtain combined results. The combined results are fed to remaining portions of the SQL statements as a source for or a driver to the remaining portions of the SQL statements.
    Type: Grant
    Filed: January 9, 2009
    Date of Patent: November 26, 2013
    Assignee: Teradata US, Inc.
    Inventors: Paul H. Phibbs, Marianne Ruegsegger, Linette Draper
  • Patent number: 8589381
    Abstract: In order to enable hierarchized resource-managing functions to mutually request processing and maintain the uniqueness of processing performed by each of the resource-managing functions, a process is performed as follows. When a first action request is inputted, an action-handler search unit analyzes the request condition indicated in the first action request, and searches an action-handler table for an action handler corresponding to the request condition. An action execution unit starts the action handler detected by the action-handler search unit and performs processing defined in the started action handler. In the case where all or part of the processing requested by the first action request is not performed by the action execution unit, the action execution unit produces and transmits a second action request indicating a request condition of all or the part of the processing in a common data form.
    Type: Grant
    Filed: May 11, 2007
    Date of Patent: November 19, 2013
    Assignee: Fujitsu Limited
    Inventors: Masazumi Matsubara, Akira Katsuno, Hiroshi Yazawa, Takashi Fujiwara
  • 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
  • Patent number: 8572068
    Abstract: Computer-implemented systems and associated operating methods use atomic query maps to identify and evaluate database query plan robustness landmarks. The computer-implemented system comprises logic that evaluates robustness of a selected atomic query by measuring performance of atomic query execution in a predetermined range of runtime conditions that include data characteristics. The logic produces a set of measurements that can be displayed as one or more performance maps and analyzes the measured performance to identify landmarks indicative of database atomic query performance degradation greater than a predetermined amount.
    Type: Grant
    Filed: February 2, 2009
    Date of Patent: October 29, 2013
    Assignee: Hewlett-Packard Development Company, L.P.
    Inventors: Goetz Graefe, Murali M. Krishna, Harumi Kuno, Janet L. Wiener
  • Patent number: 8566306
    Abstract: A system allowing a query to be submitted to a server that locates a human searcher to perform a search. The searcher performs a search including using conventional tools, browser, and provides results to the user. A searcher who produces result(s) accepted by the user is rewarded and the results can be used when a similar query is submitted by another user. The searcher is bested by comparing keywords of the query to keywords for which the searcher has registered and a high ranking searcher may be chosen by the system based on various factor(s). While the search is performed, information including videos, games, advertisements, etc., may be provided to the user based on keywords of the query and selection by the searcher. The reward for the searchers can be based on revenue from advertisements.
    Type: Grant
    Filed: September 23, 2011
    Date of Patent: October 22, 2013
    Assignee: Chacha Search, Inc.
    Inventor: Scott A Jones
  • Patent number: 8560524
    Abstract: One embodiment is a server in a cluster storage system. The server includes a Global Lock Manager (GLM) that receives requests for lock priorities for transactions from local lock manager (LLMs) in the cluster storage system. The GLM prevents deadlocks in the cluster storage system by issuing groups of priorities for transactions to the LLMs.
    Type: Grant
    Filed: October 30, 2008
    Date of Patent: October 15, 2013
    Assignee: Hewlett-Packard Development Company, L.P.
    Inventors: Brent A. Kingsbury, Terence M Rokop
  • Patent number: 8554762
    Abstract: Generally described, the present disclosure is directed to an eventually consistent replicated data store that uses, for its underlying storage, a computer software library that provides a high-performance embedded database for data. The replicated data store employs a plurality of hosts interconnected to one another, allowing for writes to any host and full awareness of membership across all hosts. With the data replication framework disclosed herein, various modes are allowed to be built up on top of the core system.
    Type: Grant
    Filed: December 28, 2010
    Date of Patent: October 8, 2013
    Assignee: Amazon Technologies, Inc.
    Inventors: Brian S. O'Neill, Jason Shijia Long, Archit Shivaprakash, Olga I. Kuznetsova
  • Publication number: 20130262436
    Abstract: A database query governor determines when a query cannot be executed within a defined time threshold, but still executes the query or some variant of the query so partial results for the query may be returned to the user after executing for less than the defined time threshold, instead of an error message indicating the query was not executed at all. The partial results provide information to the user that may be sufficient for some applications, or may indicate to the user how the query could be modified to run in less time.
    Type: Application
    Filed: March 30, 2012
    Publication date: October 3, 2013
    Applicant: INTERNATIONAL BUSINESS MACHINES CORPORATION
    Inventors: Eric L. Barsness, John M. Santosuosso
  • Publication number: 20130262437
    Abstract: A query optimizer may determine the time sensitivity of a database query using the query semantics information. The query optimizer may determine a query execution plan based on the time sensitivity of the database query. The query execution plan may also be based on performance characteristics of database servers.
    Type: Application
    Filed: December 30, 2011
    Publication date: October 3, 2013
    Inventor: Sameer Abhinkar
  • Patent number: 8548986
    Abstract: Architecture that provides for greater interoperability between column stores and row stores by leveraging the advantages both have to offer. The architecture operates automatically (e.g., dynamically) to move between row oriented processing mode and batch processing mode, and the combination thereof, when it is more beneficial to run in one mode relative to the other mode, or both modes. The auto-switching of data processing between batch and row oriented mode occurs during the execution of a single query. The architecture can automatically modify an operator in the query tree and/or remove an operator if desired at runtime for more efficient processing. This approach also accounts for memory constraints for either of row or column processing.
    Type: Grant
    Filed: March 19, 2010
    Date of Patent: October 1, 2013
    Assignee: Microsoft Corporation
    Inventors: Aleksandras Surna, Per-Ake Larson, Srikumar Rangarajan
  • Patent number: 8548985
    Abstract: Methods and apparatus for optimizing an abstract query are disclosed. Embodiments of the present invention allow an abstract database to optimize an abstract query composed from a set of logical fields. Each logical field includes a field name and an access method used to map the logical field to an underlying physical representation of the data. After a user composes an abstract query and submits it for execution, a runtime component and optimization component may be configured to resolve the abstract query to a physical query of the underlying physical data source using an access method associated with each logical field. In addition, as the runtime component builds a query consistent with the schema of the underlying database, an optimizing component may modify the query using any suitable optimization techniques.
    Type: Grant
    Filed: October 29, 2004
    Date of Patent: October 1, 2013
    Assignee: International Business Machines Corporation
    Inventors: Richard D. Dettinger, Travis M. Drucker, Brian R. Muras, Jeffrey W. Tenner
  • Patent number: 8543558
    Abstract: A data stream management system (DSMS) is designed to support a new user-defined function, by creating and using at least two structures as follows. A first structure (“metadata entry”) is created in response to a command for creation of the new function, and maps a single instance of a class to the function's name. A second structure is created with creation of an operator on receipt of each new continuous query that uses the new function. The second structure (“operator specific data structure”) contains a path to the newly-created instance, which path is obtained by looking up the first structure. Additional second structures are created on receipt of additional continuous queries which use the new function, but all second structures contain the same path. All continuous queries use the same instance. Repeated use of a single instance to compile and execute multiple queries eliminates repeated instantiation of the same function.
    Type: Grant
    Filed: September 23, 2011
    Date of Patent: September 24, 2013
    Assignee: Oracle International Corporation
    Inventors: Anand Srinivasan, Namit Jain, Shailendra Kumar Mishra
  • Publication number: 20130246393
    Abstract: Embodiment of the invention provide a reverse name lookup function for providing an absolute path name or file name and absolute path name to the file name parent directory based on a vnode reference, NFS file handle reference, or file identifier reference associated with a computer virtual file system. A method in accordance with the invention comprises populating a table structure with vnodes, names, and absolute path information associated with the vnodes. The table structure and information are sufficient to generate an absolute path name and file name for each vnode. The table structure also includes entries for file identifiers, names, and associated absolute path information associated with the file identifiers. This information is sufficient to generate an absolute path name for each file identifier. The table is populated by hooking virtual file system function calls including the vnode name lookup function and the vnode inactive function.
    Type: Application
    Filed: April 20, 2009
    Publication date: September 19, 2013
    Inventors: Suman Saraf, Sharad Agrawal, Vivek Srivastava
  • Patent number: 8539504
    Abstract: A method, system, and computer program product for managing a heterogeneous connection pooling structure. The heterogeneous architecture of pooling management comprises connections having different connection attributes (i.e. different data source properties) that can share a same connection pool (i.e. same connection pool data source). An application requests a connection from data source having a specified data source property. An application server searches a pool module for an available cached connection. If a cached connection is available, the cached connection is automatically selected as a returned connection. A connection reuse protocol and a statement reuse protocol is determined and invoked to reconfigure the cached connection for reuse as a connection between the application and a database server.
    Type: Grant
    Filed: August 30, 2007
    Date of Patent: September 17, 2013
    Assignee: International Business Machines Corporation
    Inventors: Sigitas Bigelis, Sherry Guo, Bilung Lee, Paul A. Ostler
  • Patent number: 8538954
    Abstract: Systems and apparatuses are provided for a distributed aggregate user defined function processing system. A non-transitory computer readable medium stores instructions for a query compiler to identify a call to a distributed aggregate user defined function within a query of the distributed analytical data processing system, retrieve metadata associated with the distributed aggregate user defined function, and validate and resolve respective inputs and outputs of a plurality of function partitions associated with the distributed aggregate user defined function according to the retrieved metadata. A distributed processing engine includes a plurality of processing nodes to execute the plurality of function partitions and organize data flow from the plurality of function partitions to produce an output for the distributed aggregate user defined function.
    Type: Grant
    Filed: February 1, 2012
    Date of Patent: September 17, 2013
    Assignee: Hewlett-Packard Development Company, L.P.
    Inventors: Muthian George, Song Wang, Ahmed K Ezzat
  • Patent number: 8533182
    Abstract: Apparatuses, systems, and methods for efficient graph pattern matching and querying are disclosed. According to an aspect, a method includes providing a graph comprising vertices and edges associated with the vertices. Further, the method includes sending one or more first activation messages to a first set of the vertices, wherein each of the first activation messages has a value. The method also includes determining, at each vertex of the first set of vertices, whether the values of the one or more first activation messages received at the vertex meets a query condition. Further, the method also includes sending, at each vertex of the first set of vertices, one or more second activation messages from the vertex to a second set of vertices in response to determining that the values of the one or more first activation messages received at the vertex meets the query condition.
    Type: Grant
    Filed: May 31, 2012
    Date of Patent: September 10, 2013
    Inventor: David P. Charboneau
  • Patent number: 8533181
    Abstract: Systems, methods, and other embodiments associated with query pruning via query rewrite are described. One example method includes receiving a query on a partitioned table that will result in a first query plan that includes accessing a local domain index on each partition in the database. The query is rewritten to generate a second query that will result in a second query plan that includes accessing a global domain index instead of the local domain index on each partition in the database.
    Type: Grant
    Filed: April 29, 2009
    Date of Patent: September 10, 2013
    Assignee: Oracle International Corporation
    Inventors: Ying Hu, Seema Sundara, Siva Ravada
  • Patent number: 8527500
    Abstract: A document preprocessor preprocess a document to enhance the statistical features of the document. The system preprocesses the document by matching a prefix and a trailing context in the document with one or more matching prefixes in a transformation database, where the prefix is a first string of one or more tokens in the first document and the trailing context is a second string of one or more tokens in the first document that trail the prefix. Alternatively, the system preprocesses the document by computing cyclic permutations of the document, sorting these permutations and taking the last token from each of the sorted permutations.
    Type: Grant
    Filed: February 27, 2009
    Date of Patent: September 3, 2013
    Assignee: Red Hat, Inc.
    Inventor: James Paul Schneider
  • Patent number: 8527458
    Abstract: Techniques for logging data pertaining to the operation of a data stream processing server. In one set of embodiments, logging configuration information can be received specifying a functional area of a data stream processing server to be logged. Based on the logging configuration information, logging can be dynamically enabled for objects associated with the functional area that are instantiated by the data stream processing server, and logging can be dynamically disabled for objects associated with the functional area that are discarded (or no longer used) by the data stream processing server. In another set of embodiments, a tool can be provided for visualizing the data logged by the data stream processing server.
    Type: Grant
    Filed: August 3, 2009
    Date of Patent: September 3, 2013
    Assignee: Oracle International Corporation
    Inventors: Hoyong Park, Parul Jain, Namit Jain, Anand Srinivasan, Shailendra Mishra
  • Patent number: 8515944
    Abstract: The present invention relates to a sensor network managing apparatus and a method thereof. The sensor network managing apparatus according to the present invention receives a query that includes a spatial join predicate for searching for target sensor nodes and a comparison predicate that is different for each sensor network, and generates query execution order information for searching for the target sensor nodes based on the spatial join predicate and the comparison predicate, wherein the spatial join predicate is related to a spatial location between sensor nodes respectively included in different sensor networks, and the comparison predicate are related to sensing values of sensor nodes of the sensor networks. In addition, the sensor node managing apparatus executes queries for the spatial join predicate and the comparison predicate on the plurality of sensor nodes on the basis of determined query execution order, and then extracts target sensor nodes as the query results.
    Type: Grant
    Filed: August 21, 2008
    Date of Patent: August 20, 2013
    Assignee: Electronics and Telecommunications Research Institute
    Inventors: Min Soo Kim, Chung-ho Lee, Yong Joon Lee, Jong-Hyun Park
  • Patent number: 8516488
    Abstract: A database system includes an optimizer to generate resource estimates regarding execution of a request in the database system, and a regulator to monitor progress of execution of the request (and in some examples every step of the request), and to adjust the resource estimates based on the monitored progress. The regulator also adjusts a priority setting of the request according to the adjusted resource estimates.
    Type: Grant
    Filed: November 9, 2010
    Date of Patent: August 20, 2013
    Assignee: Teradata US, Inc.
    Inventors: Douglas P. Brown, Anita Richards
  • Publication number: 20130212086
    Abstract: A computer-implemented method, apparatus and article of manufacture for optimizing a database query. Resource usage of one or more resources of the computer system are monitored. A condition code representative of the monitored resource usage is stored. A cost model is modified using the stored condition code. A query execution plan is generated for the database query using the modified cost model. The query execution plan is then executed in order to retrieve data from a database stored on the computer system, wherein the retrieved data is presented to a user for subsequent use and analysis.
    Type: Application
    Filed: March 28, 2013
    Publication date: August 15, 2013
    Applicant: Taradata Corporation
    Inventor: Taradata Corporation
  • Publication number: 20130212085
    Abstract: A system, computer-implemented method, and computer-program product embodiments for generating an access plan. A query optimizer includes an enumeration method which enumerates a plurality of subsets of a query. Each subset in the query has a plurality of partitions. The partitions of each subset are enumerated into enumerated partitions using at least one thread. For each partition, physical access plans are generated, using at least one thread. Physical access plans are generated in parallel with other physical access plans of different partitions and with other enumerating partitions. The number of threads that perform the enumeration and the generation is dynamically adapted according to a pool of threads available during the enumeration of the partitions and the generation of physical access plans, and a complexity of the query. From the generated physical access plans, a final access plan for the query is determined by choosing the most efficient access plan.
    Type: Application
    Filed: February 9, 2012
    Publication date: August 15, 2013
    Applicant: iAnywhere Solutions, Inc.
    Inventors: Anisoara NICA, Ian Lorne Charlesworth