Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where do I see the value of Maxdatafiles 2

Status
Not open for further replies.

Rmcta

Technical User
Nov 1, 2002
478
0
0
US
Which view can I use to see the value set for Maxdatafiles. maxlogmembers, maxloghistory and maxinstances?
 
These are static parameters at the time of database creation. The way I normally find out about these parameters is to do a command (which I gave to your question in another thread) as follows:

Code:
sys@TEST.WORLD> alter database backup controlfile to trace;

Database altered.

sys@TEST.WORLD> !ls -t /u001/oracle/admin/TEST/udump|head -1
test_ora_1197.trc

sys@TEST.WORLD> !cat /u001/oracle/admin/TEST/udump/test_ora_1197.trc|egrep -i 'max'
# LOG_ARCHIVE_MAX_PROCESSES=2
# LOG_ARCHIVE_DEST_1='NOMAX_FAILURE NOQUOTA_SIZE NOQUOTA_USED'
--  SET STANDBY TO MAXIMIZE PERFORMANCE
    MAXLOGFILES 50
    MAXLOGMEMBERS 5
    MAXDATAFILES 100
    MAXINSTANCES 1
    MAXLOGHISTORY 226
     SIZE 41943040  REUSE AUTOEXTEND ON NEXT 655360  MAXSIZE 32767M;
     SIZE 104857600  REUSE AUTOEXTEND ON NEXT 104857600  MAXSIZE 32767M;
--  SET STANDBY TO MAXIMIZE PERFORMANCE
    MAXLOGFILES 50
    MAXLOGMEMBERS 5
    MAXDATAFILES 100
    MAXINSTANCES 1
    MAXLOGHISTORY 226
     SIZE 41943040  REUSE AUTOEXTEND ON NEXT 655360  MAXSIZE 32767M;
     SIZE 104857600  REUSE AUTOEXTEND ON NEXT 104857600  MAXSIZE 32767M;

No hassle.

 
GOT IT! Thank you so much [2thumbsup]
 
That is the best example of a command line utility within Oracle I have seen for a long time as long as I remember the directory path!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top