Sql-server – Finding oracle physical database files

oraclesql-server-2008

I'm using oracle 11g and I need to find the database files to copied to another server. The database was created from migrating from SQL Server 2008 to 11g. There doesn't seem to be a counterpart for sql server's mdf/ldf files.

I read that there are dbf's/ctl's instead but I'm not sure which one is what I need. Also there aren't any files named after the database user that owns the database (after migration, it's the user that has the database) which leaves me puzzled.

I need to know which files are needed so I can copy the oracle database to another remote oracle server easily.

Best Answer

An Oracle database uses two basic kinds of disk files - .dbf (data) and .ctl (control) files. You can also have .idx files (for indices). In most environments I've been in, these are located in /u01, /u02, /u03, and on, for however many /u0X's your DBAs had created.

On the other hand, many Oracle installations don't use filesystem files, they use raw disk and ASM storage. If this is the case, you won't ever find any .mdf file analogues. If you look at a process listing when the database is up and you see oracle processes with the string "ASM" in the process name, stop looking for disk files because they're not there.