DBFS
DBFS
DBFS
1298817.1)
3- GRANT CREATE SESSION, RESOURCE, CREATE TABLE, CREATE VIEW, CREATE PROCEDURE,
DBFS_ROLE TO c##dbfs_user;
(if you create common user and grant it default tablespace at the time of
creation then also create that tablespace in all pdbs
or else you will face error while opeing a PDB because default for common
user creation is CONTAINER=ALL
so PDB will face Sync Failure Error)
4- cd $ORACLE_HOME/rdbms/admin
5- conn c##dbfs_user/dbfs_user
OR
8- The FUSE software can be installed manually, from the OEL media or via
Oracle's public yum server
rpm -qa|grep fuse
rpm -qa|grep fuse-libs
9- First, check to see if the "kernel-devel" package is installed.
rpm -q kernel-devel
10- connect with root user
create a mount point with the necessary privileges as the "root" user.
mkdir /u02/oracle
chown oracle:dba /u02/oracle
11- Add a new library path and create symbolic links to the necessary libraries
in the directory pointed to by the new library path. Depending on your
installation the "libfuse.so.2" library may be in an alternative
location.
# 11gR2
# 12cR2
# 19c
12- reboot
# mount_max = 1000
user_allow_other
alter
16- Edit the file "/etc/abrt/abrt-action-save-package-data.conf" setting the
following parameter.
ProcessUnpackaged = yes
## If you mount DBFS with all below options you wont't be able to to install
OGG software and run ./ggsci. SO user below 18# option to mount
dbfs_client c##dbfs_user@repgg2 -o
allow_other,direct_io,trace_level=1,trace_file=/tmp/dbfs_client_trace.log /u04/app
(mounting "oracle" file system in /u04/app as we can not directly mount oracle file
system on u04 as it already has ext4 file system)
after mounting you will see oracle file system as "oracle folder" under
/u04/app
===================================================================================
=====
DBFS files are stored in SecureFile. The space usage of SecureFile is divided into
actively used space, unexpired free space, and expired free space based
on retention setting. By default, the RETENTION of the underlying SecureFile that
stores DBFS is set to AUTO, which honors the auto undo retention setting.
This implies when a file is recently deleted, the space occupied by that file is
not going to be available right away.
We have expired bytes which are stored under secured file. When delete the file,
can't use expired immediately.
select table_name,retention_type,retention_value,retention,securefile from dba_lobs
where table_name = 'T_OGG';