Query Cost Estimation Patents (Class 707/719)
  • Patent number: 7792823
    Abstract: A method, apparatus and program product is provided for optimizing a database query. A query syntax, system generated predicates, and requisite statistics of the database query are analyzed to determine if a predicate structure is a good candidate for a symbol table only data structure. The predicate structure is analyzed to determine if the predicate structure is already encompassed by an encoded vector index. The symbol table only data structure is generated for at least one column in a database table without generating a corresponding vector data structure from an encoded vector index if the predicate structure is a good candidate and not encompassed by an encoded vector index. The symbol table only data structure is maintained by detecting a change in data associated with the symbol table only data structure and updating the symbol table only data structure to reflect the change in the data.
    Type: Grant
    Filed: January 15, 2008
    Date of Patent: September 7, 2010
    Assignee: International Business Machines Corporation
    Inventors: Michael W. Cain, Michael S. Faunce, Wei Hu, Shantan Kethireddy, Andrew Peter Passe, Ulrich Thiemann
  • Patent number: 7792819
    Abstract: The present invention generally relates to data processing, and more specifically to executing a query against a partitioned database. The query may be executed against each partition of a database to retrieve results from each partition. The results from the partitions may be integrated to provide the results of the query. Each partition may take different amounts of time to retrieve results for the query. Embodiments of the invention allow adjusting the execution of the query for faster executing partitions to allow execution of other tasks, thereby increasing query throughput.
    Type: Grant
    Filed: August 31, 2006
    Date of Patent: September 7, 2010
    Assignee: International Business Machines Corporation
    Inventors: Eric L. Barsness, John M. Santosuosso
  • Patent number: 7788256
    Abstract: A distributed index for discovering distributed data sources and computing resources based on predicates on attributes is provided. Proposed is a non-altruistic scheme for indexing distributed data, in which nodes are provided with incentives to cooperate in the referencing of data and the routing of search requests for indexed data. Indexed data is mapped to a dynamic routing graph, in which nodes earn credits each time they route a search request. Participatory nodes along a search request traversal continually modify local routing decisions in a manner necessary to maximize profit. Thus, routing paths as a whole are able to dynamically adapt to changing query workloads and access patterns. Dynamic adaptation also occurs by automatic load-balancing of recipients of frequently routed searches, known as “hot spots”, for frequently request data, “hot items”, as a result of an incentive to replicate the indexing strategy of a more profitable node.
    Type: Grant
    Filed: October 12, 2007
    Date of Patent: August 31, 2010
    Assignee: International Business Machines Corporation
    Inventors: Vijayshankar Raman, Kavitha Ranganathan
  • Publication number: 20100217759
    Abstract: A database restructuring support system that enables a user to flexibly design the structure of a database after a restructure. A storage cost estimate unit 112 calculates storage cost before and after restructure by using catalog information included in a database 122. In the case of calculating the storage cost of the restructure, tuples of a new schema is calculated and the storage cost is calculated by using the tuples. The access cost estimate unit 113 uses the catalog information and the log DB 121 included in the database 122 to calculate each access cost before and after restructure. In the case of calculating the access cost after restructure, the number of types of values of an attribute in the new schema is calculated to calculate the access cost by using the number of types. The integrated cost estimate unit 111 calculates the integrated cost by integrating the access cost and the storage cost.
    Type: Application
    Filed: April 30, 2008
    Publication date: August 26, 2010
    Inventors: Qiang Ma, Yoshihide Ishiguro
  • Publication number: 20100205173
    Abstract: In one implementation, a method is provided for increasing relevance of database search results. The method includes receiving a subject query string and determining a trained edit distance between the subject query string and a candidate string using trained cost factors derived from a training set of labeled query transformations. A trained cost factor includes a conditional probability for mutations in labeled non-relevant query transformations and a conditional probability for mutations in labeled relevant query transformations. The candidate string is evaluated the for selection based on the trained edit distance. In some implementations, the cost factors may take into account the context of a mutation. As such, in some implementations multi-dimensional matrices are utilized which include the trained cost factors.
    Type: Application
    Filed: April 22, 2010
    Publication date: August 12, 2010
    Applicant: YAHOO! INC.
    Inventor: John M. Carnahan
  • Patent number: 7756859
    Abstract: A method and system for searching multi-segment strings is provided. The search system receives a query string containing part or all of the segments that are to be matched as query segments. Upon receiving the query string, the search system compares the query segments provided in the query string with segments gathered from previously stored strings. If any segments match the query segments, the search system selects the strings that contain matching segments as search results.
    Type: Grant
    Filed: December 19, 2005
    Date of Patent: July 13, 2010
    Assignee: Intentional Software Corporation
    Inventor: Charles Simonyi
  • Patent number: 7752220
    Abstract: A system and method for receiving a query and determining candidate alternate queries. A query may be parsed into concepts and then candidates for alternate terms may be determined for either the whole query or the determined concepts. Candidates are scored for their respective similarity to the original query. After scoring, at least one candidate is chosen and may be used as a possible alternate query choice for a user or used to serve bidded advertisements to the user.
    Type: Grant
    Filed: August 10, 2005
    Date of Patent: July 6, 2010
    Assignee: Yahoo! Inc.
    Inventors: Tina Weyand, Rosie Jones, Benjamin Rey
  • Patent number: 7743051
    Abstract: Methods and systems for searching e-mails are disclosed. In one embodiment, a method for searching e-mails includes receiving input indicative of one or more search terms. A query plan is determined based on the one or more search terms. The method includes performing a search in response to the query plan to determine information related to the one or more e-mails. Then, a set of results are generated based on the information related to the one or more e-mails.
    Type: Grant
    Filed: August 14, 2007
    Date of Patent: June 22, 2010
    Assignee: Clearwell Systems, Inc.
    Inventors: Anurag Kashyap, Malay Desai, Venkat Rangan, Gary Lehrman
  • Publication number: 20100153143
    Abstract: A travel planning system that implements seat availability determinations is described. The planning system includes a scheduling process for determining a set of instances of transportation that satisfy a user query and a faring process that determines fares valid for at least some of the instances in the set of instances of transportation. The travel planning system also includes an availability process that uses results from a single source of seat availability for a mode of transportation to determine a set of available instances of transportation and determines whether the results from the single source are reliable.
    Type: Application
    Filed: July 14, 2009
    Publication date: June 17, 2010
    Inventors: David Baggett, Gregory R. Galperin, Carl G. DeMarcken
  • Publication number: 20100153363
    Abstract: An operation management program collects a query status table of a migration-source agent processing program and creates a server status table. The operation management program, based on the server status table, computes a migration cost for each query, and selects the query with the smallest migration cost as a migration query. Then, the operation management program migrates the selected query, using the optimum migration method.
    Type: Application
    Filed: December 4, 2009
    Publication date: June 17, 2010
    Inventors: Naohiro SUZUKI, Naoki Ikawa
  • Patent number: 7739268
    Abstract: Implementations of various technologies for compiling a query. In one implementation, the memory consumption of the query may be monitored. If the amount of memory consumed by the query exceeds one or more gateway thresholds, then the query may be processed to acquire one or more gateways. The query may then be compiled as having acquired the one or more gateways.
    Type: Grant
    Filed: March 29, 2006
    Date of Patent: June 15, 2010
    Assignee: Microsoft Corporation
    Inventors: Conor J. Cunningham, Stanislav A. Oks, Stefano Stefani
  • Publication number: 20100131490
    Abstract: Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for modular query optimizer. In one aspect, a method includes selecting one or more projections from a set of projections for each table in a database query wherein each of the selected projections for the table has leads to an estimated lower execution cost for the query as compared to non-selected projections; generating join orders for the query based on data distribution of one or more of the selected projections among sites in a computer network wherein the join orders reflect different combinations of data distribution operations applied to the output of one or more of the query's joins; and selecting a join order from the join orders based on evaluation of the join orders using a cost model.
    Type: Application
    Filed: November 24, 2009
    Publication date: May 27, 2010
    Inventors: Andrew Lamb, Lakshmikant Shrinivas, Shilpa Lawande, Mitch Cherniack, Nga Tran
  • Patent number: 7725460
    Abstract: There is provided a system to respond to a request for data. The system receives a request for the data, queries at least two data sources for the data based on the request and receives results that include the data that is populated to at least one data object.
    Type: Grant
    Filed: December 8, 2004
    Date of Patent: May 25, 2010
    Assignee: eBay Inc.
    Inventors: Greg Seitz, Christopher J. Kasten
  • Patent number: 7725461
    Abstract: A method, computer program product, and system for managing statistical views in a database system are provided. The method, computer program product, and system provide for collecting data relating to optimization and execution of a workload in the database system and automatically generating a set of one or more statistical views based on the collected optimization and execution data.
    Type: Grant
    Filed: March 14, 2006
    Date of Patent: May 25, 2010
    Assignee: International Business Machines Corporation
    Inventors: Mokhtar Kandil, Alberto Lerner, Volker Gerhard Markl, Daniele Costante Zilio, Calisto Paul Zuzarte
  • Publication number: 20100121839
    Abstract: A new database design is implemented in which everything in the database is modeled with primitives, including the links and nodes for a graph tuple store. A query syntax provides a nested tree of constraints with a single global schema. Various optimization techniques for queries and replication techniques are also described.
    Type: Application
    Filed: January 20, 2010
    Publication date: May 13, 2010
    Inventors: Scott MEYER, Jutta Degener, Barak Michener, John Giannandrea
  • Patent number: 7716214
    Abstract: The embodiments of the invention provide a method, program storage device, etc. for automated and dynamic management of query views for database workloads. More specifically, a method begins by executing queries, which includes accessing a set of data tables for each of the queries. During the executing of the queries, the method accesses a required data table from a cache if the required data table is present in the cache and creates the required data table if the required data table is not present in the cache. The accessing of the required data table from the cache has a lower processing cost than accessing the required data table from a base table. Also during the executing of the queries, created data tables are stored in the cache, wherein one or more of the created data tables are removed from the cache when the cache becomes full.
    Type: Grant
    Filed: March 26, 2008
    Date of Patent: May 11, 2010
    Assignee: International Business Machines Corporation
    Inventors: Wen-Syan Li, Thomas Phan
  • Publication number: 20100114871
    Abstract: Techniques and systems for quantization based nearest neighbor searches can include quantizing a set of candidate points based on one or more characteristics of a query point; generating metric values based on the quantized candidate points, respectively, the metric values being indicative of respective proximities between the query point and the candidate points; and selecting one or more of the candidate points in response to the query point based on the metric values. In some implementations, techniques and systems can compress search metric computation resolution by implementing non-uniform scalar quantization within a metric computation process.
    Type: Application
    Filed: November 2, 2009
    Publication date: May 6, 2010
    Inventors: Hye-Yeon Cheong, Antonio Ortega
  • Publication number: 20100082603
    Abstract: One embodiment is a method to manage queries in a database. The method identifies a query that executes on the database for an elapsed time that is greater than a threshold and then implements a remedial action when the query executes on the database for an execution time that is greater than an estimated execution time.
    Type: Application
    Filed: September 30, 2008
    Publication date: April 1, 2010
    Inventors: Stepan Krompass, Harumi Anne Kuno, Umeshwar Dayal, Janet Wiener, Raja Sambasivan
  • Patent number: 7685194
    Abstract: Fine-grained access control for querying a database with low overhead and safety plans. In a view placement approach, base relations of the query expression are replaced by views that are appropriate for the particular user. Information leakage via UDF pushing, exception processing, and error messages can be prevented by generating safe plans. An existing query optimizer can be modified to perform redundancy removal and safe plan implementation. Subsumption testing available in materialized view matching can be exploited by the query optimizer. Authorization inference is exploited to generate safe plans.
    Type: Grant
    Filed: August 31, 2006
    Date of Patent: March 23, 2010
    Assignee: Microsoft Corporation
    Inventors: Govind Kabra, Ravishankar Ramamurthy, Sundararajarao Sudarshan
  • Patent number: 7676513
    Abstract: While consulting indexes to conduct a search, a determination is made from time to time as to whether it is more efficient to consult individual indexes in a set or to merge the indexes and consult the merged index. The cost of merging indexes is compared with the cost of individually querying indexes. In accordance with the result of this comparison, the indexes are merged and the merged index is consulted, or the indexes are individually consulted. A cost-balance invariant in the form of an inequality is used to equate the cost of merging indexes to a weighted cost of individually querying indexes. As query events are received, the costs are updated. As long as the cost-balance invariant is not violated, indexes are merged and the merged index is queried. If the cost-balance invariant is violated, indexes are not merged, and the indexes are individually queried.
    Type: Grant
    Filed: January 6, 2006
    Date of Patent: March 9, 2010
    Assignee: Microsoft Corporation
    Inventors: Frank D. McSherry, John P. MacCormick
  • Publication number: 20100057796
    Abstract: An index selection mechanism allows for efficient generation of index recommendations for a given workload of a database system. The workload includes a set of queries that are used to access tables in a database system. The index recommendations are validated to verify improved performance, followed by application of the indexes. Graphical user interface screens are provided to receive user input as well as to present reports to the user.
    Type: Application
    Filed: March 2, 2009
    Publication date: March 4, 2010
    Inventors: Douglas P. Brown, Jeetendra Chaware, Manjula Koppuravuri
  • Patent number: 6720649
    Abstract: A semiconductor package with a heat dissipating structure is provided. The heat dissipating structure includes a flat portion, and a plurality of support portions formed at edge corners of the flat portion for supporting the flat portion above a chip mounted on a substrate. The support portions are mounted at predetermined area on the substrate without interfering with arrangement of the chip and bonding wires that electrically connect the chip to the substrate. The support portions are arranged to form a space embraced by adjacent supports and the flat portion, so as to allow the bonding wires to pass through the space to reach area on the substrate outside coverage of the heat dissipating structure; besides, passive components or other electronic components can be mounted on the substrate at area within or outside the coverage of the heat dissipating structure, thereby improving flexibility in component arrangement in the semiconductor package.
    Type: Grant
    Filed: August 2, 2002
    Date of Patent: April 13, 2004
    Assignee: Siliconware Precision Industries Co., Ltd.
    Inventor: Chien-Ping Huang