DBFS with flashback archive
First Claim
1. A method comprising:
- accessing a plurality of files stored in a database table through an application programming interface (API) that supports access primitives, said access primitives including creating a file, opening a file, and reading a file,wherein said database table is stored in a database managed by a database server,wherein said files include a particular file;
in response to executing database transactions that make changes to the particular file, storing undo records in an undo tablespace in the database, said undo records recording information usable to undo said changes;
archiving said undo records into a historical data tablespace in the database;
receiving a file operation request to perform on the particular file;
in response to receiving said file operation request;
generating a particular database query that conforms to SQL (“
Structure Query Language”
) to generate a set of version identifiers for the particular file, the particular database query being executable on the historical data tablespace with respect to a point in time in the past, said point in time being specified by a session context variable or as a parameter specified by the particular database query; and
executing the particular database query thereby generating said set of version identifiers of the particular file, each version identifier of said set of version identifiers identifying a respective version of said particular file.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for generating a query for version information on a file stored a database file system that is managed by a database server. When a client on a remote client machine sends a file operation request, the database management system, receives the file operation request and creates a database query for the requested file operation and an additional query for a set of version identifiers that identify the previous versions of the requested file of the requested file operation. The database management system executes the queries and generates a set of version identifiers, where each identifier from the set of version identifiers represents a specific version of the requested file at a particular point in time in the past.
-
Citations
21 Claims
-
1. A method comprising:
-
accessing a plurality of files stored in a database table through an application programming interface (API) that supports access primitives, said access primitives including creating a file, opening a file, and reading a file, wherein said database table is stored in a database managed by a database server, wherein said files include a particular file; in response to executing database transactions that make changes to the particular file, storing undo records in an undo tablespace in the database, said undo records recording information usable to undo said changes; archiving said undo records into a historical data tablespace in the database; receiving a file operation request to perform on the particular file; in response to receiving said file operation request; generating a particular database query that conforms to SQL (“
Structure Query Language”
) to generate a set of version identifiers for the particular file, the particular database query being executable on the historical data tablespace with respect to a point in time in the past, said point in time being specified by a session context variable or as a parameter specified by the particular database query; andexecuting the particular database query thereby generating said set of version identifiers of the particular file, each version identifier of said set of version identifiers identifying a respective version of said particular file. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system, the system comprising:
-
a memory; one or more processors comprising a database management system configured to; accessing a plurality of files stored in a database table through an application programming interface (API) that supports access primitives, said access primitives including creating a file, opening a file, and reading a file, wherein said database table is stored in a database managed by the database management system, wherein said files include a particular file; in response to executing database transactions that make changes to the particular file, storing undo records in an undo tablespace in the database, said undo records recording information usable to undo said changes; archiving said undo records into a historical data tablespace in the database; receiving a file operation request to perform on the particular file; in response to receiving said file operation request; generating a particular database query that conforms to SQL (“
Structure Query Language”
) to generate a set of version identifiers for the particular file, the particular database query being executable on the historical data tablespace with respect to a point in time in the past, said point in time being specified by a session context variable or as a parameter specified by the particular database query; andexecuting the particular database query thereby generating said set of version identifiers of the particular file, each version identifier of said set of version identifiers identifying a respective version of said particular file. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. One or more non-transitory computer-readable storage media storing instructions which, when executed by one or more computing devices, cause performance of a method comprising the steps of:
-
accessing a plurality of files stored in a database table through an application programming interface (API) that supports access primitives, said access primitives including creating a file, opening a file, and reading a file, wherein said database table is stored in a database managed by a database server, wherein said files include a particular file; in response to executing database transactions that make changes to the particular file, storing undo records in an undo tablespace in the database, said undo records recording information usable to undo said changes; archiving said undo records into a historical data tablespace in the database; receiving a file operation request to perform on the particular file; in response to receiving said file operation request; generating a particular database query that conforms to SQL (“
Structure Query Language”
) to generate a set of version identifiers for the particular file, the particular database query being executable on the historical data tablespace with respect to a point in time in the past, said point of time being specified by a session context variable or as a parameter specified by the particular database query; andexecuting the particular database query thereby generating said set of version identifiers of the particular file, each version identifier of said set of version identifiers identifying a respective version of said particular file. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification