Cannot set sga_target with db_block_buffers set

Hello Oracle Community!
I'm trying to set a sga_target on my Oracle 10g R2 database but it shows me the following message: Cannot set sga_target with db_block_buffers set
What exactly's the impact on disabling db_block_buffers parameter? Is it better to do while the database's not being used?
Thank you very much!

K- wrote:
@Aman
This database uses SPFILE, how do I proceed to erase the db_block_buffer on it? The only way's using the CREATE PFILE FROM SPFILE command? Do I have to shutdown my production database if I execute it?
ThanksYes, this is a major change, you will have to bounce. Probably the way to go would be to create pfile from spfile, copy that away somewhere safe, edit the pfile, shutdown and startup with the pfile. If you've made a mistake at this point where it won't come up, you can startup without the pfile if you need to, or keep trying to fix the pfile. When you are up, check that the parameters are what you think you did, then create spfile from pfile and bounce. Of course, if performance then goes wacko, you can go back to the saved pfile until you figure out what went wrong.
You can try with the sizing you are currently using, then after running for a while use the advisors to tweak. Note that with sga_max_size it can vary by platform and configuration whether you use the difference between target and max, so platform determines whether you should make them the same (see the thread sga_max_size vs sga_target ) . If they should be the same, you'll have to bounce later when you tweak. Get familiar with the HIST views that record the self-tuning changes as they happen.

Similar Messages

  • ALTER SYSTEM SET SGA_TARGET

    Hi,
    in 10g R2 should I stop/start database when I change sGA_TARGET :
    ALTER SYSTEM SET SGA_TARGET=value [SCOPE={SPFILE|MEMORY|BOTH}]
    Thank you.

    user522961 wrote:
    OK.
    When I query V$PARAMETER I have the OLD value for SGA_TARGET. It is normal because the value in V$PARAMETER comes from starting and spfile. How can I be sur that now oRACLE uses the new value for SGA_TARGET effectively ?
    Thanks again.Not sure I understand your question. If you set SGA_TARGET with SCOPE=MEMORY or BOTH, it should be in effect immediately.
    SQL> alter system set sga_target=253M scope=both;
    System altered.
    SQL> select value bytes, value/1048576 MB from v$parameter where name = 'sga_target';
    BYTES              MB
    268435456         256
    SQL> show parameter sga
    NAME                                 TYPE        VALUE
    lock_sga                             boolean     FALSE
    pre_page_sga                         boolean     FALSE
    sga_max_size                         big integer 512M
    sga_target                           big integer 256M
    SQL> alter system set sga_target=257M scope=both;
    System altered.
    SQL> select value bytes, value/1048576 MB from v$parameter where name = 'sga_target';
    BYTES              MB
    272629760         260
    SQL> show parameter sga
    NAME                                 TYPE        VALUE
    lock_sga                             boolean     FALSE
    pre_page_sga                         boolean     FALSE
    sga_max_size                         big integer 512M
    sga_target                           big integer 260M
    SQL>

  • How to use addAll with a set of integers in array

    Hi does anyone know how to use void addAll (Set other) with a set of integers?...i want to add all of the integers from the other set to this one. For example, if i have this set {4, 9, 2} and I wanted to add to it all of the integers from another set {3, 2, 8, 4}, the set becomes {4, 9, 2, 3, 8}. I'm stumped on how to do this..if anybody could help, thanks!

    Set1 = ...
    Set2 = ...
    Set1.addAll(Set2);
    addAll(Collection<? extends E> c)
    Adds all of the elements in the specified collection to this set if they're not already present (optional operation). If the specified collection is also a set, the addAll operation effectively modifies this set so that its value is the union of the two sets. The behavior of this operation is unspecified if the specified collection is modified while the operation is in progress.

  • HT1692 Have recently installed itunes and outlook on a new computer.  Have multiple email accounts set up in Outlook tho only use contacts and calendar in relation to one of these. Cannot sync itunes with the correct contacts and calendars, Help!

    My new computer is 64-bit running Windows 7 pro, SP1 and Microsoft Office 2010 Pro Plus 32-bit
    My phone is a 4S runing iOS 6.1.3
    Very frustrated now that I have recently installed itunes and outlook on this new computer.  Everything worked perfectly ok on my laptop which was also 64-bit Windows 7 and running 32-bit Microsoft Office 2010 Pro.  I have multiple email accounts set up in Outlook tho only use contacts and calendar in relation to one of these. Cannot sync itunes with the correct contacts and calendars, when I sync the calendar and contacts are empty.  Not sure if there is any way to point itunes to particular address books and calendars.
    I have installed and uninstalled itunes 3 times and thank goodness have a backup
    Can anyone help please?
    thanks in anticipation

    I had my home computer set up to sync to work's Exchange server. It worked well, but I didn't like seeing work email messages and other programs trying to sync with my default Outlook folder, which was then the Exchange (& work related) .ost file. I know there are various ways to manage those problems using filters, view, subfolders, etc., but it was a hassle for me. I think it could work well for many other folks.
    For now, I have published my work calendar and subscribed to that calendar on my home computer. So I have view only access to my calendar on my home computer (and I can add/edit calendar items on my iPad (or Outlook Web Access) when away from work). This is not quite what I wanted, but it may work.
    It almost makes me long for the days when I used my Windows Mobile Treo to sync back and forth between exchange at work and outlook at home (but had many sync conflicts as a result).

  • The type Set is not generic; it cannot be parameterized with arguments K ?

    When I use Hashtable or HashMap to get the keySet, it shows the error of "The type Set is not generic; it cannot be parameterized with arguments <K>".
    The following is my code:
    Hashtable table = new Hashtable();
    table.put("A", new Integer(1));
    table.put("B", new Integer(2));
    Iterator its = table.keySet().iterator(); // <<<<<<<<<<<<<< this line shows the error "The type Set is not generic; it cannot be parameterized with arguments <K>"
    How can I solve it? Please help me! I have no idea on it. It works fine in 1.4.
    Best regards,
    Eric

    The original is my codes, please help!
    public static List findDlicApp(Date startDate, Date endDate, Connection con) {
              String SQL = getSQL("app.sql");
              String where = getSQL("app.sql.where");
              boolean hasWhere = false;
              if (startDate != null) {
                   SQL = SQL + " where d.create_date >= to_date('" + DMSUtil.convertDateToString(startDate) + "', 'yyyy-MM-dd')";
                   hasWhere = true;
              if (endDate != null) {
                   if (hasWhere) {
                        SQL = SQL + " and to_date(to_char(d.create_date, 'yyyy-mm-dd'), 'yyyy-mm-dd') <= to_date('" + DMSUtil.convertDateToString(endDate) + "', 'yyyy-MM-dd')";
                   } else {
                        SQL = SQL + " where to_date(to_char(d.create_date, 'yyyy-mm-dd'), 'yyyy-mm-dd') <= to_date('" + DMSUtil.convertDateToString(endDate) + "', 'yyyy-MM-dd')";
                   hasWhere = true;
              if (hasWhere) {          
                   SQL = SQL + " and " + where;
              } else {
                   SQL = SQL + " where " + where;
              SQL = SQL + " " + getSQL("app.sql.order");
              //System.out.println(SQL);
              //Connection con =  getParaDMConnection("findDlicApp");
              HashMap<String, DlicApp> dlicDocs = new HashMap<String, DlicApp>();
              List result = new ArrayList();
              try {
                   Statement stmt = con.createStatement();
                   ResultSet rs = stmt.executeQuery(SQL);
                   long lastDocID = 0;
                   boolean hasStartDate = false;
                   while(rs.next()) {
                        long docID = rs.getLong("docID");
                        String docName = rs.getString("docName");
                        String refNo = rs.getString("refNo");
                        java.util.Date createDate = rs.getDate("createDate");
                        String creator = rs.getString("creator");
                        String profileType = rs.getString("profileType");
                        String assunto = rs.getString("assunto");
                        String fromEntity = rs.getString("fromEntity");     
                        String location = getLocation(docID, con);
                        long fieldID = rs.getLong("fieldID");
                        String fieldValue = rs.getString("fValue");
                        DlicApp doc = null;
                        if (dlicDocs.containsKey(String.valueOf(docID))) {
                             doc = (DlicApp)dlicDocs.get(String.valueOf(docID));
                        } else {
                             doc = new DlicApp();
                        doc.setId(docID);
                        doc.setDocName(docName);
                        doc.setReferenceNo(refNo);
                        doc.setCreateDate(createDate);
                        doc.setCreator(creator);
                        doc.setProfileType(profileType);
                        doc.setAssunto(assunto);
                        doc.setFrom(fromEntity);
                        //if (doc.getStartDate() == null) {                    
                        //     doc.setStartDate(createDate);
                        doc.setLocation(location);
                        if (fieldValue != null) {                    
                             if (fieldID == 1114) {
                                  doc.setChineseName(fieldValue);
                             if (fieldID == 1115) {
                                  doc.setPortugueseName(fieldValue);
                             if (fieldID == 1116) {
                                  doc.setApplicationCategory(fieldValue);
                             if (fieldID == 1118) {
                                  doc.setStatus(fieldValue);
                             if (fieldID == 1119) {
                                  Date d = DMSUtil.parseDate(fieldValue, "yyyy-MM-dd");
                                  doc.setStartDate(d);
                                  hasStartDate = true;
                             if (fieldID == 1120) {
                                  Date d = DMSUtil.parseDate(fieldValue, "yyyy-MM-dd");
                                  if (!StringUtils.isEmpty(fieldValue)) {
                                       //System.out.println(docName + ":" + fieldValue + ">>>>>>>>>findDlicApp>>>>>>>>>>>>>>>>>>APP END DATE: " + d);
                                       doc.setEndDate(d);
                        if (docID != lastDocID) {                    
                             doc.setRelatedDocs(findRelatedDoc(docID, con));
                             lastDocID = docID;
                        dlicDocs.put(String.valueOf(docID), doc);
                   stmt.close();
                   rs.close();
                   Iterator<String> its = dlicDocs.keySet().iterator();
                   while(its.hasNext()) {
                        String id = (String)its.next();
                        DlicApp a = (DlicApp)dlicDocs.get(id);
                        a.setRelatedDocs(findRelatedDoc(a.getId(), con));
                        dlicDocs.put(id, a);
                   result.addAll(dlicDocs.values());
                   // take out start date is not in the given period
                   int n = 0;
                   while(true) {
                        if (n < result.size()) {
                             DlicApp a = (DlicApp)result.get(n);               
                             Date sd = a.getStartDate();
                             if (!isWithin(sd, startDate, endDate)) {
                                  result.remove(n);
                             } else {
                                  n++;
                        } else {
                             break;
              } catch(Exception e) {
                   e.printStackTrace();
              if (result.size() > 0) {
                   Collections.sort(result, new DmsDocComparator());
              return result;
         }Edited by: EJP on 13/01/2011 14:41: added code tags for you. Please use them next time.

  • Cannot sync ipod with itunes after setting up new computer with newest version of itunes

    Cannot sync ipod with itunes after setting up on new computer, only songs which tansferred were songs bought on new computer after set up, tried to sync songs and it deleted old songs from ipod.  How can I get them back on ipod??  They are showing in music library on itunes still.

    If the iPod database gets corrupted, it will add files to "Other" instead of where they really belong.
    Restoring the iPod will erase this database and recreate it.
    And if I do this, won't I just have the same issue when my iPod is re-updated to the most recent version again?
    No, it shouldn't. This is why you Restore the iPod. It erases the corrupt database.

  • What can i do? i forgot my password (iCloud) and i don't know the security questions also, the email that was set up with that account was deleted a long time ago, so i cannot update my applications on my iphone 4S.... THANK YOU!!!!

    URGENT What can i do? i forgot my password (iCloud) and i don't know the security questions also, the email that was set up with that account was deleted a long time ago, so i cannot update my applications on my iphone 4S.... THANK YOU!!!!

    Try the methods described here in this link:  Apple ID: All about Apple ID security questions
    If neither your recovery email works nor do you know the answers to the security questions, you need to give Apple Support a call - only they will be able to help you. See this webpage on how to contact Apple Support in your country: There are either telephone numbers given or an email form:
         Apple ID: Contacting Apple for help with Apple ID account security
    Explain, that you need help with an account security problem.
    You can also try to email the iTunes Support using this form: https://ssl.apple.com/emea/support/itunes/contact.html

  • I just got a replacement i phone and i was setting it up and I cannot restore it with my iTunes because the soft wear is to old how to i update the soft wear without running the process

    I just got a replacement i phone and i was setting it up and I cannot restore it with my iTunes because the soft wear is to old how to i update the soft wear without running the process

    Hi Balzer1313,
    Thanks for visiting Apple Support Communities.
    If you have an older version of iTunes installed on your computer, you can update it using this menu option:
    Windows: Choose Help > Check for Updates.
    Mac: Choose iTunes > Check for Updates.
    From:
    iTunes: How to install the latest version
    http://support.apple.com/kb/ht5654
    If iTunes is not installed on your computer, you can download it here:
    http://www.apple.com/itunes/download/
    Cheers,
    Jeremy

  • HT4061 I have an iphone 4 and cannot access my email account-it was set up with the wrong email address. How do I resolve this issue?

    i have an i phone 4 and it has been set up with the wrong email address. How can I rest the email address?

    Did you purchase or download the apps with your old ID?  Apps are tied to the ID that is was purchased from.
    If it is a new app you bought with your new ID, you can go into settings - appstore- apple id and then log out.

  • Setting sga_target in Oracle10g using spfile in Window OS

    Hi all
    Previously we used to set the parameter values thru initora
    Now we wish to follow the default spfile for parameters as provided by Oracle.
    When we give
    alter system set pga_aggregate_target = ???M;
    it works properly but the same syntex does not work properly for'
    processes as well as sga_target
    1. Kindly guide the exact syntix to set these parameters
    2. Also advise whether setting sga_target would be sufficient or do we need to set sga_max_size also and possible advantage
    3. Role of Oracle Processes and what should be the ideal number for Live installation with say 100-150 simultaneous users. RAM available is enough say 8GB.
    Suresh Bansal

    Suresh Bansal wrote:
    Hi all
    Previously we used to set the parameter values thru initora
    Now we wish to follow the default spfile for parameters as provided by Oracle.
    When we give
    alter system set pga_aggregate_target = ???M;
    it works properly but the same syntex does not work properly for'
    processes as well as sga_target
    1. Kindly guide the exact syntix to set these parameters
    2. Also advise whether setting sga_target would be sufficient or do we need to set sga_max_size also and possible advantage
    3. Role of Oracle Processes and what should be the ideal number for Live installation with say 100-150 simultaneous users. RAM available is enough say 8GB.
    Suresh BansalBoth SGA_MAX_SIZE and PROCESSES are parameters that cannot be changed dynamically, because you have omitted the SCOPE= clause of ALTER SYSTEM it takes it's default of BOTH. SGA_TARGET is modifiable in memory, but only up to the limit specified by SGA_MAX_SIZE which defaults to whatever you have SGA_TARGET set to, this means in a default setup you can only reduce SGA_TARGET. From my system
    SYS @ DB10G >show parameter SGA_
    NAME                                 TYPE        VALUE
    sga_max_size                         big integer 584M
    sga_target                           big integer 584M
    SYS @ DB10G >SELECT NAME,ISSYS_MODIFIABLE
      2* FROM V$PARAMETER WHERE NAME LIKE 'sga%'
    SYS @ DB10G >/
    NAME                                                                             ISSYS_MOD
    sga_max_size                                                                     FALSE
    sga_target                                                                       IMMEDIATESo I have 584m set for both as a result I can reduce the size, but not increase it.
    SYS @ DB10G >alter system set SGA_TARGET=600M;
    alter system set SGA_TARGET=600M
    ERROR at line 1:
    ORA-02097: parameter cannot be modified because specified value is invalid
    ORA-00823: Specified value of sga_target greater than sga_max_size
    SYS @ DB10G >alter system set SGA_TARGET=400M;
    System altered.But I can set it in the spfile.
    SYS @ DB10G >alter system set SGA_TARGET=600M SCOPE=SPFILE;
    System altered.You only need to set SGA_TARGET, but if you set SGA_MAX_SIZE larger you give yourself room for growth later. This should be clear from the demo above.
    PROCESSES controls the size of Oracle's internal process table (externalized as v$process) which is why you can't dynamically reset it, you'll need more entries in this process table than you anticipate user sessions, generally about 15-25% more.
    Niall Litchfield
    http://www.orawin.info/

  • I cannot figure out how to set my apple id to use: itunes (two of accounts), apps store and Itunes store. How do I make one password that will be recognixed by all these devices?

    I cannot figure out how to set my apple id to use: itunes (two of accounts), apps store and itunes store. How do I make one password that will be recognized by all these devices? My apple id is constantly not working.

    Hi Lrwill,
    If the apps that are on your son's iPad were purchased under his Dad's Apple ID, then signing your Apple ID onto the iPad will not help you with updating those apps.
    Also, if the iPad was sync'd with his Dad's iTunes library, then hooking it up to your computer/iTunes library, will require you to reset the iPad, and everything that was loaded under the other Library and Apple ID will be wiped out.
    Can you provide a little more info about what was set up under which Apple ID and what iTunes library the iPad was sync'd with?
    Cheers,
    GB

  • I have the computer with my itunes library on it but no longer have access to the email account the library was set up with. How can I transfer the library to a new appleid/email?

    I have the computer that holds my itunes library. However, I no longer have access to the email account (and therefore apple account) it was set up with so can't sync/update etc. How can I transfer the library to my new apple id? Any help gratefully received as searched the internet but can't find the answer!
    Have ipod touch 4th gen, ipod touch 5th gen and ipod nano 7th gen all to sync to library.

    Hi Stillme,
    You cannot transfer purchases from one Apple ID to another. You need to go into the old Apple ID and change it to the new email address instead of using a new Apple ID altogether.
    Apple - My Apple ID
    If you can't remember the password to the old ID, then click on Reset your Password, and answer the Security Questions. If you can't remember the Security Questions, contact iTunes Support and have them reset:
    APPLE ID SECURITY CONTACT NUMBERS
    Once you get into your old account, Edit the Apple ID to your new email address. Before you will be able to do that you are going to have to change the email address on the new Apple ID to something else.
    Cheers,
    GB

  • Windows 8 Mail App - Not setting up with Office 365 Account

    Hi - I'm trying to get an Office 365 Exchange account set-up with the Windows 8 Mail app.  It's giving me an error stating the following:
    To sync this account, you first need to: Make your Windows user account an administrator. 
    I do not want to give admin privileges to the individual user account on Windows (as the error is stating that it wants me to give admin privileges to the local Windows 8 account - not on Office 365) and I cannot find any restriction set-up in the admin
    console/settings on Office 365 (or in Widows 8) that would require this privilege. 
    This same account (on Office 365) can connect fine via Outlook 2010 and a Windows Phone 7 mail app. 
    How can I solve this?..

    Derek,
    Can you please share the UAC setting or GPO settings you used to fix this in Windows 8?  I've gone to the lowest available setting in the UI (there appears to be a lower limit that a NON-admin user can manually set UAC to and to get any other levels,
    you need to use GPO) and still no luck. 
    Thx,
    DML
    DLovitt

  • My IPhone is set up with an internet  downloaded firmware of ios7 because my phone would not restore, the system has failed and I had to do a manual erase fro  within the phone. My computer will not accept the phone because they say it's a "Developer?"

    My IPhone is set up with an internet  downloaded firmware of ios7 because my phone would not restore, the system has failed and I had to do a manual erase fro  within the phone. My computer will not accept the phone because they say it's a "Developer?" Help. I cannot not even get passed the activation step on the computer or phone because it will not activate the device.

    Hello buddyacw
    You would have to restore the iPhone. Download the latest version of iTunes and then follow the steps in the article below to get it working again.
    iOS: Unable to update or restore
    http://support.apple.com/kb/HT1808
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Setting locations with your iPhone 4s

    I am pained to admit this, but I cannot figure out how to set locations in my iphone4s that I can set reminders to alert me to do whatever task I had previously set for myself to accomplish when I arrive at the noted location. What types of steps and preferences do I need to select and apply so I can hear Siri tell me as I pull into a lot or walk into a store at one place or another to be reminder of the "note to self" I created earlier to help ensure the purchase of specific goods or anything for that matter! Thanks for helping me out with the awesome function available on my phone that has done nothing but mock my ridiculous inability to master the ins &amp; outs of the program.

    Make sure you have an entry in your contacts for yourself that includes your work address. Then, go to Settings>General>Siri and make sure that your contact is selected for "My Info". For other locations, make sure that there is a contact with the correct address.

Maybe you are looking for

  • How do you apply the same transformation to multiple layers?

    I've been using PS for years and never had to do this before. I have a 3D image of a tradeshow exhibit and I want to drop in a lot of different mocks for backgrounds. The 3D is in a slight perspective and I need to transform all the mocks to fit that

  • Exporting specific tracks

    I just downloaded Sound Studio and was trying to find a way to get individual recorded tracks from a GarageBand song into Sound Studio to edit them. Is there even a way to take specific tracks out of a GarageBand song?

  • Books in google books not in the cloud

    I have downloaded books into Google Books on my IPAD.  Can I get them into the cloud so they are also on my computer?

  • Lightroom 2 - Photoshop CS3 - Lightroom 2

    Here's my scenario. All RAW files have been converted to DNG. I would like to catalog all DNG files in Lightroom (thus, starting my workflow there). If I shoot an ISO 1600/3200 shot, I would first like to run it through Noise Ninja in Photoshop CS3.

  • How to scope beans for a JSF Confirmation Page

    I have a web form with corresponding backing bean for each input field. I have two buttons on the form. Here is some of the page: <h:inputText id="clientName" value="#{clientBean.company}" required="true"/> <h:inputText id="clientContact" value="#{cl