Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Personal
Personal Files
Files System
System Files
Files
•• Kept
Kept by
by users
users on
on their
their computers,
computers, •• Files
Files that
that make
make aa system
system work
work
usually
usually on
on aa local
local file
file system
system •• e.g.
e.g. OS,
OS, application
application executables
executables
•• e.g.
e.g. draft
draft documents,
documents, downloaded
downloaded •• Often
Often kept
kept on
on filers,
filers, or
or cluster
cluster file
file
files,
files, photos
photos systems.
systems. Owned
Owned by by administrators
administrators
Business
Business Data
Data Files
Files
•• Files
Files managed
managed by
by business
business applications
applications
•• e.g.
e.g. product
product images/manuals,
images/manuals, reports,
reports, contracts
contracts
•• Often
Often kept
kept in
in DB
DB for
for consistency
consistency with
with DB
DB data
data
•• Business
Business critical
critical data
data
DBFS
Business Data Files
Select Contract
from Customers
where Name =
‘Lucas’
DBFS SecureFiles Store
• DBFS also implements stand alone file systems in the database
• Directory information stored in tables
• Files stored in SecureFiles LOBs
• Used for operational application files such as ETL files, reports, etc.
that are not in application tables
• Provides unified data and file backup, DR, management
• Snapshots
• Can create file system snapshots at user selected past point in time
• Uses Flashback Query to create snapshots
• Can be used to recover deleted files or old file versions
DBFS HSM Store
• A DBFS HSM store allows archiving files to tape
• Application migrates older files to HSM store (e.g. old invoices)
• A DBFS Link replaces the LOB, LOB reads on links are transparent
• A LOB can be easily migrated back to the table for updates
• HSM store has disk staging area for storing recently accessed files
• Seldom accessed files are migrated to tape, brought back on reference
DBFS on
RAC
DBFS Linux Client Restrictions
• Oracle Database 11g Release 2 comes with two built-in Store Providers
• DBFS SecureFiles Store, DBFS HSM Store
Building your own “file system”
integrated with your application
• Similar to how databases allow you to create a data model & an
application, you can now build your own file system
• Innovate and create new value by creating a file system interface
Consistent Backup
& Recovery
Application
SQL Files N B ac kup &
RMA
ash ba c k DB
Fl
Consistent Remote
Site Failover
DB & DBFS
Data Guard
Database Machine Shared File System
Load into DB using
Copy files to DBFS External Tables