×

Optimization of queries on a repository based on constraints on how the data is stored in the repository

  • US 8,793,267 B2
  • Filed: 04/24/2012
  • Issued: 07/29/2014
  • Est. Priority Date: 07/08/2005
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method comprising:

  • storing, within database objects managed by a database system, data files contained in a directory of folders, each folder of said directory of folders containing at least one data file of said data files;

    in said database, storing metadata that defines plurality of constraints, wherein for each folder of said directory of folders, the plurality of constraints includes a physical constraint that specifies that storage of any data file in said each folder is restricted to at least one specified database object of said database objects;

    wherein for at least two of said directory of folders, a first folder includes a first data file that is restricted by a first physical constraint of said plurality of constraints to a first database object specified by said first physical constraint and a second folder includes a second data file that is restricted by a second physical constraint of said plurality of constraints to a second database object specified by said second physical constraint;

    wherein the first database object is different than the second database object;

    receiving, at the database system, a query that complies with a query language;

    in response to receiving said query;

    based on (1) said query and (2) the plurality of constraints defined by the metadata, said database system making a determination of how data required by the query is stored in said database; and

    based on the determination of how data required by the query is stored in said database, rewriting the query to generate a re-written query that specifies a restriction based on said first database object specified by said first physical constraint, wherein the received query did not specify said restriction.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×