Claims
- 1. A computer-readable medium having an index, wherein:
said index indexes a table that includes one or more fields; said index is arranged and ordered based on key values associated with at least one of said one or more fields; and said index contains a plurality of index entries, wherein each entry of said index entries: maps to at least one corresponding row in said table, and contains first access control data, this is not reflected in said key values, that defines user access privileges to access said at least one corresponding row.
- 2. The computer-readable medium of claim 1, wherein:
said table contains rows that are associated with nodes in a hierarchy; second access control data defines user access privileges for accessing the rows; and said first access control data reflects said user access privileges defined by said second access control data.
- 3. The computer-readable medium of claim 1, wherein:
said plurality of index entries are associated with nodes in a hierarchy; and wherein said first access control data indicates that one or more users have user access privileges for traversing one or more nodes of said nodes.
- 4. A method used for resolving a path name that has a sequence of path elements, comprising the steps of:
accessing a first entry in an index that corresponds to a particular path element from said sequence of path elements; and determining, based on access control data in the first entry, whether a user may access a first item associated with the particular path element in a particular way.
- 5. The method of claim 4, wherein:
at least one path element follows said particular path element in said sequence; and the steps further include attempting to access an entry in said index that corresponds to said at least one path element only if said user may access said first item in said particular way.
- 6. The method of claim 4, wherein said first item is a row in a table that contains rows the correspond to nodes in a hierarchy.
- 7. The method of claim 4, wherein:
items correspond to nodes in a hierarchy and said first item corresponds to a particular node in the hierarchy; and wherein the step of determining whether a user may access a first item includes determining whether the user is permitted to access any descendant node of the particular node.
- 8. A method of accessing information managed by a database server, comprising the steps of:
receiving at a database server a statement that conforms to a database language supported by the database server, wherein said statement specifies operations that involve a table; wherein said table contains rows that are associated with a hierarchy described by a hierarchical index; wherein said statement does not reference said hierarchical index; and using said hierarchical index to execute said statement.
- 9. The method of claim 8, wherein:
said database statement specifies a DROP operation for said table; and the step of using said hierarchical index includes performing said DROP operation on said hierarchical index.
- 10. The method of claim 8, wherein:
said database statement specifies a TRUNCATE operation for said table; and the step of using said hierarchical index includes performing said TRUNCATE operation on said hierarchical index.
- 11. The method of claim 9, wherein the steps further include generating an execution plan to execute said statement, said execution plan including an operator defining an operation that uses said hierarchical index.
- 12. A computer-readable medium carrying one or more sequences of instructions used for resolving a path name that has a sequence of path elements, wherein execution of the one or more sequences of instructions by one or more processors causes the one or more processors to perform the steps of:
accessing a first entry in an index that corresponds to a particular path element from said sequence of path elements; and determining, based on access control data in the first entry, whether a user may access a first item associated with the particular path element in a particular way.
- 13. The computer-readable medium of claim 12, wherein:
at least one path element follows said particular path element in said sequence; and the steps further include attempting to access an entry in said index that corresponds to said at least one path element only if said user may access said first item in said particular way.
- 14. The computer-readable medium of claim 12, wherein said first item is a row in a table that contains rows the correspond to nodes in a hierarchy.
- 15. The computer-readable medium of claim 12, wherein:
items correspond to nodes in a hierarchy and said first item corresponds to a particular node in the hierarchy; and wherein the step of determining whether a user may access a first item includes determining whether the user is permitted to access any descendant node of the particular node.
- 16. A computer-readable medium carrying one or more sequences of instructions used for accessing information managed by a database server, wherein execution of the one or more sequences of instructions by one or more processors causes the one or more processors to perform the steps of:
receiving at a database server a statement that conforms to a database language supported by the database server, wherein said statement specifies operations that involve a table; wherein said table contains rows that are associated with a hierarchy described by a hierarchical index; wherein said statement does not reference said hierarchical index; and using said hierarchical index to execute said statement.
- 17. The computer-readable medium of claim 16, wherein:
said database statement specifies a DROP operation for said table; and the step of using said hierarchical index includes performing said DROP operation on said hierarchical index.
- 18. The computer-readable medium of claim 16, wherein:
said database statement specifies a TRUNCATE operation for said table; and the step of using said hierarchical index includes performing said TRUNCATE operation on said hierarchical index.
- 19. The computer-readable medium of claim 17, wherein the steps further include generating an execution plan to execute said statement, said execution plan including an operator defining an operation that uses said hierarchical index.
RELATED APPLICATIONS
[0001] The present application is a continuation-in-part application of U.S. patent application Ser. No. 10/171,728, (Attorney Docket No. 50277-1985) filed by Eric Sedlar on May 28, 2002 and entitled “Maintenance of Hierarchical Index in a Relational System,” the contents of which are hereby incorporated by reference in their entirety;
[0002] The present application is a continuation-in-part application of U.S. patent application Ser. No. 09/251,757, U.S. Pat. No. 6,427, 123 (Attorney Docket No. 0288) filed by Eric Sedlar on Feb. 18, 1999 and entitled Hierarchical Indexing for Accessing Hierarchically Organized Information in a Relational System, the contents of which are hereby incorporated by reference in their entirety, and which is co-pending with U.S. patent application Ser. No. 10/171,728 referenced above;
[0003] The present application claims priority from U.S. Provisional Patent Application No. 60/326,052, filed on Sep. 28, 2001, entitled File Based Access Provided With a Database System, by Eric Sedlar and Viswanathan Krishnamurthy;
[0004] The present application claims priority from U.S. Provisional Patent Application No. 60/378,800, filed on May 7, 2002, entitled SQL Access to Data that Provides a File System Abstraction, by Nipun Agarwal, Ravi Murthy, Eric Sedlar, Sivasankaran Chandrasekar, Fei Ge, Syam Pannala, Neema Jalali and Muralidhar Krishnaprasad.
[0005] The present application is also related to the following U.S. patent applications, the entire contents of which are incorporated herein by reference for all purposes:
[0006] U.S. patent application Ser No.______, filed on equal day herewith, entitled OPERATORS FOR ACCESSING HIERARCHICAL DATA IN A RELATIONAL SYSTEM, by Nipun Agarwal, Ravi Murthy, Eric Sedlar, Sivasankaran Chandrasekar and Fei Ge (Attorney Docket No. 50277-1975);
[0007] U.S. patent application Ser. No.______, filed on equal day herewith, entitled PROVIDING A CONSISTENT HIERARCHICAL ABSTRACTION OF RELATIONAL DATA, by Nipun Agarwal, Eric Sedlar, Ravi Murthy and Namit Jain (Attorney Docket No. 50277-1976);
[0008] U.S. patent application Ser. No.______, filed on equal day herewith, entitled MECHANISM FOR MAPPING XML SCHEMAS TO OBJECT-RELATIONAL DATABASE SYSTEMS, by Ravi Murthy, Muralidhar Krishnaprasad, Sivasankaran Chandrasekar, Eric Sedlar, Vishu Krishnamurthy and Nipun Agarwal (Attorney Docket No. 50277-1977);
[0009] U.S. patent application Ser. No.______, filed on equal day herewith, entitled INDEXING TO EFFICIENTLY MANAGE VERSIONED DATA IN A DATABASE SYSTEM, by Nipun Agarwal, Eric Sedlar and Ravi Murthy (Attorney Docket No. 50277-1978);
[0010] U.S. patent application Ser. No.______, filed on equal day herewith, entitled MECHANISMS FOR STORING CONTENT AND PROPERTIES OF HIERARCHICALLY ORGANIZED RESOURCES, by Ravi Murthy, Eric Sedlar, Nipun Agarwal, and Neema Jalali (Attorney Docket No. 50277-1979);
[0011] U.S. patent application Ser. No.______, filed on equal day herewith, entitled MECHANISM FOR UNIFORM ACCESS CONTROL IN A DATABASE SYSTEM, by Ravi Murthy, Eric Sedlar, Nipun Agarwal, Sam Idicula, and Nicolas Montoya (Attorney Docket No. 50277-1980);
[0012] U.S. patent application Ser. No.______, filed on equal day herewith, entitled LOADABLE UNITS FOR LAZY MANIFESTATION OF XML DOCUMENTS by Syam Pannala, Eric Sedlar, Bhushan Khaladkar, Ravi Murthy, Sivasankaran Chandrasekar, and Nipun Agarwal (Attorney Docket No. 50277-1981).
Provisional Applications (2)
|
Number |
Date |
Country |
|
60326052 |
Sep 2001 |
US |
|
60378800 |
May 2002 |
US |
Continuation in Parts (2)
|
Number |
Date |
Country |
Parent |
10171728 |
May 2002 |
US |
Child |
10260381 |
Sep 2002 |
US |
Parent |
09251757 |
Feb 1999 |
US |
Child |
10260381 |
Sep 2002 |
US |