- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: moving oracle database
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2001 04:12 PM
тАО05-31-2001 04:12 PM
moving oracle database
/u02/oradata. Is there an easy way to do it without having to reinstall??
Need help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2001 04:52 PM
тАО05-31-2001 04:52 PM
Re: moving oracle database
1. I'll assume you used standard UNIX file system, and not raw lvm as oracle would recommend. If this is the case, you may be able to....
2. If you did use a raw lv, then you will have to dump the database (cold backup) and then recover from the cold backup afterwards...
3. If your not too worried about performance, you can simply move the old stuff, and link it to the current location.
I.E (home dirs)
mv /home /nfsdata1/home
ln -s /nfsdata1/home /home
Since I have never done this, I can not tell you what to expect from performance.
4. Move the data, and hand modify all of the references in the oracle configs to the new location...This could be a nightmare...
For all intents and purposes, the best bet is to dump the database, and then install oracle clean..then import the database. Trying to shortcut this may leave you crippled on a system which is built to perform!
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2001 11:24 PM
тАО05-31-2001 11:24 PM
Re: moving oracle database
- shutdown the instance,
- move control files to new location,
- edit init
- copy datafiles to new location,
- startup mount the instance,
- enter commands "alter tablespace xxx rename datafile yyy to zzz" command for each datafile,
- purge old datafiles.
Check the exact syntax in your oracle manual.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2001 12:10 AM
тАО06-01-2001 12:10 AM
Re: moving oracle database
though, I tend to bring up the database in mount then check the views
v$datafile - name field for tablespaces
v$logfile - member field for redo logfiles
use the syntax :
alter database rename file 'old file' to 'new file';
for all of the above
and then startup mount. (You could use spool to create script if there are a large number of files.)
Afterwards its a good idea to backup your control file to trace to ensure that you cope with any problems in their new layout. (alter database backup control file to trace; look in background dump location for trace file)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2001 12:14 AM
тАО06-01-2001 12:14 AM
Re: moving oracle database
Doh!!!