Home » RDBMS Server » Server Administration » current value of maxlogmembers
current value of maxlogmembers [message #165332] Wed, 29 March 2006 07:52 Go to next message
k_talino
Messages: 9
Registered: January 2006
Location: Spain
Junior Member
Goodday,
I am looking for a select statement on how to find out, what the current value is of the maxlogmembers in my database.
Re: current value of maxlogmembers [message #165336 is a reply to message #165332] Wed, 29 March 2006 08:09 Go to previous messageGo to next message
kmsalih
Messages: 197
Registered: March 2006
Senior Member
Hi,

I will explain you one way.


Alter database backup controlfile to trace;

Select p.spid "SPID" from v$session s , V$process p where s.paddr=s.paddr and s.sid=(select sid from V$mystat where rownum=1);

Show parameter user_dump_dest;


Record the SPID and go to the directory specified in the initialization parameter user_dump_dest.

Sort the files by date.

On the top you can find a trace file. (That trace filename includes SPID)

In that file you can find the value of maxlogmembers.


Rgds
SALIH KM
Cool
Re: current value of maxlogmembers [message #165339 is a reply to message #165336] Wed, 29 March 2006 08:44 Go to previous messageGo to next message
k_talino
Messages: 9
Registered: January 2006
Location: Spain
Junior Member
yea, but I am looking for a select statement more or less equal:

Select record_total
from v$controlfile_record_section
where type='REDO LOG'

for MAXLOGFILES

but for MAXLOGMEMBERS

thx
Re: current value of maxlogmembers [message #165349 is a reply to message #165339] Wed, 29 March 2006 09:12 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
sys@9i > select dimlm from x$kccdi;

     DIMLM
----------
         3

sys@9i > alter database backup controlfile to trace as '/tmp/mytracefile';

Database altered.

sys@9i > !cat /tmp/mytracefile | grep MAXLOGMEMBERS
    MAXLOGMEMBERS 3
    MAXLOGMEMBERS 3

Re: current value of maxlogmembers [message #165353 is a reply to message #165349] Wed, 29 March 2006 09:28 Go to previous messageGo to next message
k_talino
Messages: 9
Registered: January 2006
Location: Spain
Junior Member
Yeaa,,

thx for all

Mahesh Rajendran wrote on Wed, 29 March 2006 09:12

sys@9i > select dimlm from x$kccdi;

     DIMLM
----------
         3

sys@9i > alter database backup controlfile to trace as '/tmp/mytracefile';

Database altered.

sys@9i > !cat /tmp/mytracefile | grep MAXLOGMEMBERS
    MAXLOGMEMBERS 3
    MAXLOGMEMBERS 3



Re: current value of maxlogmembers [message #165380 is a reply to message #165332] Wed, 29 March 2006 13:30 Go to previous messageGo to next message
smartin
Messages: 1803
Registered: March 2005
Location: Jacksonville, Florida
Senior Member
Hehe, Mahesh knows all the cool tricks.

I suppose you could also:

create a new group
repeat add a member until error
Re: current value of maxlogmembers [message #165391 is a reply to message #165380] Wed, 29 March 2006 16:38 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
Smile
Only after replying, something came to my mind
Oracle Doc says:

Your operating system specific Oracle documentation for the default and legal values of the MAXLOGFILES and MAXLOGMEMBERS parameters

But there is not much to guess here about MAXLOGMEMBERS.
There need to be

Minimum 1 (obviously) -all platforms
Default 2 - in most platforms
Maximum 5 - all platforms.

I may be wrong. I haven't checked any docs yet.

[Updated on: Wed, 29 March 2006 18:15]

Report message to a moderator

Re: current value of maxlogmembers [message #165666 is a reply to message #165353] Fri, 31 March 2006 06:07 Go to previous messageGo to next message
kmsalih
Messages: 197
Registered: March 2006
Senior Member
Yeeah!!!!!

It's is new stuff for me.

Is there any data dictionary that gives information about listeners and sqlnet.ora?

Thanks & Regards
SALIH KM Cool
Re: current value of maxlogmembers [message #165684 is a reply to message #165666] Fri, 31 March 2006 07:21 Go to previous message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
Nothing that i know of.
These are external files that deal with the client connectivity.
Nothing to do with Data Dictionary. So i would not even expect any.
Previous Topic: Version Details
Next Topic: SPFILE or pfile
Goto Forum:
  


Current Time: Fri Sep 20 12:41:56 CDT 2024