Solved

How to Change Oracle Mount point on Linux serever

Posted on 2011-09-13
3
358 Views
Last Modified: 2013-12-19
Hi this is production server. Due recent increase of space usage, A new mount point /oracle/oradata2 have been created with 600GB on server ***dbprod.

"If Addtional space is required, please use the new mount point, the data files should be under /oracle/oradata2/prod. Please make sure the filenames are unique within the tablespaces. The original mount point /oracle is at 97%, we should not adding or expending any datafile there whenever possible. "

Please give me steps in brief to do this activity.

0
Comment
Question by:udayveera123
  • 2
3 Comments
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 36535679
Look for what data files are allowed to autoextend in the current filesystem:
select file_name,file_id,autoextensible from dba_data_files;

then disable them.

from:
http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/dfiles003.htm

The next example disables the automatic extension for the datafile.
 ALTER DATABASE DATAFILE '/u02/oracle/rbdb1/users03.dbf'
    AUTOEXTEND OFF;


then you should probably alter the tablespaces and create autoextending datafiles on the new filesystem.

Same doc should have the syntax.


I suppose you could also just MOVE some of the datafiles to the new filesystem.
0
 

Author Comment

by:udayveera123
ID: 36558396
Actually its Production DB, and current mount point is filled up to capacity, so i have to move it to new mount point. I am not able to extend datafiles due to lack of space.

so please guide me for the steps what should i have to follow.

Is there requirement of down time while doing this activity?
0
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 36560189
>>so please guide me for the steps what should i have to follow.

I thought I had.

>>Is there requirement of down time while doing this activity?

Minimal if you move some of the old data files to the new mount point.

If you just disable autoextend on the old files and add new datafiles to the existing tablespaces there is no downtime.

The link I posted above also shows the command:
ALTER TABLESPACE users
    ADD DATAFILE ...

What additional parameters you need to add are based on your configuration.  We really cannot say the exact ones you need to set or what their values should be.

Do you have a Senior DBA or someone that can assist you with this?
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
execute immediate plsql block 5 57
what privileges needed for S2 for this function (Oracle 12c)? 3 22
date show only hh:mm 2 25
UTL_FILE invalid file operation 5 24
This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question