{"pub_number":"US8095515B2","doc_number":"8095515","country":"US","kind_code":"B2","patent_type":"utility","status":"active","title":"Approximating relation sizes using field dependencies","abstract_text":"A method and system is provided for computing an approximation of the number of distinct results of a query over a relational data source. The approximation uses information about dependencies between fields of relations, in particular the number of distinct values of a field for each possible value of another field. This information can be obtained by analysis of the data stored in the relational data source, or may be specified as annotations to a database schema. An approximation of the number of results is and the dependencies between fields of each part of the query are computed. The approximation can be used to reorder parts of a query, by using the estimated size of parts to guide reordering. The approximation can further be used to determine which parts of a query are relevant to the evaluation of a subquery, which can be used to guide the magic sets transformation.","claims":[{"number":1,"text":"A computer-implemented method for approximating a number of results returned by a query over a relational data source, the method comprising: receiving, by an information processing system, a number of distinct values in each field of each relation in a relational data source, wherein the distinct values are a size approximation; receiving, by the information processing system, a plurality of relationships between fields, where a relationship between a first field and at least a second field is a relationship approximation that approximates a number of distinct values stored in the second fiel","independent":true}],"description":"","inventors":[{"name":"Sereni Damien","slug":"sereni-damien","country":"GB"},{"name":"Avgustinov Pavel","slug":"avgustinov-pavel","country":"GB"},{"name":"Moor Oege De","slug":"moor-oege-de","country":"GB"}],"assignees":[{"name":"Sereni Damien","slug":"sereni-damien","country":"GB"},{"name":"Avgustinov Pavel","slug":"avgustinov-pavel","country":"GB"},{"name":"Moor Oege De","slug":"moor-oege-de","country":"GB"},{"name":"Semmle Ltd","slug":"semmle-ltd","country":"GB"}],"examiners":["Trujillo James","Vu Thong"],"cpc_codes":["G06F 16/2425","G06F 16/24535"],"ipc_codes":["G06F 17/30"],"filing_date":"2009-03-18","pub_date":"2012-01-10","grant_date":"2012-01-10","priority_date":"2008-03-19","expiration_date":"2029-03-18","application_number":"US-40661109-A","family_id":"FAM-41089861","family_members":[],"citations_made":[{"pub_number":"US6405046B1","category":"SEA"},{"pub_number":"US6738762B1","category":"SEA"},{"pub_number":"US6850925B2","category":"SEA"},{"pub_number":"US6938038B2","category":"SEA"},{"pub_number":"US7082108B2","category":"SEA"},{"pub_number":"US7254615B2","category":"SEA"},{"pub_number":"US7277873B2","category":"SEA"},{"pub_number":"US2008039129A1","category":"SEA"},{"pub_number":"US7363049B2","category":"SEA"},{"pub_number":"US2008188260A1","category":"SEA"},{"pub_number":"US2009042582A1","category":"SEA"},{"pub_number":"US7529728B2","category":"SEA"},{"pub_number":"US2009175187A1","category":"SEA"},{"pub_number":"US7580941B2","category":"SEA"},{"pub_number":"US2009286566A1","category":"SEA"},{"pub_number":"US2010029282A1","category":"SEA"},{"pub_number":"US2010056061A1","category":"SEA"},{"pub_number":"US2010091725A1","category":"SEA"},{"pub_number":"US2010099449A1","category":"SEA"},{"pub_number":"US2010118719A1","category":"SEA"},{"pub_number":"US7756805B2","category":"SEA"},{"pub_number":"US2010195636A1","category":"SEA"},{"pub_number":"US2010296470A1","category":"SEA"},{"pub_number":"US2010309803A1","category":"SEA"}],"non_patent_literature":[],"drawings_count":0,"source_id":"google_patents_public","upstream_forward_citations":0,"metrics":{"forward_citations":5,"indexed_forward_citations":5,"backward_citations":24,"npl_citations":0,"citations_per_year":0.36,"pagerank":1.13800847530365,"citation_rank":22400968,"pagerank_rank":34875778,"velocity_rank":22202942,"family_citations":5}}