Solved

How to Change Oracle Mount point on Linux serever

Posted on 2011-09-13
3
359 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 77

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 77

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
best datatype for oracle table email creation 8 78
Input a SQl, output tables amd columns used in the SQL 19 61
oracle forms question 22 48
UTL_FILE invalid file operation 5 45
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…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

749 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