Shared memory settings from 32 to 64 bit Oracle

Hello,
Questions about Oracle and Shared Memory from 32bit to 64bit Oracle
I have a Sun Sparc V880 server running Solaris 9 with 8xCPUs and 16gb of Ram. It is currently running 6 Oracle (32 bit) 9.2 databases which we are planning to upgrade to 10.2. My question regards the setting of the Solaris 9 kernel parameters speciifically 'shminfo_shmmax'. This is currently set to - 'shmsys:shminfo_shmmax=4294967295'which I believe is the maximum amount of shared memory which can be allocated to a 32bit version of Oracle and the one recommended by Oracle.
Running 'show sga' on all of the current 9.2 databases returns
Total System Global Area
DB     SGA(bytes)
db1     772528008
db2     789305244
db3     772528008
db4     114021228
db5     791238556
db6     789305244
Total = 4045703524 bytes or 3.76786 gb.
1. Does this mean that each Oracle 32bit database can only use up to a maximum of about 4gb of shared memory or that all 6 together can only use up to 4gb ? resulting in 12gb being available for other (non Oracle) processes.
2. I have noticed (through 'sar' stats) that the server occasionally pages (non zero values for pgscan/s and pgfree/s etc.). Since the server mostly only runs the Oracle databases, is this because Oracle can only use circa 4gb of Ram before it starts paging ?
3. If both 9.2 and 10.2 Oracle databases are run on the server would increasing the value of shminfo_shmmax then allow the 10.2 databases to use more of the 16gb of Ram, while still limiting the 32bit databases to the 4gb limit ?
Any help here would be appreciated

Pl see if MOS Doc 467960.1 (How Important It Is To Set shmsys:shminfo_shmmax Above 4 GB) and the notes it references can help
HTH
Srini

Similar Messages

  • Shared Memory Settings for Oracle - Machine Spec Specific?

    Hi,
    I've been asked to apply some shared memory settings for Oracle on a new V210. The DBA has asked that we simply copy the settings from one system file to the new machine.
    My problem is that I'm not entirely sure whether this is the best course of action. The machine the settings are taken from is a E280R with 2GB Memory and 2 x 900Mhz processors. The new V210 has 2GB and 2 x 1.33Ghz.
    Surely the memory settings should be different? Don't worry, I've copied the relevant settings - not the whole system file!
    Thanks for any advice,
    John

    Hi John,
    Normally, When you want to apply the shm. We normally for production machines , consider 1/3rd of your physical memory. For eg. If you have 16gb of physical memory, I would consider around 4gb of shm_max.
    Thanks,
    Keshav .N

  • Dispatcher stopped due to shared memory realm does not exist in Oracle 10g

    Hi Gurus,
    Suddenly my Message server stopped, i have checked R3trans -d its givign following message
    D:\>R3trans -d
    This is R3trans version 6.14 (release 700 - 12.12.08 - 14:04:00).
    unicode enabled version
    2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'CHE'"
    R3trans finished (0012).
    So i have restarted the server, now message server started then Dispatcher has been stopped again error is same here i am pasting trans.log file
    4 ETW000 http://dboci.c ,00000 *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1034
    4 ETW000 44375 1.224660
    4 ETW000 dev trc ,00000 server_detach(con_hdl=0,stale=1,svrhp=02F07EDC) 23 1.224683
    4 ETW000 dev trc ,00000 Detaching from DB Server (con_hdl=0,svchp=02EF47E8,srvhp=02F07EDC)
    4 ETW000 32 1.224715
    4 ETW000 dev trc ,00000 Deallocating server context handle 02F07EDC 688 1.225403
    4 ETW000 http://dbsloci. ,00000 *** ERROR => CONNECT failed with sql error '1034'
    4 ETW000 49 1.225452
    4 ETW000 dev trc ,00000 set_ocica() -> OCI or SQL return code 1034 25 1.225477
    4 ETW000 dev trc ,00000 Try to connect with default password 74 1.225551
    4 ETW000 dev trc ,00000 Connecting as SAPSR3/<pwd>@CHE on connection 0 (nls_hdl 0) ... (dbsl 700 030508)
    4 ETW000 62 1.225613
    4 ETW000 dev trc ,00000 Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
    4 ETW000 37 1.225650
    4 ETW000 dev trc ,00000 0 UTF8 1 02EEF9E0 02EF5014 02EF489C
    4 ETW000 38 1.225688
    4 ETW000 dev trc ,00000 Allocating server context handle 19 1.225707
    4 ETW000 dev trc ,00000 Attaching to DB Server CHE (con_hdl=0,svchp=02EF47E8,srvhp=02F07EDC)
    4 ETW000 43 1.225750
    4 ETW000 dev trc ,00000 Assigning server context 02F07EDC to service context 02EF47E8
    4 ETW000 14810 1.240560
    4 ETW000 dev trc ,00000 Assigning username to user session 02F1BC88 28 1.240588
    4 ETW000 dev trc ,00000 Assigning password to user session 02F1BC88 29 1.240617
    4 ETW000 dev trc ,00000 Starting user session (con_hdl=0,svchp=02EF47E8,srvhp=02F07EDC,usrhp=02F1BC88)
    4 ETW000 38 1.240655
    4 ETW000 http://dboci.c ,00000 *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1034
    4 ETW000 49161 1.289816
    4 ETW000 dev trc ,00000 server_detach(con_hdl=0,stale=1,svrhp=02F07EDC) 30 1.289846
    4 ETW000 dev trc ,00000 Detaching from DB Server (con_hdl=0,svchp=02EF47E8,srvhp=02F07EDC)
    4 ETW000 73 1.289919
    4 ETW000 dev trc ,00000 Deallocating server context handle 02F07EDC 828 1.290747
    4 ETW000 http://dbsloci. ,00000 *** ERROR => CONNECT failed with sql error '1034'
    4 ETW000 108 1.290855
    4 ETW000 dev trc ,00000 set_ocica() -> OCI or SQL return code 1034 22 1.290877
    4 ETW000 dblink ,00431 ***LOG BY2=>sql error 1034 performing CON dblink#5 @ 431
    4 ETW000 21113 1.311990
    4 ETW000 dblink ,00431 ***LOG BY0=>ORA-01034: ORACLE not available 30 1.312020
    4 ETW000 ORA-27101: shared memory realm does not exist dblink#5 @ 431
    2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'CHE'"

    Is this your system ABAP+JAVA?
    As i'm too getting this problem in AS Java, R3trans -d does fail with RC-12.
    But all other my applications are running fine, So need to know the exact reason for same, so any help in this will be appreciated.

  • Migration from Windows(32 bit) Oracle 9i db to Linux(X86-64 bit) Oracle 10g

    Hi,
    We are planing to Migrate our Oracle 9.2.0.6 version database from Windows(32 bit) to Oracle 10.2.0.1 version database on Linux(64 bit). Can I directly do the Migration using export/import? or What is the procedure to do this?
    Thanks in advance for any help.

    The directory structure is different...that's why you need to create the tablespaces in Linux. e.g. export dump says create tablespace in D:\..., there is no such thing in Linux. You can just export it, install software, create the db, tablespaces in Linux and import into the 10g in Linux.

  • Passing memory settings from the Node Manager to the Managed Server

    All,
    I am trying to start a Managed server from the Node Manager. The configuration is as follows:
    I have a domain with two managed servers(M1, M2). I could start both of them using the shell scripts without any problems. Both of the servers has custom memory settings -Xms3072m -Xmx3072m -XX:PermSize=256m
    to facilitate deployment and effective operation of managed servers (the applications being deployed are kind of large).
    Now, I am trying to start the same two servers using Admin Console:
    In the admin console: I created a Unix Machine(U1) assigned the managed servers (M1, M2) to U1. I started the Node Manager on U1.
    When I try to start a Managed Server from console, the server is starting but the memory settings (-Xms3072m -Xmx3072m -XX:PermSize=256m ) are not passed to the managed server startup, so the application deployment is failing with out of Memory errors. I tried to assign same memory settings to Node manager assuming it will pass on that configuration to the node manager without any luck.
    Any help is appreciated.
    Thanks
    Raj

    Starting Managed Server from Node Manager

  • S205 Shared Memory Settings

    Hello,
    I have lenovo S205 with 3GB RAM
    Now size of shared memory is 384MB
    How can I change it to 512MB?
    I did not find any options in BIOS
    Thank you

    Hi,
    even the one year old Thinkpad X100e could be upgraded to 8 GB ..
    the Thinkpad X120e use the same  based on cpu/apu platform  ... could be upgraded to 8 GB. &  X120e  use 384MB shared video...
    so the equivalent Ideapad S205 uses also 384MB shared video ...  
    and upgrade to max. 8 GB is no problem , with 2 x 4 GB  mem sticks  .. 
    sincerely KalvinKlein
    Thinkies 2x X200s/X301 8GB 256GB SSD @ Win 7 64
    Ideas Centre A520 ,Yoga 2 256GB SSD,Yoga 2 tablet @ Win 8.1

  • Can one export a schema from a 64 bit Oracle DB into a 32 bit Oracle DB?

    Hello:
    I need to copy a schema from one DB to another. The source DB runs 64 bit version of Oracle DB but the target DB runs 32 bit version of Oracle DB. Can the schema in 64 bit DB instance be exported and imported into a 32 bit DB instance with exp/imp or expdp/impdp command? Thanks.

    Hello:
    Thanks for your help. Please see part of the error message below. In the new db, I have created the same user with same password and also grant connect and resource privilege to that user. But I don't understand why some table could be recreated without any issue while all those with BLOB column cannot.
    Import: Release 11.2.0.2.0 - Production on Wed Nov 9 18:02:07 2011
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    Connected to: Oracle Database 11g Express Edition Release 11.2.0.2.0 - Productio
    n
    Export file created by EXPORT:V10.01.00 via conventional path
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    . importing TPC's objects into TPC
    . . importing table "OTPC_ACTIVE_WORKITEM" 34 rows imported
    IMP-00017: following statement failed with ORACLE error 959:
    "CREATE TABLE "OTPC_BLD_ARCHIVE" ("ID" NUMBER(19, 0) NOT NULL ENABLE, "TEST_"
    "OUTPUT_FILE" BLOB NOT NULL ENABLE, "VERSION" NUMBER(19, 0) NOT NULL ENABLE,"
    " "TEST_SCHEMA_DEFINITION_ID" NUMBER(19, 0) NOT NULL ENABLE, "BUILD_DASHBOAR"
    "D_ID" NUMBER(19, 0) NOT NULL ENABLE) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXT"
    "RANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DE"
    "FAULT) TABLESPACE "TPC" LOGGING NOCOMPRESS LOB ("TEST_OUTPUT_FILE") STORE A"
    "S (TABLESPACE "TPC" ENABLE STORAGE IN ROW CHUNK 8192 PCTVERSION 10 NOCACHE"
    " STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT))"
    IMP-00003: ORACLE error 959 encountered
    ORA-00959: tablespace 'TPC' does not exist
    IMP-00017: following statement failed with ORACLE error 959:
    "CREATE TABLE "OTPC_BLD_CHANGESET" ("ID" NUMBER(19, 0) NOT NULL ENABLE, "COM"
    "MIT_DATE" TIMESTAMP (6) NOT NULL ENABLE, "CONTENTS" BLOB, "NAME" VARCHAR2(2"
    "56) NOT NULL ENABLE, "OWNER" VARCHAR2(128) NOT NULL ENABLE, "COMMENTS" VARC"
    "HAR2(4000), "VERSION" NUMBER(19, 0) NOT NULL ENABLE, "CREATED_BY_ID" NUMBER"
    "(19, 0)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 655"
    "36 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "TPC" LOGG"
    "ING NOCOMPRESS LOB ("CONTENTS") STORE AS (TABLESPACE "TPC" ENABLE STORAGE "
    "IN ROW CHUNK 8192 PCTVERSION 10 NOCACHE STORAGE(INITIAL 65536 FREELISTS 1 "
    "FREELIST GROUPS 1 BUFFER_POOL DEFAULT))"
    IMP-00003: ORACLE error 959 encountered
    ORA-00959: tablespace 'TPC' does not exist

  • Oracle not Available, Shared Memory realm doesn't exist

    Hi,
    I have problem during XE installation on Windows 2003 R2 SP 2 Enterprise edition. I have uninstall the oracle xe and the result still the same. Finally I uninstall the windows and start all over again, surprisingly the result still the same. FYI, we normally has no issue during installation because this is part of our system we sell to our customer which require oracle xe. This is the first time we have seen this issue.
    ORA-01034 : Oracle Not available
    ORA-27101 : Shared memory realm doesn't exist.
    Oracle XE and listener services is started in the windows services.
    if we try to do startup the following message occured.
    SQL> connect /as sysdba
    Connected to an idle instance.
    SQL> startup
    ORA-44412: XE edition memory parameter invalid or not specified
    SQL>
    I can send you the oracle_xe log, init ora, and OpsBuildAll.log to create the database.
    When we compare with the working installation, we saw that the size of oraclexe folder is less, it's just 233MB while the working one is over 1GB. After investigation, found out that the .dbf files is not avaiable in the oradata folder, i have tried to copy those files from the working one but the problem stay the same, probably there are a lot of files more missing.
    Appreciate your help on this.
    Thanks,
    Agus

    Hi,
    Please find the log below
    SQL> startup nomount pfile="C:\oraclexe\app\oracle\product\10.2.0\server\config\scripts\init.ora";
    ORA-44412: XE edition memory parameter invalid or not specified
    SQL> @C:\oraclexe\app\oracle\product\10.2.0\server\config\scripts\rmanRestoreDatafiles.sql;
    SQL> set echo off;
    select TO_CHAR(systimestamp,'YYYYMMDD HH:MI:SS') from dual
    ERROR at line 1:
    ORA-01034: ORACLE not available
    declare
    ERROR at line 1:
    ORA-01034: ORACLE not available
    select TO_CHAR(systimestamp,'YYYYMMDD HH:MI:SS') from dual
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Connected to an idle instance.
    SQL> spool C:\oraclexe\app\oracle\product\10.2.0\server\config\log\cloneDBCreation.log
    I have css log as well if you are interesting to see.
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Tue Mar 20 14:13:29 2012
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V5.2 Service Pack 2
    CPU : 24 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5308M/6133M, Ph+PgF:7152M/8000M, VA:1933M/2047M
    Tue Mar 20 14:13:29 2012
    Starting ORACLE instance (normal)
    Tue Mar 20 14:13:30 2012
    Starting ORACLE instance (normal)
    Tue Mar 20 14:13:31 2012
    Starting ORACLE instance (normal)
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Tue Mar 20 19:43:31 2012
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V5.2 Service Pack 2
    CPU : 24 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5351M/6133M, Ph+PgF:7150M/8000M, VA:1932M/2047M
    Tue Mar 20 19:43:31 2012
    Starting ORACLE instance (normal)
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Tue Mar 20 19:55:39 2012
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V5.2 Service Pack 2
    CPU : 24 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5254M/6133M, Ph+PgF:7052M/8000M, VA:1932M/2047M
    Tue Mar 20 19:55:39 2012
    Starting ORACLE instance (normal)
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Wed Mar 21 05:23:41 2012
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V5.2 Service Pack 2
    CPU : 24 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5259M/6133M, Ph+PgF:6894M/8000M, VA:1932M/2047M
    Wed Mar 21 05:23:41 2012
    Starting ORACLE instance (normal)
    Wed Mar 21 05:29:12 2012
    Starting ORACLE instance (normal)
    Wed Mar 21 05:31:42 2012
    Starting ORACLE instance (normal)
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Wed Mar 21 05:50:45 2012
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V5.2 Service Pack 2
    CPU : 24 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5143M/6133M, Ph+PgF:6768M/8000M, VA:1932M/2047M
    Wed Mar 21 05:50:45 2012
    Starting ORACLE instance (normal)
    Wed Mar 21 06:02:38 2012
    Starting ORACLE instance (normal)
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Wed Mar 21 06:04:03 2012
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V5.2 Service Pack 2
    CPU : 24 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5205M/6133M, Ph+PgF:6866M/8000M, VA:1944M/2047M
    Wed Mar 21 06:04:03 2012
    Starting ORACLE instance (normal)
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Wed Mar 21 06:06:00 2012
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V5.2 Service Pack 2
    CPU : 24 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5195M/6133M, Ph+PgF:6837M/8000M, VA:1944M/2047M
    Wed Mar 21 06:06:00 2012
    Starting ORACLE instance (normal)
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Wed Mar 21 06:06:11 2012
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V5.2 Service Pack 2
    CPU : 24 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5195M/6133M, Ph+PgF:6836M/8000M, VA:1944M/2047M
    Wed Mar 21 06:06:11 2012
    Starting ORACLE instance (normal)
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Wed Mar 21 06:06:40 2012
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V5.2 Service Pack 2
    CPU : 24 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5191M/6133M, Ph+PgF:6832M/8000M, VA:1944M/2047M
    Wed Mar 21 06:06:40 2012
    Starting ORACLE instance (normal)
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Wed Mar 21 06:07:18 2012
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V5.2 Service Pack 2
    CPU : 24 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5191M/6133M, Ph+PgF:6831M/8000M, VA:1932M/2047M
    Wed Mar 21 06:07:18 2012
    Starting ORACLE instance (normal)
    Wed Mar 21 06:07:38 2012
    Shutting down instance (abort)
    Wed Mar 21 06:07:51 2012
    Starting ORACLE instance (normal)
    Wed Mar 21 06:13:31 2012
    Starting ORACLE instance (normal)
    I have finished installing the XE on windows but result is the same, dbf file is not created on oradata folder.
    Thanks,
    Agus

  • Oracle Error 'ORA-27102: out of memory' - Shared memory parameters correct.

    Advice please!
    We’ve recently shut down our Oracle test server in order to increase file system capacity.  When we rebooted some of the databases wouldn’t start up.  It started the first 4 instances and then errored out saying “ORA-27102: out of memory“.
    I’m pretty sure it’s nothing to do with the file system because we actually reverted back to the old file system and the databases still wouldn’t start.  I think it’s more likely that something’s gone awry whilst the databases were actually running, and the problem has only manifested itself once we stopped and restarted them.
    I have researched the error and forud this artical and similar:  http://var-adm.blogspot.co.uk/2013/04/adjust-solaris-10-shared-memory-to.html 
    Everything suggests that Oracle is trying to create a larger shared memory segment than is allowed.  The thing is, we’ve never changed our shared memory settings, and one minute it was working, the next it isn’t.  To confirm this I checked the shared memory, which is as follows:
    sswift4# prctl -n project.max-shm-memory $$
    process: 926: bash
    NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
    project.max-shm-memory
            privileged      7.64GB      -   deny                                 -
            system          16.0EB    max   deny                                 -
    As suggested in the above article, I checked the alert log and found the ‘WARNING: EINVAL’ message which is as follows:
    WARNING: EINVAL creating segment of size 0x000000005e002000
    Converting this to decimal, it’s trying to create something of 1.5 GB, well within the shared memory settings, which suggests that this isn’t the problem.
    We are running Oracle 10g and 11g on Solaris 10 Sparc. The error does not seem to be instance specific, we have 8 instances on this box all with SGA max of 2000m. The server has 32GB of memory available.
    Any advice would be helpful.
    Thanks in advance.
    Debs

    Thanks for your quick responses - we have now resolved the issue.
    The shared memory value was set on the command line but not saved.
    Therefore once we rebooted it lost the configuration. this has been altered by our UNIX admin and all DBs have started without issue.
    Thanks
    Debs

  • Photoshop CS4 32 bit settings work for 64 bit version?

    Anyone know if Photoshop CS4 32 bit settings work for 64 bit version?  I just installed Windows 7 x64 and I want to use my backup Photoshop CS4 settings from the 32 bit version.  Will there be any problems?
    Also, it seems that since I'm on 64 bit Windows 7, the installer forces me to install the 64 bit version of Photoshop CS4, although the 32 bit version is optional.  Are the 32 bit settings stored in a different location from the 64 bit version?  Or will both version use the same settings from the same place?

    I think you are misunderstanding me. The sharing happens via the user home directory (C:\Users\[You]\AppData\Roaming\Adobe ...). 64bit specific settings will be denoted with an X64 in their file name, 32bit settings will be without any extra tags. Beyond that, the programs do not access each other's program directory, which shouldn't be required in the first place, as the default templates are the same for both to begin with. You can of course also copy your brushes and presets to the program directories, but then you will have to worry twice about keeping them in sync.
    Mylenium

  • Sysresv returns multiple shared memory IDs for one database

    Shared Memory:
    ID KEY
    8 0x00000000
    9 0x00000000
    10 0x00000000
    13 0x00000000
    14 0xae2ae9d0
    Please see this 'sysresv' output. It returns multiple shared memory IDs for one database (althouth all are 0s except one). Why is this? Does it matter? It seems not eating up memory. Stop and start database didn't help.

    * System Configuration
    swap files
    swapfile dev swaplo blocks free
    /dev/md/dsk/d101 85,101 16 201342320 201342320
    * Tunable Parameters
    2055864320 maximum memory allowed in buffer cache (bufhwm)
    30000 maximum number of processes (v.v_proc)
    99 maximum global priority in sys class (MAXCLSYSPRI)
    29995 maximum processes per user id (v.v_maxup)
    30 auto update time limit in seconds (NAUTOUP)
    25 page stealing low water mark (GPGSLO)
    1 fsflush run rate (FSFLUSHR)
    25 minimum resident memory for avoiding deadlock (MINARMEM)
    25 minimum swapable memory for avoiding deadlock (MINASMEM)
    CO4P:/opt/oracle:>ipcs -ma
    IPC status from <running system> as of Monday, April 21, 2008 2:50:10 PM PDT
    T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME
    Shared Memory:
    m 14 0xae2ae9d0 rw-r--- oracle dba oracle dba 481 24576 20322 25104 14:50:10 14:50:10 11:24:46
    m 13 0 rw-r--- oracle dba oracle dba 481 2030043136 20322 25104 14:50:10 14:50:08 11:24:43
    m 10 0 rw-r--- oracle dba oracle dba 481 2030043136 20322 25104 14:50:10 14:50:08 11:24:40
    m 9 0 rw-r--- oracle dba oracle dba 481 2013265920 20322 25104 14:50:10 14:50:08 11:24:37
    m 8 0 rw-r--- oracle dba oracle dba 481 2063597568 20322 25104 14:50:10 14:50:08 11:24:34
    m 0 0xcace --rw-rw-rw-     root     root     root     root      0          2  2344  2344 14:49:57 14:49:57  9:35:43                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Export 11g-32 bit Oracle database- import  11g to 64 bit Oracle DB posible

    Hi experts,
    i want to export from 11gR2- 32 bit oracle production database and import into 11gR2 -64 bit oracle database.
    Can it possible or not???

    EdStevens wrote:
    Harshit DBA india wrote:
    Hi experts,
    i want to export from 11gR2- 32 bit oracle production database and import into 11gR2 -64 bit oracle database.
    Can it possible or not???What does it cost you to try it for yourself and see?“Only those who dare to fail greatly can ever achieve greatly.”

  • Cannot attach PL/SQL shared memory error

    Hi everybody,
    I got the following error when trying to reconnect the same Java process to a Timesten instance that has been restored after failure:
    java.sql.SQLException: [TimesTen][TimesTen 11.2.2.6.0 ODBC Driver][TimesTen]TT8521: Cannot attach PL/SQL shared memory; virtual memory at PLSQL_MEMORY_ADDRESS already in use by TimesTen -- file "db.c", lineno 9924, procedure "sbDbConnect"
      at com.timesten.jdbc.JdbcOdbc.createSQLException(JdbcOdbc.java:3238)
      at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:3387)
      at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:3352)
      at com.timesten.jdbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:801)
      at com.timesten.jdbc.JdbcOdbcConnection.connect(JdbcOdbcConnection.java:1866)
    As I has understood from the Timesten Error 8521, I have to rollback and close each direct Timesten connection in my app. I implemented the solution, but it didn't help.
    My app has tho copies of a database: local and remote, and two connections to these DBs: one is direct and the second is client. The last one is used as backup for the case when the direct connection is broken.
    XLA is used for monitoring data changes on the local DB.
    The question is: may be these XLA subscriptions prevent the shared memory segments from being released? What should I do to avoid the error 8521 during failback?

    Hi everybody,
    I got the following error when trying to reconnect the same Java process to a Timesten instance that has been restored after failure:
    java.sql.SQLException: [TimesTen][TimesTen 11.2.2.6.0 ODBC Driver][TimesTen]TT8521: Cannot attach PL/SQL shared memory; virtual memory at PLSQL_MEMORY_ADDRESS already in use by TimesTen -- file "db.c", lineno 9924, procedure "sbDbConnect"
      at com.timesten.jdbc.JdbcOdbc.createSQLException(JdbcOdbc.java:3238)
      at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:3387)
      at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:3352)
      at com.timesten.jdbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:801)
      at com.timesten.jdbc.JdbcOdbcConnection.connect(JdbcOdbcConnection.java:1866)
    As I has understood from the Timesten Error 8521, I have to rollback and close each direct Timesten connection in my app. I implemented the solution, but it didn't help.
    My app has tho copies of a database: local and remote, and two connections to these DBs: one is direct and the second is client. The last one is used as backup for the case when the direct connection is broken.
    XLA is used for monitoring data changes on the local DB.
    The question is: may be these XLA subscriptions prevent the shared memory segments from being released? What should I do to avoid the error 8521 during failback?

  • Solaris 10, Oracle 10g, and Shared Memory

    Hello everyone,
    We've been working on migrating to Solaris 10 on all of our database servers (I'm a UNIX admin, not a DBA, so please be gentle) and we've encountered an odd issue.
    Server A:
    Sun V890
    (8) 1.5Ghz CPUs
    32GB of RAM
    Server A was installed with Solaris 10 and the Oracle data and application files were moved from the old server (the storage hardware was moved between servers). Everything is running perfectly, and we're using the resource manager to control the memory settings (not /etc/system)
    The DBAs then increase the SGA of one of the DBs on the system from 1.5GB to 5GB and it fails to start (ORA-27102). According to the information I have, the maximum shared memory on this system should be 1/4 of RAM (8 GB, actually works out to 7.84 GB according to prctl). I verified the other shared memory/semaphore settings are where they should be, but the DB would not start with a 5 GB SGA. I then decided to just throw a larger max shared memory segment at it, so I used the projmod to increase project.max-shm-memory to 16GB for the project Oracle runs under. The DB now starts just fine. I cut it back down to 10GB for project.max-shm-memory and the DB starts ok. I ran out of downtime window, so I couldn't continue refining the settings.
    Running 'ipcs -b' and totalling up the individual segments showed we were using around 5GB on the test DB (assuming my addition is correct).
    So, the question:
    Is there a way to correlate the SGA of the DB(s) into what I need the project.max-shm-memory to? I would think 7.84GB would be enough to handle a DB with 5GB SGA, but it doesn't appear to be. We have some 'important' servers getting upgraded soon and I'd like to be able to refine these numbers / settings before I get to them.
    Thanks for your time,
    Steven

    To me, setting a massive shared memory segment just seems to be inefficient. I understand that Oracle is only going to take up as much memory (in general) as the SGA. And I've been searching for any record of really large shared memory segments causing issues but haven't found much (I'm going to contact Sun to get their comments).
    The issue I am having is that it doesn't make sense that the DB with a 5GB SGA is unable to startup when there is an 8GB max shared memory segment, but a 10GB (and above) seems to work. Does it really need double the size of the SGA when starting up, but 'ipcs' shows it's only using the SGA amount of shared memory? I have plans to cut it down to 4GB and test again, as that is Oracle's recommendation. I also plan to run the DB startup through truss to get a better handle on what it's trying to do. And, if it comes down to it, I'll just set a really big max shared memory segment, I just don't want it to come back and cause an issue down the road.
    The current guidance on Metalink still seems to be suggesting a 4GB shared memory segment (I did not get a chance to test this yet with the DB we're having issues with).
    I can't comment on how the DBA specifically increased the SGA as I don't know what method they use.

  • Oracle 9i shared memory issue

    Below mentioned is the error raised during retrieval of content details from XMLDB
    StatementCallback; uncategorized SQLException for SQL [Select count(1) from BRSK.medv_brpubdoc_tab e where extractValue(value(e),'/brpubdoc/relationdoc/@document_number')='BR-RELATE-100002-TEST']; SQL state [61000]; error code [4031]; ORA-04031: unable to allocate 3286464 bytes of shared memory ("shared pool","Select count(1) from BRSK.me...","sql area","kkdoattds : qcdogtld").
    We faced the similar during registration of schema and to resolve the issue we did the below mentioned changes towards the oracle 9i database instance (Onsite)
    1) increased shared_pool_reserved_size from 8M to 16M,
    2) java_pool_size from 150M to 200M
    3) db_cache_size from 300M to 350M.
    4) increased shared_pool_size from 150M to 250M.
    we are facing this error frequently.Would like to know about the required parameter values related to memory that need to be configured for xml db.Please help me out on this ASAP.
    Thanks
    Srinivas

    Be aware that you could be hitting a bug. Because 9i is not supported anymore I would suggest to upgrade to 10.2.0.3
    Don't be afraid to increase you memory structures a little bit more ;-)
    What do you thing about a shared_pool_size of >= 500 Mb.
    What database version are you working with?

Maybe you are looking for

  • Boot Camp: Firewire Edirol FA-101 recognize like 61883 device

    Hi, I've a big problem... I've installed Windows SP2 (on a Mac pro with the last version of Leopard) under Boot Camp to use an *Edirol Firewire audio unit, the Edirol FA-101*. The unit _is recognized NOT like a 1394 unit BUT like a 61883 peripheral_

  • File open menu will not open local files using open command but the same files will open if I double click them (permissions seem fine)

    Under File menu Open File will not open local files even those downloaded to the desktop by Firefox 5. If I double click on HTML file it does open Reinstalled. Same behaviour. Default Browser set correctly. Permissions set correctly. Odd behaviour.

  • LaunchExecutableEx command

    I am trying to automate a segger flasher for production testing.  I created a .bat file that runs the jflasharm.exe file with command line paramters.  The .bat file reads the return value from the jflasharm.exe and creates a log file.  If I use the s

  • LR Profiles question

    Under the bottom right panel "Camera Calibration" there is drop down menu called "profiles". In that drop down there are numerous profiiles: ACR 4.4, ACR 4.3, Adobe Standard, Camera D2X Mode 1 (what the does that stand for?), and many others. I have

  • Equium A210-1C4 - Check BIOS Version

    There are several BIOS Updates listed on the Toshiba downlaods website for my laptop. However, I cannot remember if I have already installed them. How do I find out the current BIOS version of my PC? Does it matter if I install them again if they are