Increase SGA on database with dataguard

hi all,
I have a database (10.2.0.2.0) configured with dataguard and we want to increase the SGA. We want update the RAM from Server ( Microsoft Windows Server 2003 R2 Server 5.2 Service Pack 2 (32-bit) ) with double memory RAM (actually 8G):
The steps would be the next?:
- SQL>alter system set sga_max_size=16G scope=spfile;
- SQL>alter system set sga_target=16G scope=spfile;
- shutdown immediate;
- startup;
Same in the standby database?
Thanks in advance.

Hi;
What is your current SGA_MAX_SZE parameter? the SGA_MAX_SZE parameter is not dynamic in oracle 10g.
To increase the sga size for your instance or to decrease,
1. Make the entry in the pfile as sga_max_size=value. (generally pfile at 'ORACLE_HOME\database') *
2. Shutdown the DB
3. Startup the DB with the pfile as " SQL> STARTUP PFILE='path of the pfile edited' "
4. Your DB is now running on pfile, to make the changes in spfile "SQL>CREATE SPFILE='path of the spfile' FROM PFILE"
5. Shutdown Immediate
6. Startup the DB with the newly created spfile " SQL>STARTUP SPFILE='path of the spfile' "
7. sql> show parameter sga to make sure your changes takes effect
8. You can increase SGA_TARGET dynamicly by ALTER command.
Regard
Helios

Similar Messages

  • Streams on a source Database with DataGuard in place

    Hello,
    I want to know what would be the impact on performance on setting up Streams on a 9i RAC Database, which already has DataGuard implemented to a single instance database.
    From the forums I have read that Streams works closely with redo logs and it can also be affected by archiving, so if my source database is archiving locally and remotely because of DataGuard, could this affect functionality or performance?
    Thank you in advance.

    Sure it will not have any affect on the functionality. Streams mines redo logs (and archive logs if needed) for the DDL and DML changes. It depends in which protection mode is your Data Guard is configured.
    If its Max Protection then Streams has nothing to do with DG
    If its Max Performance and you use LGWR ASYNC then yes, both Streams and DG will be mining the redo logs and you may have some performance issues but I think it will be negligible. The LNS process outside the SGA will be responsible in DG env to transport the changes and a Capture process again outside the SGA will be held responsible to mine the changes in Streams setup.
    Conceptually, this should not have any performance impact on your Primary.

  • Creating Standby database with Oracle 10gR2 SE (no dataguard). Procedure

    Hello,
    I have problems in creating a standby database without Dataguard (Oracle Standard Edition)
    -Oracle 10gR2 SE (No DataGuard !!!!)
    - SUSE Enterprise 10.
    Both primary and standby databases are running in Virtual machines (lab).
    I will describe the exact steps I followed :
    1.---------------------------------------------------
    Both primary and standby databases have exactly the same file / folder structure
    2.---------------------------------------------------
    I enabled archive log mode with a new destination : /opt/oracle/oradata/orcl/archive_logs.
    Also : SQL> alter database force logging;
    3.---------------------------------------------------
    I shut down the primary database (shutdown immediate)
    4.---------------------------------------------------
    I created a standby controlfile on the primary database:
    SQL> startup mount
    SQL> alter database create standby controlfile as '/tmp/standby.ctl'
    SQL> shutdown immediate
    5.---------------------------------------------------
    I did a cold backup from the primary db to the standby db
    (I copied all the db files, control files, redo log)
    6.---------------------------------------------------
    I copied from the primary db to the standby db the standby control file
    (from primary /tmp/standby.ctl)
    7.---------------------------------------------------
    I copied from the primary db to the standby db the standby control file
    (from primary /tmp/standby.ctl)
    8.---------------------------------------------------
    I created on the standby database a pfile from the spfile :
    SQL> create pfile from spfile;
    9.---------------------------------------------------
    I edited the pfile and changed the controlfile location (with the standby controlfile created in step 4)
    >>>>> *.control_files='/opt/oracle/oradata/orcl/standby.ctl'
    10.--------------------------------------------------
    I started the standby db
    SQL> startup mount pfile='/opt/oracle/product/10.2/db_1/dbs/initorcl.ora'
    SQL> alter database recover managed standby database disconnect from session;
    SQL> quit
    11.--------------------------------------------------
    I made some changes on the primary db on user scott
    SQL> update table set .......
    12.--------------------------------------------------
    I switched logfile on the primary db
    SQL> alter system switch logfile;
    13.--------------------------------------------------
    I manually copied the new archivelog to the standby db
    And then nothing !!!
    The db changes are not applied.
    Please help me fix the procedure !!!
    Thanks

    Hi
    Ref to your Oracle SE Standby issue, we were in similar situation couple of years ago to build an Automated Standby for our disaster recovery on Oracle SE. We finally got a solution provider Anbul Technologies , they have a one of their solutions based on Oracle SE which provided fully automated Standby in Oracle SE.
    We are successfully running that solution in our prod env for many years. You can visit their site www.anbultechnologies.co.uk or contact them for further details. They are Uk based but provides support and services all over Europe.
    Cheers

  • Increase SGA size with ORA-02095.

    Hi Experts,
    I want to increase SGA for oracle 10G in window 2003 . however, I got error as
    SQL> alter system set sga_max_size=1700M,scope=spfile;
    alter system set sga_max_size=1700M,scope=spfile
    ERROR at line 1:
    ORA-02095: specified initialization parameter cannot be modified
    SQL> alter system set SGA_TARGET=1700M scope=SPFILE;
    System altered.
    SQL> alter system set sga_max_size=1700M,scope=spfile;
    alter system set sga_max_size=1700M,scope=spfile
    ERROR at line 1:
    ORA-02095: specified initialization parameter cannot be modified
    Now I just increase SGA_target as 1700M How to increase SGA_MAX_SIZE?
    Thanks
    JIM
    Edited by: user589812 on Mar 23, 2009 8:42 AM

    SQL> alter system set sga_max_size=1700M,scope=spfile;
    alter system set sga_max_size=1700M,scope=spfile
    ERROR at line 1:
    ORA-02095: specified initialization parameter cannot be modified
    take out comma,
    alter system set sga_max_size=1700M scope=spfile;

  • Increase SGA more than 3GB in Windows Server 2003 Ent. R2

    Dear Sir;
    I have 2 servers with Windows server 2003 Enterprise R2, both servers are 32 Bit, but windows can manage our 16GB installed on this server.
    Our database is 10.2.0.3 (32 Bit) With RAC.
    My issue is to increase Instances SGA to 7 or 8 GB. I failed to increase it more than 3GB in both nodes.
    Please help
    Thanks and best regards
    Ali Labadi

    Dear all;
    I have walkthrough on all the documents you have sent and make the following changes on DB pfile:
    1-     Remove the DB_CACHE_SIZE.
    2-     Add a new parameter DB_BLOCK_BUFFERS
    3-     Add a new parameter USE_INDIRECT_DATA_BUFFERS=TRUE.
    4-     Increase SGA to 7000M
    NOTE: Windows can manage my 16GB as 15.2GB of RAM
    In OS level, update the boot.ini file by adding the following line:
    multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows Server 2003, Enterprise Edition" /3GB /PAE
    in Oracle home registry I have added the below string:
    AWE_WINDOW_SIZE- value: 1073741824
    Startup database using new pfile, returns error cannot start database using the current system setting, shared_pool_size must be larger than xxxx.
    I have increased the shared_pool_size but no luck, even when I increase it to reach 1GB it also return the same error with same value which is less than 200MB
    Please advice.
    Regards
    ali

  • UPDATE STANDBY SITE NAME with DATAGUARD BROKE "DGMGRL"

    I've a llitlle PB with my Dataguard
    After shutdown both sites to increase SGA size in Primary site and update in secondary site too
    I start the Primary site without Pb.
    But the Secondary site don't want to start.
    When I do a startup it fails.i check in Dataguard and i found
    The Pb is the secondary site name is not ('DMWEBDG_srvsdmwebp02')
    bu only "DMWEBDG"
    And I can't find any way to update the site name in Dataguarg.
    the Alter command doesn't explain very well.
    Soes anyone knows how to do it?
    Thxs
    DGMGRL> show site verbose 'DMWEBDG_srvsdmwebp02'
    Site
    Name: 'DMWEBDG_srvsdmwebp02'
    Hostname: 'srvsdmwebp02'
    Instance name: 'DMWEBDG'
    Service Name: '(DESCRIPTION=(ADDRESS_LIST = (ADDRESS=(PROTOCOL=tcp)(HOST=srvsdmwebp02.int.imd.ch)(PORT=1525)))(CONNECT_DATA=(SID=DMWEBDG)(SERVER=DEDICATED)))'
    Standby Type: 'physical'
    Number Built-in Processes: '2'
    Number Generic Processes: '0'
    Enabled: 'yes'
    Required: 'yes'
    Default state: 'STANDBY'
    Intended state: 'STANDBY'
    PFILE: ''
    Number of resources: 1
    Resources:
    Name: DMWEBDG_srvsdmwebp02 (default) (verbose name='DMWEBDG_srvsdmwebp02')
    Current status for "DMWEBDG_srvsdmwebp02":
    Warning: ORA-01034: ORACLE not available

    Thxs
    The PB was Solved.

  • 32-bit 10g2 database with 40+GB datafiles

    Hi,
    I have a COTS product which uses 32-bit Oracle database. Currently, there 40+GB of datafiles. While monitoring the database server, I realised the number of processes hit>80 which leads to browsing my COTS product's performance deteroriated. People have recommend to increase the PGA and SGA, it seems better.
    Just wondering, how much datafiles can a 32-bit database handle? Cause the max memory that i can assign to a 32-bit server is only 4GB

    becks wrote:
    Understand datafiles size is limited the disk space, was thinking if a 32-bit database can process that amount of datafiles w/o increasing the RAM. I asking this because when the database is first setup, we do not experience any performanace issue. Now we are experiencing the deteroriate and the situation is better after increasing the SGA and PGA. What is the actual root cause?
    The advice to increase SGA means increasing Oracle's shared memory. The SGA comprises of multiple buffer areas. None is specific to the number of database files.
    Ito file I/O, the Buffer Cache can be increased in order to have a larger cache for data in memory. But this is not directly related to the number of database files - it relates to what data is read from disk (database files). A small buffer cache can be a problem with a small number of data files - and not a problem with a large number of data files. The issue is the nature of the I/O being done - and not the number of data files.
    As for PGA - that relates to how the PL/SQL engine is used (PL/SQL code design). Not to the number of data files.
    I believe increasing SGA and PGA is related to the RAM of the database server. Correct.
    So was thinking that we have to keep increasing SGA and PGA when the size of datafiles increased again. As already mentioned - there is no direct relationship between the number of data files and the SGA. PGA relates to the PL/SQL engine (private process memory) - and this too has nothing to do with the number of data files.
    So thinking that 4GB is limited by 32-bit server, there will be a MAX memory that i can increas the SGA and PGA.Perhaps you should tell the forum what the actual performance problem is - instead of discussion a solution (increasing the SGA/PGA) that has no direct bearing on the number of data files used by the database.

  • SQL exception during creation of a physical standby database with EM

    Version: EM Oracle 10.2.5 (agents running, repository running, primary db running, all targets visible and reachable with EM)
    I try to create a physical standby database with the enterprise manager and each time the process is aborted with a SQL exception during the preparation of the job by the EM. I have added a part of the OMs log containing the error at the end of the excerpt.
    =============
    2010-04-29 16:00:39,856 [EMUI_16_00_39_/console/targets] WARN pref.SubtabPref getFolders.710 - Unknown folder id: VirtualServers retrieved from repository
    2010-04-29 16:01:04,765 [EMUI_16_01_04_/console/database/dataguard/create] ERROR em.dataguard validate.1329 - CreateBean: ClassNotFoundException: null
    2010-04-29 16:02:05,476 [EMUI_16_02_05_/console/database/dataguard/create] ERROR jobs.dbclone checkSetFileError.79 - DatabaseFileAttributes.checkSetFileError(): Null database file!
    2010-04-29 16:02:05,476 [EMUI_16_02_05_/console/database/dataguard/create] ERROR jobs.dbclone setControlfiles.160 - DatabaseFileAttributes.setDatafiles(): Invalid control file!
    2010-04-29 16:02:05,492 [EMUI_16_02_05_/console/database/dataguard/create] ERROR jobs.dbclone getControlFileNames.616 - DatabaseFileAttributes.getDatafileNames(): null datafile names!
    2010-04-29 16:02:32,823 [Thread-28] ERROR em.jobs remoteOp.2389 - DBVerify.remoteOp(): Error: max_stamp# 6071384
    2010-04-29 16:02:32,823 [Thread-28] ERROR jobs.dbclone submitJobPreparation.3297 - DBCloneObject.submitJobPreparation(): getMaxLogSequenceNum: Während der Vorbereitung des Jobs ist eine SQL Exception aufgetreten. Um das Problem zu diagnostizieren, legen Sie das Agent Perl-Skript-Tracing auf DEBUG fest und wiederholen den Vorgang
    2010-04-29 16:02:32,823 [Thread-28] ERROR jobs.dbclone submitJobPreparation.3501 - DBCloneObject.submitJobPreparation(): Exception: java.lang.Exception: Während der Vorbereitung des Jobs ist eine SQL Exception aufgetreten. Um das Problem zu diagnostizieren, legen Sie das Agent Perl-Skript-Tracing auf DEBUG fest und wiederholen den Vorgang
    2010-04-29 16:02:32,823 [Thread-28] ERROR jobs.dbclone submitDBCloneJob.3716 - DBCloneObject.submitDBCloneJob(): Exception: Während der Vorbereitung des Jobs ist eine SQL Exception aufgetreten. Um das Problem zu diagnostizieren, legen Sie das Agent Perl-Skript-Tracing auf DEBUG fest und wiederholen den Vorgang
    2010-04-29 16:02:37,496 [EMUI_16_02_37_/console/database/dataguard/create] ERROR em.dataguard onEvent.1243 - CreateConfigController: Exception: oracle.sysman.db.dg.util.VxxStandbyException: Während der Vorbereitung des Jobs ist eine SQL Exception aufgetreten. Um das Problem zu diagnostizieren, legen Sie das Agent Perl-Skript-Tracing auf DEBUG fest und wiederholen den Vorgang
    =========
    I have set the agent perl script tracing to DEBUG, but can't find any reason, why the job preparation failed.
    Has anyone an idea why the job cannot be prepared? Thanks in advance for investigation :-)

    Can you please tell me how can i see data gaurd on EM..
    I have oracle 11gR1..i have implemmented primary as well standby database..
    I have already started EM but i have no idea where to find datagaurd option..or how to create standdby db using EM..
    You got error that means u did it using EM..how can i do it on EM

  • Size limit of access database with image files stored outside database

    I have read 2GB limit on size of Access database.  We are using Access 2013 database with fields that are data type attachment and storing attached images outside the database.  Does the size of the folder that is holding these images count
    in any way toward 2GB size limit?

    Hi,
    As far as I know, Access database limit size 2GB based on itself, not related to the folder size.  Attachment data
    type is similar to attaching files to e-mail messages. We need to control the Access database size is smaller then 2GB.
    When a field is defined with the attachment data type, you can store one or more files for each record in it.
    Attachments can dramatically increase the size of the database, but since the attached file is stored as a part of the dabatbase, you are not dependent on network drives being available as you would be if you inculded a hyperlink to the file. As a matter of
    fact, feel free to backup the origainal file to other disk after you attach it to the database.
    Regards,
    George Zhao
    TechNet Community Support

  • Problem with DataGuard

    Hello.
    Please help me with problem. I install OEM with DataGuard on one computer and install database and agent on other. When I install this programs I can manage from OEM other computer on what install database. After I try create standby database for my database from OEM but it answered me "Cannot determine primary host architecture". What I need do for fix this problem? I can create standby database for base on one computer but I can't create standby for database on other computer.

    Can you be more specific ?
    -- Where is the Primary DB installed on ? Which version of DB ? What version of agent is installed on it ?
    -- Where is the OEM Grid installed on ? Version ?
    -- Where are you trying to create the Standby DB on ? If it is on a different server what version of the agent is installed on it ?
    -- Have you enabled the parameters for Data Broker ?

  • Alert Log File Monitoring of 8i and 9i Databases with EM Grid Control 10g

    Is it possible to monitor alert log errors in Oracle 8i/9i Databases with EM Grid Control 10g and EM 10g agents? If yes, is it possible to get some kind of notification?
    I know that in 10g Database, it is possible to use server generated alerts, but what about 8i/9i?
    Regards,
    Martin

    Hello
    i am interested in a very special feature: is it possible to get notified if alerts occur in alert logs in an 8i/9i database when using Grid control and the 10g agent on the 8i/9i systems?
    Moreover, the 10g agent should be able to get Performance Data using the v$ views or direct sga access without using statspack, right?
    Do you know where I can find documentation about the supported features when using Grid Control with 8i/9i databases?

  • Test physical standby database in dataguard

    Hi all,
    I had a successfull dataguard implementation for oracle 9r2.
    Primary and standby databases are on different nodes, logs from primay are shipping and applying to physical standby database successfully.
    As these database are for oracle 11i ebs, so for testing dataguard status i had created a table manually having columns date and remarks. Periodically i insert few records in this table in primary database and then chek this tabel in standby database (by opening in read only mode).
    Now i want to test physical standby database with applications tier  but don't want to disturb origional primary database.
    as these are the normal switchover steps
    1) at primary db
    ALTER DATABASE COMMIT TO SWITCHOVER TO PHYSICAL STANDBY WITH SESSION SHUTDOWN;
    2) at standby
    ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY;
    3) at primary, now this will be the stand by database
    SHUTDOWN IMMEDIATE;
    STARTUP MOUNT;
    4) at standby, now this will be the primary database
    SHUTDOWN IMMEDIATE;
    STARTUP
    My concern is if i skip step 1 and 3 and only execute step 2 and 4, will that be applicable for my requirement, or there is some other way to achieve this goal.
    Regards,
    Ken

    To avoid touching the primary production DB, you may try to use the following command on your standby database side:
    alter database activate standby database;
    This will turn your standby database to primary database, however the log will be reset and this means you will need to rebuild your DR.
    Another way is to use flash back feature on your standby database, activate it and revert back to the flashback point when the DR testing is done.

  • What are the differences of creating a physical standby database with ASM?

    I want to create a physical standby database for my 10g(10.2.0.1) database. But it is using ASM. Is it possible to create a standby database for a database using ASM?
    What are the differences of creating a physical standby database with ASM?

    tell us what your research shows and we'll try to
    validate it. I am simulating Oracle ASM on a PC and I want to try
    DataGuard on it now. So I am trying to create DataGuard
    on an ASM system. The purpose is only learning and test.That's telling us how you are researching, not what you have observed.
    Your research could have included looking at the documetation, and you might have found http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/scenarios.htm#sthref1642
    which discusses exactly what you are looking for.
    Message was edited by:
    Hans Forbrich

  • Creating a question and answer database with un incremental question table

    Hello,
    i have a project which am suppose to create a database which will be Question and Answers.
    the Question are not to be increasing in the database but only the answers.
    exp:
    Question Table:
    Questions: have you slept well?. Do you have children?. and so on till 12 question.
    Answer Table:
    Answers : 1.yes, 2.no, 3.may be, 4.some how,
    and this Answer should be updated in the database with numbers for instant yes should be 3, no should be 0, may be should be 2 and some how should be 1.

    Related forum thread:
    http://stackoverflow.com/questions/4695227/how-to-structure-a-database-with-questions-and-answers
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Upgrade of database in Dataguard Configuration

    Hi,
    I have few doubts regarding upgrading of database in in a dataguard configuration. Could someone please help me out.
    - How does upgrade happen in dataguard configuration?
    - Is that we have to install only different OH in both? And once the catupgrade script is run on primary, it will automatically upgrade standby as well?
    - Or is that we have to upgrade both separately? i.e, standby first and then primary or vice versa
    - Can we reduce downtime by breaking the dataguard config. Do a switchover and make secondary as primary and upgrade primary first?
    And once the upgrade is completed in primary, bring it up and later upgrade the standby. And later once the upgrade is completed on standby, synch both primary and standby.
    Please share your ideas and thoughts!
    Thanks!

    First of all, -steps may differ regarding the upgrade versions but- my post with the following link would help you clarify the concept.
    http://emrebaransel.blogspot.com/2009/02/10204-upgrade-with-dataguard.html
    user1982050 wrote:
    Hi,
    I have few doubts regarding upgrading of database in in a dataguard configuration. Could someone please help me out.
    - How does upgrade happen in dataguard configuration?First you patch the Oracle binaries on both primary and standby. Then open dataguard services and upgrade the primary database, standby will update itself already.

Maybe you are looking for

  • How do I remove credit card from file

    HHow do I remove credit card

  • Error while creating a Planned Order

    Hi SAP Experts, I have an error encountered while creating a Planned Order which is "Mode linkage problem with mode number". Diagnosis:     An application program called an LCA routine and the following error occurred:     An order has at least one c

  • Latin MIDI loops don't load the right kit

    I tried to pull in the Software Instrument Loop: Latin Percussion 01 Loop from the Apple Loop Browser and the result is completely different from the preview you get out of the Browser. The patch that seems to be loaded when you drag it to let it mak

  • Unable to install Windows 8.1 on Dell Inspiron 15-3521

    Every time I try to install the Windows 8.1 update it tells me that I must log onto an account that has "administrator privileges." I am the administrator on my computer. Any ideas how to fix this and get the 8.1 update?

  • ITunes has stopped working (iTunes store only) Help!

    Not sure what happened, but just week, I keep getting the message 'iTunes has stopped working.' I just downloaded and installed iTunes 10.5. It seems to only be a problem when I try to access the iTunes Store. I checked from problems, and found this