Sga confusion

Hi,
I am running oracle 10.2.0.4 on RHELAS U4.6 and kernel is Linux 2.6.9-67.ELhugemem #1 SMP i686 i686 i386 GNU/Linux.
Current RAM of the system is 32GB and current sga size is 3G.
My question over here is that is it possible that I can increase the sga_target=4G and sga_max_size=8G?
One thing more my installed OS is 32-bit
Thank you for your cooperation.
Kind Regards,
Adnan Hamdus Salam.
Edited by: adnan on Feb 15, 2012 2:28 AM
Edited by: adnan on Feb 15, 2012 2:29 AM

Hi,
So I have to perform these steps.
But in my case I already set the shmmax to 4G and
none 16G 0 16G 0% /dev/shm
other values are
oracle soft memlock 1048576
oracle hard memlock 1048576
what will be the rest of steps?
Did not understand this as given below:
The following parameter should be added to the spfile or pfile.
use_indirect_data_buffers=true
Also, any references to db_cache_size and db_xK_cache_size parameters should be removed and replaced with the old style db_block_buffers parameter entry.
# 3Gig for an 8K db_block_size. ((3 * 1024 * 1024) / 8) = 393216
db_block_buffers = 393216
Thank you for your help and support.
Kind Regards,
Adnan Hamdus Salam

Similar Messages

  • Confusion on how oracle works in SGA

    i did the following
    Session 1
    conn user/password
    exec num(2000);/* this procedure generates numbers and inserts in a table on the xxx tablespace */
    Plsql procedure completed
    CommitCommit complete
         Session 2 /// this session is run simultaneously with session 1 using another terminal.
    conn sys/<password> as sysdba
    alter tablespace xxx offline normal
    tablespace altered>
    The problem is when the procedure is running I tried to turn the tablespace offline ..
    But the tablespace gets offline and the procedure is still running . and also I have commited the trasaction when the tablespace is offline. The commit is successful. The commit should be unsuccessful bcos the tablespace is offline.
    i am using oracle 10g R2 version on windows vista.
    can anyone also give me any links or info on how oracle actually works when i give a DML query. like insert. or update..

    but the procedure was still running when the
    tablespace went offline normal.
    How sure are you that the procedure was still successfully modifying the data ? It should have generated Oracle error ORA-00376: file N cannot be read at this time the moment the tablespace went off line.
    Is the code short enough to post ? (If so, don't forget the "code" tags - see FAQ at top right - to get a fixed font display).
    Is it not that dirty buffers are still being written
    and the tablespace has gone offline!The session updating the data should fail as the tablespace status is changed, and the database writer will be triggered to write all the dirty blocks from that tablespace to file before the tablespace offline is completed.
    >
    Do you mean to say that there are still dirty buffers
    belonging to the tablespace even after a checkpoint
    and the tablespace being down!No.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    P.S. Here's a cut-n-paste from a SQL*Plus session running 10.2.0.1 as the tablespace holding table t1 - with one row in it - is taken offline a few moments after the pl/sql starts running:
    SQL> insert into t1 values(1);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> get afiedt.buf
      1  begin
      2  for i in 1..1000000 loop
      3  update t1 set n1 = ln(i);
      4  end loop;
      5* end;
    SQL> /
    begin
    ERROR at line 1:
    ORA-00376: file 6 cannot be read at this time
    ORA-01110: data file 6: 'C:\ORACLE\ORADATA\DXR2\TEST_8K.DBF'
    ORA-06512: at line 3

  • SGA & PGA concept

    We have a production Oracle 11g DB in which SGA_TARGET is 0 but ASSM is enabled but the documentation on Oracle says that if SGA_TARGET is 0 means that ASSM is disabled. Also, PGA_AGGREGATE_TARGET is 0 but Maximum PGA allocated is around 1 GB.
    I hope, my question is clear that concept seems to be confusing where SGA_TARGET is 0 but ASSM is enabled and also PGA_AGGREGATE_TARGET is 0 but maximum PGA allocated is 1 GB.
    Please revert with the reply to my query.
    Regards

    972145 wrote:
    Thanks for your reply but there is some confusion. ASMM is automatic shared memory management which seems to be similar to AMM which is automatic memory management. ASMM can be seen from OEM under Database Configuration->Memory Advisors. I guess, there is ASM which is automatic storage management to do with reduntant copies of data to provide fault tolerance.
    ASMM - 10g setting for the automatic SGA using the parameter sga_target .
    AMM - 11g setting for both SGA and PGA, uses the parameter memory_target
    ASM - Automatic Storage Management, nothing to do with SGA or PGA
    ASSM - Automatic Segment Space Management, for the tables and nothing to do with the PGA and SGA
    Aman....
    Edited by: Aman.... on Jan 21, 2013 3:53 PM corrected the typo

  • Max SGA size in 32bit OS

    Hi,
    I have a EBS Production Instance (12.1.1) in a 32-bit OS (RHEL4.0).
    RAM: 16GB, SWAP: 8GB
    Our sga size is 1.7GB
    Is there any way to increase our SGA size.
    Please advice.
    Thanks in advance.

    You can use BIG PAGES
    For more info you can read the below docs:
    http://www.oracle-base.com/articles/linux/LargeSGAOnLinux.php
    32-bit Architecture and the hugemem Kernel
    The RHEL 3/4 smp kernel can be used on systems with up to 16 GB of RAM. The hugemem kernel is required in order to use all the memory on systems that have more than 16GB of RAM up to 64GB. However, I recommend the hugemem kernel even on systems that have 8GB of RAM or more due to the potential issue of "low memory" starvation (see next section) that can happen on database systems with 8 GB of RAM. The stability you get with the hugemem kernel on larger systems outperforms the performance overhead of address space switching.
    With x86 architecture the first 16MB-896MB of physical memory is known as "low memory" (ZONE_NORMAL) which is permanently mapped into kernel space. Many kernel resources must live in the low memory zone. In fact, many kernel operations can only take place in this zone. This means that the low memory area is the most performance critical zone. For example, if you run many resources intensive applications/programs and/or use large physical memory, then "low memory" can become low since more kernel structures must be allocated in this area. Low memory starvation happens when LowFree in /proc/meminfo becomes very low accompanied by a sudden spike in paging activity. To free up memory in the low memory zone, the kernel bounces buffers aggressively between low memory and high memory which becomes noticeable as paging (don't confuse it with paging to the swap partition). If the kernel is unable to free up enough memory in the low memory zone, then the kernel can hang the system.
    Paging activity can be monitored using the vmstat command or using the sar command (option '-B') which comes with the sysstat RPM. Since Linux tries to utilize the whole low memory zone, a low LowFree in /proc/meminfo does not necessarily mean that the system is out of low memory. However, when the system shows increased paging activity when LowFree gets below 50MB, then the hugemem kernel should be installed. The stability you gain from using the hugemem kernel makes up for any performance impact resulting from the 4GB-4GB kernel/user memory split in this kernel (a classic 32-bit x86 system splits the available 4 GB address space into 3 GB virtual memory space for user processes and a 1 GB space for the kernel). To see some allocations in the low memory zone, refer to /proc/meminfo and slabtop(1) for more information. Note that Huge Pages would free up memory in the low memory zone since the system has less bookkeeping to do for that part of virtual memory, see Large Memory Optimization (Big Pages, Huge Pages).
    If you install the RHEL 3/4 hugemem kernel ensure that any proprietary drivers you are using (e.g. proprietary multipath drivers) are certified with the hugemem kernel.
    In RHEL 2.1, the smp kernel is capable of handling up to 4GB of RAM. The kernel-enterprise kernel should be used for systems with more than 4GB of RAM up to 16GB.
    Above article taken from http://www.puschitz.com/TuningLinuxForOracle.shtml#32BitArchitectureEdited by: user00726 on Aug 6, 2010 2:02 AM

  • Confusion over ASM

    Hi All,
    i was going through ASM docs and so far my understanding " its is purely an instance which has got only the metadata of all the RDBMS instances using that ASM"
    In ASM instance we dont have redo log file, datafiles etc then what is the functionality of DBWr and LGWr background processes in ASM instnace?
    Regards,
    ASM

    Hans Forbrich wrote:
    Aman,
    Even I started with the misinterpretation that ASM handles I/O for the database. Not quite correct.
    In the simplest explanation of ASM I've come up with is: Actual database I/O is 'raw', with the benefit that ASM manages the table of contents of the disk. The database server process asks ASM where to start reading; the DBWR asks ASM where to start writing - both server process and DBWR still operate.
    "The Oracle ASM instance manages the metadata and provides space allocation for the Oracle ASM files. When a database instance creates or opens an Oracle ASM file, it communicates those requests to the Oracle ASM instance. In response, the Oracle ASM instance provides file extent map information to the database instance."
    This is taken from the 11gR2 ASM manual in Chapter 1 http://download.oracle.com/docs/cd/E11882_01/server.112/e10500/toc.htm at Fig 1-1
    Hans,
    Thanks so much for the correction and for the link. I stand corrected, ASM does teh metadata writes only, the actual data IO operations are handled by the db's background processes only.
    Just now, I opened [ASM Under the Hood book|http://www.amazon.com/Oracle-Automatic-Storage-Management-Under/dp/0071496076] and was reading it to find the answer and page no 44 clearly mentioned the same what you have just said. Here is a note from the same page about DBWR ,
    >
    This processes manages the SGA buffer cache in the ASM instance. DBWR writes out dirty buffers ( changed metadata buffers ) from ASM buffer cache to disk. >
    Which I believe is a very clear explanation that ASM processes just maintain metadata stuff. Thanks so much once again!
    @Gurfan, Eduardo,
    Apologies for any confusion that I unknowingly have created. Please read Hans's reply and mine over here.
    regards
    Aman....
    Edited by: Aman.... on Oct 10, 2009 7:24 AM corrected page no, it was 44 :-( .

  • Allocating memory to SGA

    Dear Friends,
    I'm in little bit confusing of allocating memory to SGA area. My server has 1024MB memory. can u tell me what are the percentage should i allocate each segment ( shared Pool, buffer cashe , Large Pool , Java Pool , PGA target )
    It is grate help to me.
    Regards
    upul Indika.

    Oracle Performance Tuning Guide has following note, same strategy can apply to other pool like shared_pool
    .2.2 Sizing the Buffer Cache
    When configuring a new instance, it is impossible to know the correct size for the buffer cache. Typically, a database administrator makes a first estimate for the cache size, then runs a representative workload on the instance and examines the relevant statistics to see whether the cache is under or over configured.
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14211/memory.htm#sthref485
    My initial suggestion is a little aggressive, OP can lower the number according to his need.

  • RAC redo logs (Confusion)

    I was reading RAC documents that is written by Steve Karam.
    Cache Fusion for RAC
    RAC provides us a multiple instance, single database system. In a RAC environment, there is one shared set of datafiles. Each instance in the “cluster” will have its own SGA (RAM areas) and binary processes. They will also have their own control files and redo log files, though these must be viewable by all nodes, or systems, in the cluster.
    http://www.dba-oracle.com/t_implementation_decision_rac_clusters.htm
    I'm confused whether each instance has it's own redo log file or they are centrally stored. The above document says that each instance has it's own redo log files.
    Rakesh Soni.

    I'm confused whether each instance has it's own redo log file or they are centrally stored. The above document says that each instance has it's own redo log files.No it is not...
    We do have log_archive_format parameter here we will be using _%t along with the format
    t=Thread whih tells oracle which instance the log is coming from...
    I am not RAC expert but it cannot be like that

  • PGA vs SGA

    hi,
    i read the documents which says that pga has individual user datas like bind variables.session info.
    here oracle how the pga communicate with sga for execution.
    what are the components for PGA
    thanks
    with regards

    user3266490 wrote:
    hi,
    i totally confused about PGA and shared pool.is there any relation between librarcy cache and pga.
    whether,when the user exeutes select,insert,update,delete these are in librarcy cache or PGA.
    i read that parsing,optimzation,execution,fetching there are happening in Library cahe.
    so why oracle created the runtime area in PGASo why there is a confusion? The parsing, execution, they are all happening in the SGA because what is needed is that if someone else also requires the same data, for example, the same execution plan, the same data buffers, it should all be accessible from the SGA which is going to be shared among the users. But the PGA contains the data structures which don't do this! Answer this, when you do an order by , does it mean that all the other users also start seeing teh data in the order by clause by default? The answer should be no. This sorted data is just kept in the pga of yours. Similarly, there is a bind variable which is shared among the users but two different users need to use two different values of it.Where it is best to keep those different values, in their own PGAs isn't it? Hence its the private memory of the sessions.
    HTH
    Aman....

  • Several processes write to the SGA during database operation.

    Greeting to all ;
    From following official document  says  Memory Architecture
    Several processes write to the SGA during database operation.
      I thinks DBWn writes updated information from dbbc to data files.
       Server process is fetching required information from data files.
    Several processes write to the SGA during database operation !
    - What are they ? 

    8f953842-815b-4d8c-833d-f2a3dd51e602 wrote:
    Thanks sybrand_b
    Several processes write to the SGA during database operation.
    So your answer is  client process for DML opearations. Ok , i got it.
    From the same link ,  Memory Architecture
    The server and background processes do NOT reside within the SGA, but exist in a separate memory space.
            Partially i can understand above statement. Here  i have little confusion also - please clarify.
    SGA + background process = INSTANCE.
    Server process is only available when user is intracting with database.
    From official document , bgprocess , server process exist in a separate memory space  - 
    -  if so ,  what is  name of the  memory area ?
        Thanks in advance ..
    Which memory area?  The one holding the SGA?  The one holding the executing code for any one of the background processes?  The one holding the code for any of the several server processes?
    Go here: Oracle Database Instance
    and take a look at figure 13-1 and its surrounding discussion.

  • Solaris hangs when Oracle SGA is too large

    I am an Oracle DBA with preconfigured Solaris servers. Our Unix admin is outsourced so we don't have a lot of good support here. When I set the instance SGA too large the server hangs and requires a hard reboot It seems that the error is due to insufficient memory or swap. Is this normal behaviour for Solaris 10? Shouldn't the process abend before the server does?

    I've managed to duplicate this behavour on two seperate boxes. The first server is quite small only 1G physical memory and the SGA target was set too high. Additionally Oracle was competing with other resources on this box. Still it was surprising to me that the server actually hung. I would have expected to get something like "shared memory realm does not exists" if there was not enough memory.
    The second box has 8G physical memory and 4G swap. I set up the oracle /etc/project parameters for this one, here are the kernel settings:
    shminfo_shmmni = 256
    seminfo_semmni = 128
    shminfo_shmmax = 4G
    seminfo_semmsl = 256
    In this case Solaris hung when I started the database with a 4G MAX_SGA_SIZE, I don't think SGA_TARGET was set. I think the server ran out of swap but I'm still confused because it seems like physical memory should have been available. Also I don't understand why the Oracle instance would have even been using swap because Oracle locks physical memory using ISM or DISM.
    In both case the OS hung and could only be revived with a hard reboot.

  • Apple ID appearing on another iPhone device (Sync confusion)

    Issue
    iTunes is sporadically requesting access to my partner's Apple ID account when downloading applications and trying to install the other iTunes account applications also when syncing takes place within iTunes. System software/accounts seems confused.
    How can I ensure that both devices remain separate and do not access each other's iTunes accounts or sync over Mac logins? How can I delete mixed applications from separate Apple ID's ensuring it won't replicate the deletion on the primary Apple ID?
    Background
    1 x Macbook Pro OS 10.8.2
    iTunes 11.0.1
    App Store 1.2.1
    1 x iPhone 4S OS 6.0.1 (Device A)
    1 x iPhone 4 OS 6.0.1 (Device B)
    Separate Apple ID's
    Separate iCloud accounts
    iTunes accounts
    Both people have our own iTunes accounts linked to their own device. All details are currently correct when checking Apple ID profiles.
    MacbookPro
    Both people have separate MacBook Pro logins and software is all up to date.
    History
    In the past, over a year ago, both iPhone devices were sync'd via the same iTunes and Macbook log in. (Not a good start I know) Both iPhones always had their own iTunes account for downloading apps and music etc. When I realised I was syncing application data from one iPhone to the other on my Macbook, I created two Macbook log ins. I deleted all applications on Device B that were transferred from Device A and also deleted the applications in Device B's iTunes account. It seemed that both devices finally had seperated, retained their own Apple ID logins, applications and Macbook user logins.
    Device B recently tried to install an application that Device A also had.
    The application installed onto Device B without an issue and there was no confusion with Device A having the same application. The application can be upgraded to provide additional functionality. When Device B requested this within the application to upgrade, the Apple ID of Device A suddenly appeared.
    I checked that Device B was asked to INSTALL the primary basic version of the application rather than OPEN it, just incase the confusion started at this point. It definitely said INSTALL.
    I thought the divorce was done and dusted in the past.
    Why would Device B suddenly point Device A's Apple ID?
    To troubleshoot, I connected Device B to iTunes on the MacBook with Device B's Macbook log in. When iTunes opened within the Apple ID of Device B ALL DEVICE A applications appeared and started to sync these applications to Device B! I am back to mixed accounts.
    How can ITunes suddenly connect the Apple ID's of both accounts and then tell Device B it needs to install Device A's applications? They are separate Apple ID accounts, separate copyright, separate costs.
    I know with iMatch that you can share the library with another device and when this occurs it locks the Apple ID of the primary iTunes account for 90 days on secondary device. We have never done this.
    I'm 'Syncing' trying to work this one out, please help!

    Steve324 wrote:
    s there a solution to get things
    back the way it was before the install?
    Thank you!
    See my previous suggestions

  • HT1414 i am in the process of getting my iphone4 unlocked from att to use it on straighttalk. why do i need to "back up" the iphone and all of this? i dont have an apple computer sooo, im a little confused on why i need to do this. can someone please help

    Can someone please explain and help me? I am unlocking an iphone4 from at&amp;t to use it on the straight talk network. They've confirmed my request to do this and I am now a little confused as to what to do next. They want me to back up the phone using itunes on either a MAC or PC. I do not have an aplle computer but I do have an acer. Sooo, can I use it to do this? Or do I even have to do this to unlock and switch the iphone4 over to a new network? If I do have to what can I do to do this because like I said I do not have a computer by apple? Can anybody walk me through what I need to do next please? I've been waiting to do this for a very long time and I now have the option to have an iphone and use it. Thanks to my awesome boyfriend who Gave me his old iphone when he swapped back to an android. Hahahaha! Please anybody!? Because I sooo don't know what I'm doing and really do not want to mess the phone Or the process up. Thanks to any and all who read this and help me! It is greatly appreciate it!

    Install iTunes on your Acer and you can back up the iPhone. Or back it up to iCloud. If you do not back it up you can get it unlocked, but you will lose all of your content.
    You can get iTunes from http://www.apple.com/itunes.
    Even after unlocking I'm not sure it will work on Straight Talk, because last time I checked ST used Verizon as its carrier, and an AT&T iPhone 4 is not compatible with Verizon's network. You can probably use it on Net 10 or T-Mobile once it is unlocked.

  • Computers on small office network - names getting confused on iChat

    We are using bonjour and iChat on the computers on a small airport network in our office as an instant messaging solution in our office - however, 2 of the computers (which are named differently) keep getting confused and both being called the same name.
    I have done the fix where you go to System Prefs, Users & Groups and then set the address book card to that particular computer owner, restart the computer and then open iChat (using bonjour) - it saves the name but then my colleague becomes the same name as me on iChat - so we do the same thing to her computer (set address book card etc) and it changes her iChat name, but then also seems to override what I had set for mine previously.
    Help!! What can I do to stop these 2 computers seemingly overriding each other? It doesn't happen with the other 4 computers sharing our network...

    Hi,
    In System Preferences > Sharing is the Name the Computer has.
    This does play a part in any Bonjour Connection.
    It is this name that appears in Shares in the Finders's Side bar.
    Separate for that iChat and Messages that have the Bonjour Account Enabled broadcast the details from the My Card in the Address Book.
    Issues can arise with some Server based Logins that create a Global Address book that changes the My Card.
    You get similar difficulties on some DiskImage roll outs of updates and the like if the details of the Address Book are copied as well.
    I am not sure what you mean by the "fix" in System Preferences > Users and Groups to change the My Card or the Computer's Name.
    Yes you can click the Contact Card for that account and it will show you it in the Address Book and it should be th My Card.
    Changing the My Card then does not alter which Card is associated with the Mac User Account.
    There is no access to the Computer's Name
    7:53 PM      Wednesday; August 1, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Unable to capture video from canon xha1s to final cut pro 6.0. so confused

    hi,
    i purchased a canon xha1s and am simply trying to capture the video onto my macbook pro laptop. i keep getting the error saying my settings are incorrect and am confused as what to put and where. i went to the video/audio settings and put what i believed to be correct (HDV) since my camcorder records in HDV. still that error window pops up when i try to log and capture footage.
    any help would be greatly appreciated!

    Hi .. I had a very similar problem .. if the above fails it may be worth a look at this too..
    http://discussions.apple.com/message.jspa?messageID=10804559#10804559
    Jim

  • TS3276 I cannot connect to my outgoing email server on my macBook pro, yet I can, for the same email account on my iPad. Also I can send emails from the other email account I have on my MacBook...really confused can anyone help?

    I cannot connect to my outgoing email server on my macBook pro, yet I can, for the same email account on my iPad. Also I can send emails from the other email account I have on my MacBook...really confused can anyone help?

    Sometimes deleting the account and then re-creating it can solve this issue
    Write down all the information in accounts before doing this
    Highlight the account on the left and click the minus button
    Then click the plus button to add the new account and follow the prompts

Maybe you are looking for

  • Remote Access VPN Support in Multiple Context Mode (9.1(2))?

    Hi Guys, I am currently running two Cisco ASA5520 (ASA Version: 9.1(2)) firewalls in Active/Standby failover and was contemplating the option of migrating my remote access VPN to these firewalls. However seeing that the new IOS now support mixed mult

  • Bytebuffer  and how to convert to String ?

    For example my bytebuffer has the values 72. 69, 76,76,79 ( HELLO) String.value(bytebuffer.array()); does not work ( compiler treats bytebuffer.array() as an object) Any idea ? Thanks

  • External Topics in RoboHelp HTML

    Let's say I have BOOK1 and BOOK2. BOOK1 has an external link out to BOOK2. When I'm viewing BOOK1 and click on the link to view BOOK2, then click on the "Index" button, why are the topics that show up from BOOK1? If I'm in BOOK2, shouldn't the index

  • FB01 - vat code copied from last line

    Hi All, My client is facing an issue in FB01 where if VAT tax code is given in any line item, same VAT code get populated in next line items automatically. Could you please advise on this. Regards Deepak

  • Which backup is good .

    Hi friends,     Every day i will take  offline backup for my production server (1.am) i will select  "Whole database offline + redo log backup" in DB13. please let me know what is different between "Whole database offline + redo log backup"   and "Fu