Upgrade oracle 10.2.0.3 32bit to oracle 11.1.7 x64

Hi There,
I'm trying to upgrade from oracle 10.2.0.3 to 11.1.7 and I'm wondering what's the best way of doing this.
THe problem is that production server is windows 2003 server 32 bit running oracle 10.2.0.3 standard edition.
The new server is windows 2008 server, 64bit. I have managed to install oracle 11.1.7 on it, so my question is what's teh best approach to do the DB migration? does it matter if the old DB files are in 32bit?
I couldnt find oracle 10.2.0.3 x64 on the oracle site as I was thinking of installing that on the new machine, do cold backup of DB and copy all the files to the new server, startup the DB on the new server, and then run DBUA.
I also managed to install oracle 10.2.0.4 on the new server, is it possible to dpow the foolowing:
1. cold backup the DB on the current production server.
2. move the backup to the new server
3. using 10.2.0.4 executables, do startup mount
4. rename datafiles from old location to new location
5. shutdown immediate
6. startup upgrade
7. run @?/rdbms/admin/catupgrd.sql
would the above work? any concerns? or tips? or any advises please?
Thanks

Mohammed at al, you are not correct - sorry to say that but a 32=>64-bit change will be handled implicitly by the database by invalidating packages etc.
Your way would be:
1) Run utlu111i.sql from your new %OH%\rdbms\admin installation on your "old" 10.2. installation (copy it over and run it from SQL*Plus 10.2)
If you have just an spfile then do a 'create pfile from spfile;' to have an editable copy of your spfile.
2) Shutdown your 10.2. database IMMEDIATE
3) Copy all relevant files (database files, password file, control files, redolog files and spfile/init.or) to your new server into the identical location
- if you plan to choose a different location then you'll have to trace the controlfile before on your old server and create a new controlfile
in the new installation to reflect to the new file locations
4) Create a new service on the new server with: oradim -NEW -SID yoursid -SYSPWD passwrd -STARTMODE a -PFILE initfile
5) Create a new listener service on your new server with "netca"
6) Make all suggested changes from the utlu111i.sql script output to your init.ora.
7) Startup your database in upgrade mode 'startup upgrade'
8) Run 'catupgrd.sql'
9) Once it has been finished then the db will be shutdown - startup normal and run 'utltp.sql' and 'catuppst.sql' in parallel from 2 SQL*Plus sessions
10) Check with 'utlu111s.sql' if everything has been upgraded successfully.
Have fun :-)
Kind regards
Mike

Similar Messages

  • Upgrade oracle 8i (32bit) to oracle 10g (64bit)

    Hi,
    I have to upgrade oracle from Oracle 8i (32bit) to oracle 10g (64bit).
    Do you have a note to help me ?
    Are there problems ?
    Thank you,
    Philippe

    Bharatwaj,
    We have ECC 5 running on HP Unix.
    I am planning to upgrade from 9.2.0.7 to 10.2.0.2.
    I read that you have already done this in your environment.
    can you please share with me
    - steps that you have followed
    - Issues you have faced if any during upgrade and after upgrade
    - Issues / Risks with application after 10g upgarde
    Thank you very much in advance.
    Best Wishes,
    Rajasekaran G.

  • Effects of Oracle Upgrade from 10.2.0.1(32bit) to 10.2.0.4(64bit)

    We are planning a Database Server upgrade. The current configuration is Red Hat Linux 4 (32Bit) and Oracle Database Enterprise 10.2.0.1 (32Bit). The proposed configuration is Red Hat Linux 5 (64Bit) and Oracle Database Enterprise 10.2.0.4 (64Bit).
    No plans to change the middle-tier servers:
    O/S- Windows 2003
    OAS- Oracle Application Server Lite [Forms and Reports Service]- Version 10.1.2.0.2 .
    No plans to change the development tools:
    O/S- Windows XP SP2
    Oracle Forms and Reports - (32Bit) Version 10.1.2.0.2 .
    Has anyone encountered any gotchas/compatibility issues we should be aware of ? Do we need to upgrade the middle-tier and Developer Tools at the same time ?
    Many thanks in advance for any advice.

    Our forms application runs against a databases runnung on lot of platforms, like
    HP-UX, AIX, WinServer 2k3, RedHat, Suse,...32 and 64 bit from 9.2.0.8 up to 10.2.0.4...
    our development database is a 9.2.0.6 Windows Server 2003 32bit, and I haven't faced any problems on other platforms after moving to them (except the platform specific database bugs).
    Only thing I can remember would be, if you make use of the utl_file package on the database - I'm sure you know the dos2unix and unix2dos fileformat problem.
    so if you don't plan to change the middle-tier servers you should not run into serious problems (except a recompile of your forms against the new database could be necessary) to my mind. No need for changing middle tier and developer toos.
    regards

  • Oracle database upgrade from 10.2.0.1(32bit) to 10.2.0.4(64bit)

    We are planning a Database Server upgrade. The current configuration is Red Hat Linux 4 (32Bit) and Oracle Database Enterprise 10.2.0.1 (32Bit). The proposed configuration is Red Hat Linux 5 (64Bit) and Oracle Database Enterprise 10.2.0.4 (64Bit).
    No plans to change the middle-tier servers:
    O/S- Windows 2003
    OAS- Oracle Application Server Lite [Forms and Reports Service]- Version 10.1.2.0.2 .
    No plans to change the development tools:
    O/S- Windows XP SP2
    Oracle Forms and Reports - (32Bit) Version 10.1.2.0.2 .
    Has anyone encountered any gotchas/compatibility issues we should be aware of ?
    Many thanks in advance for any advice.

    You can check metalink doc
    Changing between 32-bit and 64-bit Word Sizes
         Doc ID:     62290.1
    You'd better patch your 32 bit version to 10.2.0.4 first.

  • Upgrade from 10.2.0.1 32bit to 10.2.0.4 64bit windows

    This scenario i have planned to make an attempt of my own..
    1) Plan to Migrate existing database from ( 10.2.0.1 ) 32bit to (10.2.0.4) 64bit database
    2)Existing DB is No archive mode,
    3)OS windows server 2003 Enterprise sp 2(32 bit)
    Migrate DB config
    1)Os windows server 2008 Enterprise 64 bit
    I need help from oracle gurus!!! how to migrate existing DB Upgrade from 10.2.0.1 32bit to 10.2.0.4 64bit windows
    1)how to take backup?
    2)how to upgrade oracle version?
    3)proper step to follow completed this task successful
    For database migration and upgrade activity...
    share your suggestions please
    Regards,
    Venk@t

    How big is the database ? How much downtime can you afford ? One option is to install 10.2.0.1 on the target, apply the 10.2.0.4 patch, create an empty instance on target, then export the database from the source and import into target.
    Pl be aware that 10.2.0.1 thru 10.2.0.4 are on sustaining support and 10.2.0.5 is on extended support (if you have paid the extended support fees). Why not upgrade to 11gR2 ?
    HTH
    Srini

  • Migrating Oracle 10gR2 32bit to Oracle 11g 64bit options

    I have an Oracle 10gR2 32 bit that needs to be upgraded to Oracle 11g 64bit:
    What are some of the options for upgrading Oracle database 10gr2 32bit to Oracle 11g 64bit?
    Can I export 10gR2 32bit and import it to 64bit Oracle 11g?
    THanks

    yakub21 wrote:
    Can I export 10gR2 32bit and import it to 64bit Oracle 11g? yes

  • ODBC connect to SQL Server 2005 from Oracle 10.2.0.3 32bit Linux

    I’m unable to establish a connection from Oracle 10.2.0.3 32bit Linux to SQL Server 2005.
    The ODBC driver is the 32bit DataDirect 5.3 drivers and when I do a status on the listener it does have a handler for SQLDB
    Any help is appreciated.
    Received the following error:
    SQL> select count(*) from columns@SQLDB;
    select count(*) from columns@SQLDB
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC]DRV_InitTdp: DB_ODBC_INTERFACE (718): ; [C077]
    Could not find symbol 'SQLAllocConnect' in dynamic library
    DB_ODBC_INTERFACE (722): ; [C079] Failed to load dynamic library
    '/app/DataDirect/lib/libodbc.so'
    ORA-02063: preceding 3 lines from SQLDB
    -----Contents of trace file------------------
    Oracle Corporation --- THURSDAY JUL 10 2008 10:17:16.251
    Version 10.2.0.3.0
    hoagprd (2): ; hoagprd Entered.
    HOACONN.C (244): ; [Generic Connectivity Using ODBC] version: 4.8.2.0.0080
    HOACONN.C (288): ; Class version: 250
    hoagprd (2): ; hoagprd Exited with retcode = 0.
    hoainit (3): ; hoainit Entered.
    (0): ; connect string is: defTdpName=SQLDB;SYNTAX=(ORACLE8_HOA, BASED_ON=
    ORACLE8, IDENTIFIER_QUOTE_CHAR="", CASE_SENSITIVE=CASE_SENSITIVE_QUOTE);
    BINDING=<navobj><binding><datasources><datasource name='SQLDB' type='GENERIC_
    ODBC_FOR_HS' connect='SQLDB'><driverProperties/></datasource></datasources><
    remoteMachines/><environment><optimizer noFlattener='true'/><misc
    year2000Policy='-1' consumerApi='1' sessionBehavior='4'/><queryProcessor
    parserDepth='2000' tokenSize='1000' noInsertParameterization='true'
    noThreadedReadAhead='true' noCommandReuse='true'/><debug driverTrace='true'
    generalTrace='true'/></environment></binding></navobj>
    ORACLE GENERIC GATEWAY Log File Started at 2008-07-10T10:17:16
    hoainit (3): ; hoainit Exited with retcode = 0.
    hoalgon (7): ; hoalgon Entered. name = dbuser.
    sysbase.c (677): ; libodbcinst.so: cannot open shared object file: No such
    file or directory
    DB_ODBC_INTERFACE (718): ; [C077] Could not find symbol 'SQLAllocConnect' in
    dynamic library
    DB_ODBC_INTERFACE (722): ; [C079] Failed to load dynamic library '/app/
    DataDirect/lib/libodbc.so'
    DB_ODBC_INTERFACE (727): ; [C077] Could not find symbol 'SQLAllocConnect' in
    dynamic library
    DRV_InitTdp: DB_ODBC_INTERFACE (718): ; [C077] Could not find symbol '
    SQLAllocConnect' in dynamic library
    DB_ODBC_INTERFACE (722): ; [C079] Failed to load dynamic library '/app/
    DataDirect/lib/libodbc.so'
    nvRETURN (./drv_bind.c 230): -2220
    nvRETURN (./nav_bind.c 298): -2220
    hoalgon (7): ; hoalgon Exited with retcode = 28500.
    hoaexit (6): ; hoaexit Entered.
    hoaexit (6): ; hoaexit Exited with retcode = 0.
    (0): ; Closing log file at THU JUL 10 10:17:16 2008.
    --------------end of trace file ---------------
    --------TNS entry ----------
    SQLDB=
    (DESCRIPTION =
    (ADDRESS =(PROTOCOL = TCP)
    (Host = oracledbhost)
    (Port = 1521)
    (CONNECT_DATA = (SID =SQLDB)
    (HS=OK)
    -------Listener.ora entry----------
    (SID_DESC=
    (SID_NAME=SQLDB)
    (ORACLE_HOME=/app/oracle10g/product/10.2)
    (PROGRAM=hsodbc)
    -------initSQLDB.ora----------
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = SQLDB
    HS_FDS_TRACE_LEVEL = 4
    HS_FDS_TRACE_FILE_NAME=/app/DataDirect/SQLDB.trc
    HS_FDS_SHAREABLE_NAME=/app/DataDirect/lib/libodbc.so
    # ODBC specific environment variables
    set ODBCINI=/app/DataDirect/odbc.ini
    ------odbc.ini entry------------
    [SQLDB]
    Driver=/app/DataDirect/lib/ivmsss23.so
    Description=DataDirect 5.2 SQL Server Wire Protocol
    Address=SQLServerhost,1401
    AlternateServers=
    AnsiNPW=Yes
    ConnectionRetryCount=0
    ConnectionRetryDelay=3
    Database=SQLServerDB
    LoadBalancing=0
    LogonID=
    Password=
    QuotedId=No
    SnapshotSerializable=0

    The error message is indicating problems loading the driver manager.
    A common issue on Linux (especially on Suse Linux) is related to library caching. First of all make sure you add the LD_LIBRARY_PATH to your listener.ora file to guarantee the correct libraries will be loaded. Your SID section will then look like:
    (SID_DESC=
    (SID_NAME=SQLDB)
    (ORACLE_HOME=/app/oracle10g/product/10.2)
    (ENVS=LD_LIBRARY_PATH=/app/oracle10g/product/10.2/lib:/app/DataDirect/lib)
    (PROGRAM=hsodbc)
    After changing the listener.ora file stop and start the listener.
    Details about the set up can be found in Metalink note:
    Note.264567.1 P216. How To Setup Generic Connectivity - HSODBC - on Linux
    If this does not help enable strace and check out from which location libodbc.so is being loaded.
    Please be also aware HSODBC has been desupported 15th of March. As you start a new project you should proceed with the follow up product DG4ODBC.

  • Oracle 8i  (8.1.7 - 32bit)  for  AIX 5.1  (downloading)

    Hello,
    I need to download Oracle 8i (8.1.7 - 32bit) for AIX 5.1. I think it is the newest certificated Oracle db for AIX 5.1 and now I can't find this Oracle version..
    Is it possible to find and get it from OTN? Thank you.
    Regards,
    Maarit Pddskynen

    Hello,
    This version is not available for download on the OTN site. The only versions that are available for download can be found at:http://otn.oracle.com/software/products/oracle8i/content.html
    If you have access to the Oracle Store, please check for product availability there.
    Regards, OTN Team

  • Install Oracle 11.2.0.3 32Bit Client on Window 7 x64

    Good morning,
    I just tried to install the new Oracle 11.2.0.3 32Bit Client on Windows 7 x64, most of it
    works - just the OLEDB drivers are not registered ... does anyone know
    how to register them manually ? the 11.2.0.2 Client works fine ....
    And please don't answer "use the 64 Bit client". This is not the solution - since I have
    a lot of programs that still need the 32 Bit Client ...
    By the way the update from 11.2.0.2 to 11.2.0.3 does not work ... the installer fails ....
    Thanks for any info.
    Nils

    Hi Nils;
    Please see below notes:
    Is Microsoft Windows 7 certified to install/run Oracle Database Server/Client ? [ID 952302.1]
    Also see:
    Master Note For Oracle Database Client Installation [ID 1157463.1]
    Regard
    Helios

  • Oracle 10g XE migrate from 32bit to 64bit becomes slower

    Oracle 10g XE migrate from 32bit to 64bit becomes slower
    Currently we have a database using Oracle 10g XE R2
    (Oracle Database 10g Express Edition Release 10.2.0.1.0)
    on a linux 32bit server.
    And recently we did migrate it to another 64bit linux server.
    But found after migration is it running slower at 64bit server (~ 25% slower)
    1. We would wonder any tuning is required on 64bit server?
    Besides, as I know Oracle XE only using single core CPU for processing.
    On 32bit linux the CPU is Intel(R) Xeon(R) CPU E31235 @ 3.20GHz
    On 64bit linux the CPU is Intel(R) Xeon(R) CPU E5-2470 v2 @ 2.40GHz
    2. Would the CPU clock speed on a single core also made the 64bit Oracle slower?
    Thanks a lot.

    32 or 64 bit normally won't cause much performance difference as long as you can't use > 4GB RAM
    Please note that XE can use only 1 core and 1GB memory.
    According to benchmarks, Single Thread Rating of the 2 CPU really differ by around 25%. Quite consistent with your observation.
    Of course, IO (i.e., disk) speed is also an important factor.
    https://www.cpubenchmark.net/cpu.php?id=2003
    https://www.cpubenchmark.net/cpu.php?id=1200

  • Oracle Enterprise Linux 5.4 32bit is not available in oracle edelivery.

    now, Oracle Enterprise Linux 5.4 32bit not in oracle edelivery. the zip file have no speed. but the new release is normal.
    From where can i download it. thank you!

    Hi,
    The Oracle Enterprise Linux 5.4 is in oracle edelivry in URL with a file .zip.
    - Select a Product Pack: Oracle Linux
    - Platform: x86 32 bits
    Then, choose Oracle Linux Release 5 Update 4 Media Pack for x86 (32bit)
    - DownLoad
    - Decompress and you find the Enterprise-R5-U4-Server-i386-dvd.iso
    an enjoy you self
    I hope this can help you
    Best Regards

  • Upgrade from OracleAS 10.1.2.0.0 to OracleAS 10.1.2.0.2

    Hi all.
    I've been reading the "Oracle® Application Server Upgrade and Compatibility Guide 10g Release 2 (10.1.2) for UNIX Part No. B14090-05".
    I'll need to upgrade an OracleAS installation here. I have OracleAS 9.0.4.1.0 installation and a Oracle BI services 10.1.2.0.0 mid-tier. This BI Services release is a Bug civilization, therefore, I need to upgrade it to a "bug free" release.
    In the aforementioned document, it states that "You Cannot Upgrade or Expand from Oracle Application Server 10g Release 2 (10.1.2.0.0) to 10g Release 2 (10.1.2.0.2)".
    Is that true? It sounds pretty weird cuz it is possible to upgrade from OAS 9.0.3 to 10g R2. Why wouldn't be possible to perform a simple release upgrade?
    I'm aware there's some OracleAS recent releases that do not have Oracle Forms and Reports Services (or something like this...) and this is a good argument for this not being possible.
    But still, I couldn't process this statement... Now, I'm really confused
    Thanks in advance,
    Marcos

    The answer is in metalink Note:339992.1.
    "Note, however, that while you cannot upgrade or expand your existing 10g Release 2 (10.1.2.0.0) installations to 10g Release 2 (10.1.2.0.2), you can install 10g Release 2 (10.1.2.0.2) middle tiers against an existing 10g Release 2 (10.1.2.0.0) Infrastructure. For more information, see "Understanding Version Compatibility"."
    Good luck,
    Marcos

  • Golden Gate 32bit for Oracle 10g and 11g

    Does oracle released Golden Gate 32bit for Oracle 10g and 11g, i could not able to find out 32bit http://edelivery.oracle.com or OTN.
    Thanks

    never mind, i was able to download from e-delivery.

  • Connecting Oracle(64bit) to SQL Server(32bit) with heterogeneous serv ODBC

    Hi,
    We are planing the migration of 32bit Oracle 9.2.0.8 (MS Windows Server 2003 EE SP1) to 64 bit Oracle 10.2.0.4 (MS Windows Server 2003 Standard x64 Edition SP2).
    We have tested the migration using export/import procedure, and everything passed ok.
    The problem is because the database we are planning to migrate (32bit) using Oracles heterogeneous Services ODBC agent in connection to 32 bit SQL Server 2000. When we have tried to implement that on 64bit 10.2.0.4 oracle we always get the message:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    Then we looked up the metalink and find the document: Is Generic Connectivity Available On Linux Or Windows 64-bit Platforms ? [*ID 361676.1*]
    Is there any way to make the connection between 64bit Oracle 10.2.0.4 and 32bit SQL Server using system DSN within the Windows ODBC Data Sources with choosing the SQL Server driver?
    The option with Database Gateway for ODBC (DG4ODBC) isn't free.
    Thanks

    Hi everyone
    As far as I am aware, you need to install the Discoverer EUL into an Oracle database and then use an ODBC connection to SQL Server. This is because Discoverer has hooks into the Oracle database and is looking for features that only exist in an Oracle database. If you are using an Infrastructure, which is mandatory when using 4i, you can use that database to store your EUL using an ODBC connection over to SQL Server.
    I hope this helps
    Best wishes
    Michael Armstrong-Smith
    URL: http://learndiscoverer.com
    Blog: http://learndiscoverer.blogspot.com

  • Windows 32bit OS 에서 Oracle Memory Sizing

    제품 : Database
    작성날짜 : 2007-12-21
    PURPOSE
    Windows 32bit OS 메모리 제약과 Oracle 에서 추가메모리 사용하도록 설정하는 방법을 설명한다.
    CONTENTS
    1. Windows 32bit 메모리 확장 관련 용어들
    2. Windows 32bit 메모리 확장 설정 방법
    3. AWE_WINDOW_MEMORY 파라미터 산정
    4. Windows 에서 Oracle 메모리 사용량 모니터링
    5. Windows 에서 Oracle 메모리 사용량 줄이는 방법
    EXPLANATIONS
    1. Windows 32bit 메모리 확장 관련 용어
    - /3GB
    Windows 32bit OS 에서 메모리 어드레싱은 4GB 까지 가능하고, 이 중 2GB 는 커널이 사용하고
    나머지 2GB 가 사용자 프로세스에게 할당되는 최대 메모리 크기이다. Windows 2000 이상에서는
    /3GB 옵션을 사용하여 커널에 1GB 만 할당하고 나머지 3GB 를 사용자 프로세스에게 할당하여
    2GB 한계를 넘어 메모리를 확장하여 사용할 수 있다. OS 에서는 boot.ini에 /3GB 옵션 추가하고,
    어플리케이션 실행파일 헤더에 IMAGE_FILE_LARGE_ADDRESS_AWARE bit 이 설정되어 있으면 된다.
    Oracle 8.1.7 이상에서는 기본적으로 IMAGE_FILE_LARGE_ADDRESS_AWARE bit 설정되었으므로 3GB
    사용가능하다. 참고로 Windows 64bit OS 는 한 프로세스당 어드레싱 가능한 메모리가 8TB 이므로
    32bit 에서 사용하는 추가적인 옵션들이 필요없다.
    - /PAE (Physical Address Extentions)
    /3GB 옵션과 더불어 32bit 메모리 제약을 넘기위한 방법으로, 가상 메모리내에 포인터 테이블로
    "별도 메모리 영역"을 매개함으로 프로세스가 사용할 수 있는 실제 메모리 크기를 확장한다.
    예를들어 Oracle 은 가상 메모리 2GB 영역 (/3GB 사용하면 3GB) 내에 포인터 테이블(window)만
    저장하고 실제 DB BUFFER CACHE 는 "별도 메모리 영역" 에 할당한 후, BUFFER CACHE 사용시
    포인터 테이블을 매개하여 실제 BUFFER CACHE 영역 사용한다. 여기서 "별도 메모리 영역" 도
    메모리를 사용하는 것이다.
    - AWE (Address Windowing Extensions) & Oracle 구현방식
    AWE 는 PAE 기능을 사용하도록 어플리케이션에 제공된 API 이다.
    AWE API 를 사용한 오라클 버젼들은 아래와 같다.
    * Oracle 8.1.6.x
    * Oracle 8.1.7.x
    * Oracle 9.2.x
    * Oracle 10.1.x
    * Oracle 10.2.x
    주의! 9.1.0.x 는 AWE 지원안됨.
    AWE 구현된 Oracle 버젼들은 3GB 이상의 SGA 사용할 수 있는데, 정확히 말하면 SGA 중 BUFFER CACHE
    영역만 3GB 이상의 "별도 메모리 영역"에 지정할 수 있다. 오라클에서 AWE 를 사용하면 BUFFER CACHE
    사용시 포인터 테이블과 실제 BUFFER CACHE 가 있는 별도 메모리 영역과의 mapping & unmapping
    과정이 추가되므로 기본적인 처리보다 느릴 수 있지만, 적어도 IO 을 줄일 수 있기 때문에
    IO 느린 시스템에서는 성능 향상을 기대할 수 있다.
    2. Windows 32bit 메모리 확장 설정 방법
    - boot.ini 에 /3GB /PAE option 을 추가
    multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Advanced Server" /3GB /PAE
    - 오라클 서비스 실행하는 OS USER 에 "Lock memory pages"의 권한 부여
    . Start -> Programs -> Administrative Tools -> Local Security Policy
    (on a Domain Controller, click on 'Domain Security Policy' instead of 'Local Security Policy')
    . Double-click on the 'Lock Pages in memory' policy.
    . Add the appropriate user and click 'Ok'.
    . Restart the OracleService<SID>
    - 포인터 테이블 (window) 크기 지정하는 AWE_WINDOW_MEMORY 를 레지스트리 추가
    . HKEY_LOCAL_MACHINE => Software => Oracle => HomeX 에 AWE_WINDOW_MEMORY=1024000000 추가
    주의! 여러 인스턴스라면 각 Home 에 추가
    - init.ora 에 USE_INDIRECT_DATA_BUFFERS=TRUE 추가하고 DB_BLOCK_BUFFERS 로 BUFFER CACHE 크기 설정
    주의! DB_CACHE_SIZE 로 BUFFER CACHE 지정하면 에러 발생한다.
    ORA-00385: cannot enable Very Large Memory with new buffer cache parameters
    - Oracle10g 에서는 SGA_TARGET=0 설정하여 Automatic Memory Management 를 disable 해야한다.
    3. AWE_WINDOW_MEMORY 크기 계산 방법
    (1) 기본값 : AWE_WINDOW_MEMORY = 1GB
    /PAE /3GB 를 지정해도 아래 메모리들의 총합은 3GB 내에 들어와야한다.
    - AWE_WINDOW_MEMORY
    - BUFFER CACHE 제외한 SGA (shared_pool, large_pool, java_pool, log_buffers ...)
    - Overhead for Oracle.exe DLLs (100MB 정도)
    - Stack space per thread (1MB/thread)
    - PGA and UGA
    결국 BUFFER CACHE 최대 크기는 OS 메모리 - 4GB + AWE_WINDOW_MEMORY 로 산정된다.
    (여기서 4GB는 Oracle이 사용하는 3GB와 OS에서 사용하는 1GB의 합. 결국 이 영역을 제외한 나머지 영역에 buffer cache를 지정하여 사용할 수 있다.)
    예를들어 12GB RAM 시스템에서 최대 BUFFER CACHE 크기= (Total RAM - 4GB + AWE_WINDOW_MEMORY) = 12GB - 4GB + 1GB = 9GB 이다.
    (2) 8.1.7 이하에서는 AWE_WINDOW_MEMORY 최소값 제한이 없었으나,
    Oracle9i R2 부터 최소값보다 작게 설정하면 DB 기동시 에러들이 발생한다.
    ORA-27102 out of memory
    OSD-00034 Message 34 not found; Product=RDBMS;facility =SOSD
    O/S Error: (OS 8) Not enough storage is available to process this command
    AWE_WINDOW_MEMORY 최소값 계산 공식
    a. MIN(AWE_WINDOW_MEMORY)= (4096 * DB_BLOCK_SIZE * DBBLOCK_LRU_LATCHES)/8
    b. DBBLOCK_LRU_LATCHES = (Max buffer pools * SETS_PER_POOL)
    c. Max Buffer Pools = 8 (상수)
    d. SETS_PER_POOL /* USE_INDIRECT_DATA_BUFFERS=TRUE 로 VLM ENABLED */
    SETS_PER_POOL = 2*CPU_COUNT (if VLM is enabled)
    SETS_PER_POOL = CPU Count/2 (if VLM is NOT enabled)
    시나리오 #1:
    # of CPU's = 8
    DB_BLOCK_SIZE = 8192
    Total RAM = 8GB
    SETS_PER_POOL = 2 * CPU_COUNT = 16
    DBBLOCK_LRU_LATCHES = (max buffer Pools * sets_per_pool) = 8*16 = 128
    MIN(AWE_WINDOW_MEMORY) = (4096*DB_BLOCK_SIZE * DBBLOCK_LRU_LATCHES) / 8
    = (4096 * 8192 * 128) / 8 = 536870912 bytes = 512 MB
    시나리오 #2:
    # of CPU's = 16
    DB_BLOCK_SIZE = 8192
    Total RAM = 16 GB
    SETS_PER_POOL = 2 * CPU_COUNT = 32
    DBBLOCK_LRU_LATCHES = (max buffer Pools * sets_per_pool) = 8*32 = 256
    MIN(AWE_WINDOW_MEMORY) = (4096*DB_BLOCK_SIZE * DBBLOCK_LRU_LATCHES) / 8
    = ( 4096 * 8192 * 256) / 8 = 1073741824 bytes = 1024 MB
    주의 !!!
    1. ORA-27102 는 AWE_WINDOW_MEMORY 최소값 이하일때도 발생하지만, BUFFER CACHE 가
    실제 메모리보다 크게 지정된 경우에도 발생한다.
    2. ORA-27102 는 DB_BLOCK_BUFFER < AWE_WINDOW_MEMORY 일때도 발생한다.
    3. AWE_WINDOW_MEMORY 설정값은 "계산된 최소값 + 10 MB (overhead)" 으로 설정해야한다.
    4. Hyperthreading enabled 시스템의 경우 # of CPU's 를 두배로 계산해야한다.
    4. Windows 에서 Oracle 메모리 사용량 모니터링
    TASK MANAGER 에서 VM 값은 정확하지 않으므로 관리도구에서 별도 모니터링해야한다.
    관리도구 => Perfomance 선택 => "추가" => 성능개체:Process, Count:Virtual Bytes, Instance:oracle.exe 선택
    5. Windows 에서 Oracle 메모리 사용량 줄이는 방법
    (1) Oracle 실행파일 스택 크기 조정
    Thread 들이 미리 1MB 스택을 PGA 로 선점하고 필요하게 되면 더 확장해서 사용하는데
    대부분들의 Thread 들은 초기 스택도 사용하지 않는 경우가 많다.
    아래처럼 default=1 MB 를 500 KB로 줄일 수 있다.
    . DB 내린 후 ORACLE_HOME/bin 에서 수행
    C:\OH\bin> orastack oracle.exe 500000
    C:\OH\bin> orastack tnslsnr.exe 500000
    C:\OH\bin> orastack svrmgrl.exe 500000
    (2) Shared Server (pre-Oracle9i 는 MTS 설정) 사용: 세션들이 메모리를 공유하므로 Oracle 프로세스 전체적인 메모리를 줄일 수 있다.
    References
    Note 225349.1 - Implementing Address Windowing Extensions (AWE) or VLM on Windows Platforms
    Note.205089.1 - Oracle and Hyperthreading

    Basically ORA-12154 means, service name can't be found in tnsnames.ora or this file can't be located at all. Are there multiple ORACLE_HOMEs on the machine ? Is the application based on OLEDB running in a different home , NOT in the client's ORACLE_HOME? You may set TNS_ADMIN, pointing to your tnsnames.ora, as global environment variable. So each application on the machine will know this location.
    I'm sure this is not a problem 64bit versus 32bit.
    Werner

Maybe you are looking for

  • VO substitution on iProc requisition Approvals page

    I have made a substitution to the seeded ReqsToApprVO on the /oracle/apps/icx/por/reqmgmt/webui/ApprovalsPG to add some additional information (Supplier name). This works fine on the standard "View requistions to approve" When the user selects the "V

  • Elements 7 seeing old Camera Raw & not new one!?

    I have downloaded and installed Camera Raw 5.5. on a Windows XP PC running PSE7. The previous version of Camera RAW 4.4. is removed but kept in a folder for safekeeping on the desktop (as Adobe ReadMe recommends).  When the RAW editor is launched som

  • Illustrator CC 2014 Cannot open .eps, and .ai files.

    Hello! I recently began using the Creative Cloud and am trying to open a file made in a previous version of illustrator.  I'm getting an error "The file '123.ai' is in an unknown format and cannot be opened.'"  It says the same thing about .eps files

  • Delete PO item Problem - Budget Exceeded

    Hii SAP expert, need your help, i have create PR --> RFQ -->PO... then i realize i need to delete the PO item because of certain thing are not clarified. therefore i'm using delete indicator tu delete the PO item, when i do the saving action, system

  • Bdc program for uploading region data in sales analysis

    hi expert,     i want to upload the region data in sales transaction show that i want to analysis the area wise sales detail for different material.for this which *transaction code* ,i should use for recording.can any body provide me example for BDC