摘要 |
There is described a method for performing file operations, the method including the steps of exposing a file system interface to applications, the file system interface including routines for saving and retrieving file, receiving, through the file system interface, calls to perform a plurality of file operations, performing the plurality of file operations as a single transaction by performing the steps of, if all file operations of said plurality of file operations are completed without a failure, then making permanent all changes made by the plurality of file operations, if any file operations of the plurality of file operations fail, then undoing all changes made by all of the plurality of file operations, wherein the step of performing the plurality of file operations includes issuing one or more database statements to a database server, the database server executing the one or more database statements to perform said plurality of file operations, wherein the calls are made by a protocol server in response to commands received by the protocol server and wherein the protocol server is a mechanism that translates operating system I/O commands into database file API commands. |