Oracle database data is stored in data files in the specified directory. The location of the data file directory is as follows: Windows: C:\oracle\oradata\ (default) Unix/Linux/u01/app/oracle/oradata/ (default)
Oracle Database Data Storage Directory
Oracle Database stores data in files called data files, which reside in specified directories. The location of the data file directory varies by operating system:
Windows
(default)
value of the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME[n].
Unix/Linux
(Default)
or
spfile file and setting the
DB_CREATE_FILE_DEST parameter.
Note:
Data file naming convention
Oracle data files use the following naming convention:,
system02.dbf, ...: system table space data file
undotbs02.dbf
, ... : Undo table space data files
users02.dbf
, ...: User table space data files
You can use the following SQL query to view the data file directory of the current database:
<code>SELECT name, create_date, bytes, DIRECTORY_PATH FROM sys.dba_data_files;</code>
The above is the detailed content of In which directory is the oracle database data located?. For more information, please follow other related articles on the PHP Chinese website!