Oracle DBMS_DBFS_SFS_ADMIN
Version 26ai

General Information
Library Note Morgan's Library Page Header
The best Oracle News for FY2026

Oracle Database 26ai is now availble. If you haven't you downloaded already: Why?
Purpose This package defines provider-specific administrative operations for the POSIX filesystems managed by "dbms_dbfs_sfs".
AUTHID DEFINER
Dependencies SELECT name FROM dba_dependencies WHERE referenced_name = 'DBMS_DBFS_SFS_ADMIN' UNION
SELECT referenced_name FROM dba_dependencies WHERE name = 'DBMS_DBFS_SFS_ADMIN'
ORDER BY 1;


Returns 45 objects
Data Types TYPE collection_store_name IS TABLE OF VARCHAR2(512) INDEX BY PLS_INTEGER;
Documented No
Exceptions
Error Code Reason
ORA-00054 Resource busy and acquire with NOWAIT
First Available 11.2
Security Model Owned by SYS with EXECUTE granted to the DBFS_ROLE and OGG_APPLY_PROCREP roles.
Source {ORACLE_HOME}/rdbms/admin/dbmsfspi.sql
Subprograms
 
AUTOCLEAN
Undocumented but related to Bug 27487497 dbms_dbfs_sfs_admin.autoClean(
suid       IN            VARCHAR2,
store_name IN            VARCHAR2,
sname         OUT NOCOPY VARCHAR2,
tname         OUT NOCOPY VARCHAR2)
RETURN BOOLEAN;
TBD
 
CREATEFILESYSTEM
Helper function for repository creation (only for use with dbms_dbfs_sfs.createFilesystem). Creates a POSIX filesystem repository dbms_dbfs_sfs_admin.createFileSystem(
tabid       IN NUMBER,
schema_name IN VARCHAR2, -- owner
suid        IN VARCHAR2,
tbl_name    IN VARCHAR2, -- table name
ptbl_name   IN VARCHAR2, -- properties table name or NULL
version     IN VARCHAR2,
properties  IN dbms_content_properties_t DEFAULT NULL);
TBD
 
CREATEFILESYSTEM_LOG
Undocumented: Internal dbms_dbfs_sfs_admin.createFilesystem_log(
tabid       IN NUMBER,
schema_name IN VARCHAR2,
tbl_name    IN VARCHAR2,
ptbl_name   IN VARCHAR2,
version     IN VARCHAR2,
properties  IN dbms_dbfs_content_properties_t,
suid        IN VARCHAR2,
ctime       IN TIMESTAMP);
TBD
 
CREATESNAPSHOT
Helper functions for snapshot operations meant to be invoked only from dbms_dbfs_sfs dbms_dbfs_sfs_admin.createSnapshot(
store_name IN VARCHAR2,
snap_name  IN VARCHAR2,
vol_name   IN VARCHAR2 DEFAULT 'main');
TBD
 
DEFAULTTABLESPACE
Helper function for repository creation (only for use with dbms_dbfs_sfs.createFilesystem) dbms_dbfs_sfs_admin.defaultTablespace(uname IN VARCHAR2) RETURN VARCHAR2;
SELECT dbms_dbfs_sfs_admin.defaultTablespace('POSIX_FS_TBS');

DBFS_DBFS_SFS_ADMIN.DEFAULTTABLESPACE('POSIX_FS_TBS')
-----------------------------------------------------
 
 
DELETE_ORPHANS
Delete orphaned filesystem/table entries dbms_dbfs_sfs_admin.delete_Orphans(suid IN VARCHAR2);
TBD
 
DELETE_ORPHANS_LOG
Undocumented: Internal Use Only dbms_dbfs_sfs_admin.delete_orphans_log(
suid  IN VARCHAR2,
ctime IN TIMESTAMP);
TBD
 
DROPFILESYSTEM
Remove a POSIX filesystem table from the list of known POSIX filesystem tables dbms_dbfs_sfs_admin.dropFileSystem(
schema_name IN VARCHAR2,
tbl_name    IN VARCHAR2,
suid        IN VARCHAR2);
TBD
 
DROPFILESYSTEM_LOG
Undocumented: Internal Use Only dbms_dbfs_sfs_admin.dropFilesystem_log(
schema_name IN VARCHAR2,
tbl_name    IN VARCHAR2,
suid        IN VARCHAR2,
ctime       IN TIMESTAMP);
TBD
 
DROPSNAPSHOT
Helper functions for snapshot operations meant to be invoked only from dbms_dbfs_sfs dbms_dbfs_sfs_admin.defaultSnapshot(
store_name IN VARCHAR2,
snap_name  IN VARCHAR2,
vol_name   IN VARCHAR2 DEFAULT 'main');
TBD
 
DROP_ALL_TABLES
Drop all POSIX file system tables dbms_dbfs_sfs_admin.drop_all_tables;
exec dbms_dbfs_sfs_admin.drop_all_tables;

PL/SQ procedure successfully completed.
 
EXIMREGISTERALL
A one-time action to register the SFS entities with the procedural action infrastructure dbms_dbfs_sfs_admin.eximRegisterAll;
exec dbms_dbfs_sfs_admin.eximRegisterAll;

PL/SQ procedure successfully completed.
 
EXIM_ATTRV
Export/mport internal helper function dbms_dbfs_sfs_admin.exim_attrv(
tabid IN NUMBER,
attrv IN VARCHAR2,
asof  IN NUMBER,
vol#  IN NUMBER,
goff  IN NUMBER);
TBD
 
EXIM_FS
Export/mport internal helper function dbms_dbfs_sfs_admin.eximFS(
tabid       IN NUMBER,
store_owner IN VARCHAR2,
store_name  IN VARCHAR2,
volid       IN NUMBER,
snap#       IN VARCHAR2,
created     IN NUMBER);
TBD
 
EXIM_GRANTS
Export/mport internal helper function dbms_dbfs_sfs_admin.exim_grants(tabid IN NUMBER);
exec dbms_dbfs_sfs_admin.exim_grants(10);

PL/SQ procedure successfully completed.
 
EXIM_SEQ
Export/mport internal helper function dbms_dbfs_sfs_admin.exim_seq(newval IN NUMBER);
exec dbms_dbfs_sfs_admin.exim_seq(10);

PL/SQ procedure successfully completed.
 
EXIM_SNAP
Export/mport internal helper function dbms_dbfs_sfs_admin.exim_snap(
tabid    IN NUMBER,
volid    IN NUMBER,
snap#    IN VARCHAR2,
snapname IN VARCHAR2,
created  IN NUMBER,
deleted  IN NUMBER);
TBD
 
EXIM_TAB
Export/mport internal helper function dbms_dbfs_sfs_admin.exim_tab(
tabid       OUT NUMBER,
schema_name IN  VARCHAR2,
table_name  IN  VARCHAR2,
ptable_name IN  VARCHAR2,
version#    IN  VARCHAR2,
created     IN  NUMBER,
formatted   IN  NUMBER);
TBD
 
EXIM_TABP
Export/mport internal helper function dbms_dbfs_sfs_admin.exim_tabp(
tabid     IN NUMBER,
propname  IN VARCHAR2,
propvalue IN VARCHAR2,
typecode  IN NUMBER);
TBD
 
EXIM_TAB_LOG
Undocumented: Internal dbms_dbfs_sfs_admin.exim_tab_log(
tabid       IN NUMBER,
schema_name IN VARCHAR2,
table_name  IN VARCHAR2,
ptable_name IN VARCHAR2,
version#    IN VARCHAR2,
created     IN NUMBER,
formatted   IN NUMBER);
TBD
 
EXIM_VOL
Export/mport internal helper function dbms_dbfs_sfs_admin.exim_vol(
tabid   IN NUMBER,
volid   IN NUMBER,
volname IN VARCHAR2,
created IN NUMBER,
csnap#  IN NUMBER,
dvolid  IN NUMBER,
dsnap#  IN NUMBER,
deleted IN NUMBER);
TBD
 
GETSTOREID
Helper function for looking up a repository id (only for use with dbms_dbfs_sfs.getStoreId) dbms_dbfs_sfs_admin.getStoreId(
schema_name IN VARCHAR2,
tbl_name    IN VARCHAR2)
RETURN NUMBER;
TBD
 
GET_PARAM
Undocumented dbms_dbfs_sfs_admin.get_param(name IN VARCHAR2) RETURN BOOLEAN;
TBD
 
INITFILESYSTEM
Initialize a POSIX store. This is a helper function for store initialization (only for use with dbms_dbfs_sfs.initFS) dbms_dbfs_sfs_admin.initFileSystem(
schema_name IN VARCHAR2,
tbl_name    IN VARCHAR2,
suid        IN VARCHAR2);
TBD
 
INITFILESYSTEM_LOG
Undocumented: Internal dbms_dbfs_sfs_admin.initFilesystem_log(
schema_name IN VARCHAR2,
tbl_name    IN VARCHAR2,
suid        IN VARCHAR2,
ctime       IN TIMESTAMP);
TBD
 
INITFS_UNREG_STORE_NAMES
A helper function to collect all the store names and send to the caller function to unregister them rather than calling unregisterStore from a sys definer procedure (fix for bug 27487497) dbms_dbfs_sfs_admin.initFS_unReg_store_names(
schema_name IN VARCHAR2,
tbl_name    IN VARCHAR2)
RETURN collection_store_name;
TBD
 
INSTANCE_INFO_EXP
DBFS export/import procedural actions. For internal use only. dbms_dbfs_sfs_admin.instance_info_exp(
name      IN  VARCHAR2,
schema    IN  VARCHAR2,
prepost   IN  PLS_INTEGER,
isdba     IN  PLS_INTEGER,
version   IN  VARCHAR2,
new_block OUT PLS_INTEGER)
RETURN VARCHAR2;
TBD
 
ISAPPLY
Undocumented but related to Bug 27487497 dbms_dbfs_sfs_admin.isApply RETURN BOOLEAN;
BEGIN
  IF dbms_dbfs_sfs_admin.isApply THEN
    dbms_output.put_line('T');
  ELSE
    dbms_output.put_line('F');
  END IF;
END;
/
F

PL/SQ procedure successfully completed.
 
LOBUSAGE
Helper function for space usage queries (only for use with dbms_dbfs_sfs.shrinkFS) dbms_dbfs_sfs_admin.lobUsage(
schema_name IN  VARCHAR2,
tbl_name    IN  VARCHAR2,
part_name   IN  VARCHAR2 DEFAULT NULL,
nbytes      OUT INTEGER);
TBD
 
NEWID
DBFS export/import support helper function dbms_dbfs_sfs_admin.newID RETURN NUMBER;
SELECT dbms_dbfs_sfs_admin.newID;

 NEWID
------
    11
 
NEWIDAUX
DBFS export/import support helper function dbms_dbfs_sfs_admin.newIDAux(id OUT NUMBER);
TBD
 
ORPHAN_STORE_NAMES
Collects all the orphan stores of a user and sends it to the calling function to ensure that the unregisterStore call is made by an invoker rights procedure. (fix for bug 27487497) dbms_dbfs_sfs_admin.orphan_store_names(suid IN VARCHAR2) RETURN collection_store_name;
TBD
 
PARTITION_SEQUENCE
Partition the SFS sequence# generator for distributed multi-master environments dbms_dbfs_sfs_admin.partition_sequence(
nodes    IN NUMBER,
myid     IN NUMBER,
newstart IN NUMBER DEFAULT NULL);
TBD
 
PARTITION_SEQUENCE_LOG
Undocumented: Internal Use Only dbms_dbfs_sfs_admin.partition_sequence_log(
nodes    IN NUMBER,
myid     IN NUMBER,
newstart IN NUMBER);
TBD
 
RECACHE_SEQUENCE
Adjust the SFS sequence# cache to allow for higher concurrency and file ingest throughput. The default cache size is 20 dbms_dbfs_sfs_admin.recache_sequence(newcache IN NUMBER DEFAULT 8192);
exec dbms_dbfs_sfs_admin.recache_sequence(1024);

PL/SQ procedure successfully completed.
 
RECACHE_SEQUENCE_LOG
Undocumented: Internal dbms_dbfs_sfs_admin.recache_sequence_log(newcache IN NUMBER);
exec dbms_dbfs_sfs_admin.recache_sequence_log(100);

PL/SQ procedure successfully completed.
 
REGISTERFILESYSTEM
Registers an already created POSIX filesystem (dbms_posix.createFilesystem) in schema "schema_name", table "tbl_name", as a new repository named "repos_name" dbms_dbfs_sfs_admin.registerFileSystem(
store_name    IN VARCHAR2,
schema_name   IN VARCHAR2,
suid          IN VARCHAR2,
tbl_name      IN VARCHAR2,
volume_name   IN VARCHAR2 DEFAULT 'main',
snapshot_name IN VARCHAR2 DEFAULT NULL);
TBD
 
REGISTERFILESYSTEM_LOG
Undocumented: Internal dbms_dbfs_sfs_admin.registerFilesystem_log(
store_name    IN VARCHAR2,
schema_name   IN VARCHAR2,
tbl_name      IN VARCHAR2,
volume_name   IN VARCHAR2,
snapshot_name IN VARCHAR2,
suid          IN VARCHAR2,
ctime         IN TIMESTAMP);
TBD
 
REVERTSNAPSHOT
Helper functions for snapshot operations meant to be invoked only from dbms_dbfs_sfs dbms_dbfs_sfs_admin.revertSnapshot(
store_name IN VARCHAR2,
snap_name  IN VARCHAR2,
vol_name   IN VARCHAR2 DEFAULT 'main');
TBD
 
SCHEMA_INFO_EXP
DBFS export/import procedural actions. For internal use only. dbms_dbfs_sfs_admin.schema_info_exp(
schema    IN  VARCHAR2,
prepost   IN  PLS_INTEGER,
isdba     IN  PLS_INTEGER,
version   IN  VARCHAR2,
new_block OUT PLS_INTEGER)
RETURN VARCHAR2;
TBD
 
SETFSPROPERTIES
Update the properties of a POSIX store dbms_dbfs_sfs_admin.setFSProperties(
schema_name IN VARCHAR2,
tbl_name    IN VARCHAR2,
properties  IN dbms_dbfs_content_properties_t,
suid        IN VARCHAR2);
TBD
 
SETFSPROPERTIES_LOG
Undocumented: Internal Use Only dbms_dbfs_sfs_admin.setFSProperties_log(
schema_name IN VARCHAR2,
tbl_name    IN VARCHAR2,
properties  IN dbms_dbfs_content_properties_t,
suid        IN VARCHAR2,
ctime       IN TIMESTAMP);
TBD
 
SPACEDEPENDENTS
Helper functions for space usage queries (only for use with dbms_dbfs_sfs.spaceUsage) dbms_dbfs_sfs_admin.spaceDependents(
schema_name IN            VARCHAR2,
tbl_name    IN            VARCHAR2,
potbl_name  IN            VARCHAR2,
dseg        IN OUT NOCOPY dbms_dbfs_sfs.dsegments_t);
TBD
 
SPACEUSAGE
Helper function for space usage queries (only for use with dbms_dbfs_sfs.spaceUsage) dbms_dbfs_sfs_admin.spaceUsage(
tbs         IN OUT NOCOPY dbms_dbfs_content_properties_t,
schema_name IN            VARCHAR2,
tbl_name    IN            VARCHAR2,
blksize        OUT        INTEGER,
tbytes         OUT        INTEGER,
ubytes         OUT        INTEGER,
fbytes         OUT        INTEGER,
do_fast     IN            BOOLEAN DEFAULT FALSE,
useEstimate IN            INTEGER DEFAULT 0);
TBD
 
SYSTEM_INFO_EXP
DBFS export/import procedural actions. For internal use only. dbms_dbfs_sfs_admin.system_info_exp(
prepost       IN         PLS_INTEGER,
connectstring OUT NOCOPY VARCHAR2,
version       IN         VARCHAR2,
new_block     OUT        PLS_INTEGER)
RETURN VARCHAR2;
TBD
 
TBSUSAGE
Calculates total free and used space in a given list of tablespace holds dbms_dbfs_sfs_admin.tbsUsage(
suid IN VARCHAR2,
tbs  IN dbms_dbfs_content_properties_t)
RETURN INTEGER;
TBD
 
TBSUSAGEDBA (new 23ai)
Calculates total free and used space in a given list of tablespace holds dbms_dbfs_sfs_admin.tbsUsageDba(tbs  IN dbms_dbfs_content_properties_t) RETURN INTEGER;
TBD
 
UNREGISTERFILESYSTEM
The repository is removed from the metadata tables, unregistered from the content API, but the underlying filesystem itself is otherwise untouched. dbms_dbfs_sfs_admin.unregisterFileSystem(
store       IN VARCHAR2,
suid        IN VARCHAR2,
store_owner IN VARCHAR2,
force       IN BOOLEAN);
exec dbms_dbfs_sfs_admin.unregisterFileSystem('UWSTORE');
 
UNREGISTERFILESYSTEM_LOG
Undocumented: Internal dbms_dbfs_sfs_admin.unregisterFilesystem_log(
store IN VARCHAR2,
suid  IN VARCHAR2,
ctime IN TIMESTAMP);
TBD

Related Topics
Built-in Functions
Built-in Packages
DBFS_OFS_CONVERSION
DBMS_APBACKEND
DBMS_DBFS_CONTENT
DBMS_DBFS_CONTENT_ADMIN
DBMS_DBFS_CONTENT_SPI
DBMS_DBFS_HS
DBMS_DBFS_SFS
DBMS_SPACE
What's New In 21c
What's New In 26ai

Morgan's Library Page Footer
This site is maintained by Daniel Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2026 Daniel A. Morgan All Rights Reserved