Back to results
US 12,001,406 B2Granted
Method and system to implement directory reads for a database file system
AssigneeOracle International Corporation
InventorsMargaret Susairaj, Jose Antonio Lasa Gutierrez, Sumanta Chatterjee
Life of this patent
Estimating the term…
Abstract
Disclosed is an improved approach to access the contents of database file system. The contents of the database file system can be acquired and stored in a directory buffer. A parallel tree structure is used to retrieve directory contents quickly and in a consistent fashion.
Claims25
A method, comprising:
- implementing a database file system (DBFS) where a plurality of files in a file system are stored in a database backend;
- receiving a first file system command to access a directory in the DBFS, the directory having multiple files of the plurality of files in the file system;
- constructing a node tree for the multiple files in the directory in response to the first file system command, wherein the node tree is constructed based on a table for the directory in the database backend having columns that hold metadata associated with the files;
- loading file contents for the files in the directory into a cache in response to the first file system command to access the directory, wherein the node tree references the file contents for the files in the cache;
- receiving a second file system command to access a file of the multiple files in the directory;
- and
- accessing, in response to the second file system command, the previously constructed node tree to identify file contents of the file in the cache based on a reference to the file contents for the file in the node tree.
4 more elements
A system, comprising:
- a processor;
- a memory for storing a set of instructions;
- and
- wherein the a set of instructions, when executed by the processor cause a set of acts, the set of acts comprise:
- implementing a database file system (DBFS) where a plurality of files in a file system are stored in a database backend;
- receiving a first file system command to access a directory in the DBFS, the directory having multiple files of the plurality of files in the file system;
- constructing a node tree for the multiple files in the directory in response to the first file system command, wherein the node tree is constructed based on a table for the directory in the database backend having columns that hold metadata associated with the files;
- loading file contents for the files in the directory into a cache in response to the first file system command to access the directory, wherein the node tree references the file contents for the files in the cache;
- receiving a second file system command to access a file of the multiple files in the directory;
- and accessing, in response to the second file system command, the previously constructed node tree to identify file contents of the file in the cache based on a reference to the file contents for the file in the node tree.
7 more elements
A computer program product embodied on a non-transitory computer readable medium having stored thereon a sequence of instructions which, when executed by a processor, performs:
- implementing a database file system (DBFS) where a plurality of files in a file system are stored in a database backend;
- receiving a first file system command to access a directory in the DBFS, the directory having multiple files of the plurality of files in the file system;
- constructing a node tree for the multiple files in the directory in response to the first file system command, wherein the node tree is constructed based on a table for the directory in the database backend having columns that hold metadata associated with the files;
- loading file contents for the files in the directory into a cache in response to the first file system command to access the directory, wherein the node tree references the file contents for the files in the cache;
- receiving a second file system command to access a file of the multiple files in the directory;
- and
- accessing, in response to the second file system command, the previously constructed node tree to identify file contents of the file in the cache based on a reference to the file contents for the file in the node tree.
4 more elements
Dependencies are inferred from the claim text.