Can I chang sag_target like this?

Hi,
my current setting:
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 512M
because sga_max_size is static, so I have to bounce database,
TO avoid bouncing database, can I just chang sga_target directly like :
SQL>alter system set sga_target=1504M;
or
I have to change sga_max_size first, then bounce db, and then change sga_target?
Any friends can confirm this for me??
thanks a lot in advance

Since your SGA_MAX_SIZE is equal to SGA_TARGET you
cannot increase it, though its a dynamic parameter
(which doesnt require db restart). Agreed.
You must first increase your SGA_MAX_SIZE in pfile, recreate spfileBit of a long way around... you can just set this in the spfile before bouncing the database:
SQL> show parameter sga_max_size
NAME                                 TYPE        VALUE
sga_max_size                         big integer 576M
SQL> alter system set sga_max_size = 600M scope=spfile;
System altered.
SQL> startup force;
ORACLE instance started.
Total System Global Area  629145600 bytes
Fixed Size                  1263368 bytes
Variable Size             264243448 bytes
Database Buffers          356515840 bytes
Redo Buffers                7122944 bytes
Database mounted.
Database opened.
SQL> show parameter sga_max_size;
NAME                                 TYPE        VALUE
sga_max_size                         big integer 600M
SQL>

Similar Messages

  • Document prints in reverse, what setting can I change to correct this?

    Document prints in reverse, what setting can I change to correct this?  Not a printer problem - documents print in correct order when using other programs.  Using Acrobat X Pro on a Mac.

    One more place to check.  Open a document you'd like to print, then click the 'Printer...' button.  Hit 'Yes' to the warning dialog box that comes up.  For your specific printer, this might already be enabled.  Change the drop-down menu that says 'Layout' to 'Paper Handling'.  It could be that the Page Order preference has been changed here too.  Just a thought!
    -David

  • TS1398 After leaving a wi-fi connection my iphone will not automatically connect to the internet via the 3G network unless I turn it off and then on again. Is there a setting that can be changed to overcome this issue?

    After leaving a wi-fi connection my iphone will not automatically connect to the internet using a mobile 3G network unless I turn my phone off and then back on again. Is there a setting that can be changed to overcome this?

    Then I'm at a loss. Mine has switched automatically from the start, favoring Wi-Fi, any of its registered networks, whenever available. Only thing I can think of is trying a Force Restart and see if that clears things up: hold down Home and Sleep till the screen goes black and a white Apple logo pops up. Release and allow it to restart.
    May be similar, when I got the i5 about 16 months ago, the local carrier was starting to roll out 4G service. The phone would regularly lose all carrier connection, voice and data. Haphazardly would reconnect when it felt like it afterwards. Initially did the Off/On dance to speed things up, but discovered that using Airplane Mode would do the same without the lengthier power cycle. After awhile, the carrier 'fessed they were having capacity issues and later the problem went away. So yours too may also be a carrier issue.

  • I don't understand why I can't change password lik...

    Extremely mad. NO IDEA WHY I CAN'T CHANGE PASSWORD LIKE "lajiskype" or "horribleskype."

    The apps are free with iOS 7 if you purchased a new device after September 2013. The apps do not come free just because you are running iOS 7 now. Did you purchase or receive a new iPad recently?
    If you did, are you using the same Apple ID to get the apps that you used to activate the iPad? If you are, sign out of your ID, restart your iPad, sign in again and go back to the App Syore and see if the apps show up as free.
    Settings>iTunes & App Store>tap your ID and sign out. Restart the iPad and go back to the settings and sign in again.

  • How can i generate xml like this?

    Hi all,
    How can i generate xml like this & i need to send it to via HTTP :
    <mms>
                 <subject>message subject</subject>
                 <url_image>http://image_url</url_image>
                 <url_sound>http://sound_url</url_sound>
                 <url_video>http://video_url</url_video>
                 <text>message text</text>
                 <msisdn_sender>6281XYYYYYY</msisdn_sender>
                 <msisdn_receipient>6281XYYYYYY</msisdn_receipient>
                 <sid>to be define later</sid>
                 <trx_id>Unique number</trx_id>
                 <trx_date>yyyyMMddHHmmss</trx_date>
                 <contentid>see note</contentid>
    </mms>& how can i get the value of the sid (for example)?
    I hav tried to generate that xml by using StringBuffer & append, but it's not what i mean...
    Anyone can help me?

    Ok...i got it. But i still hav some problems.
    This is the sample code that i used :
    public class XMLCreator {
         //No generics
         List myData;
         Document dom;
            Element rootEle, mmsEle, mmsE;
            StringWriter stringOut;
            mms mms;
         public XMLCreator(String subject, String image, String sound,
                    String video, String text, String sender, String recipient,
                    int id, String date, String contentid) {
              mms = new mms(subject, image, sound, video, text, sender,
                            recipient, id, contentid, date);
                    createDocument();
         public void run(){
              createDOMTree();
              print();
         private void createDocument() {
              //get an instance of factory
              DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
              try {
              //get an instance of builder
              DocumentBuilder db = dbf.newDocumentBuilder();
              //create an instance of DOM
              dom = db.newDocument();
              }catch(ParserConfigurationException pce) {
                   //dump it
                   System.out.println("Error while trying to instantiate DocumentBuilder " + pce);
         private void createDOMTree(){
              //create the root element <Mms>
              rootEle = dom.createElement("mms");
              dom.appendChild(rootEle);
              createMmsElement(mms);
         private Element createMmsElement(mms b){
              Element subjectEle = dom.createElement("subject");
              Text subjectText = dom.createTextNode(b.getSubject());
              subjectEle.appendChild(subjectText);
              rootEle.appendChild(subjectEle);
              //create url_image element and author text node and attach it to mmsElement
              Element imageEle = dom.createElement("url_image");
              Text imageText = dom.createTextNode(b.getUrl_image());
              imageEle.appendChild(imageText);
              rootEle.appendChild(imageEle);
              // & etc....
              return rootEle;
          * This method uses Xerces specific classes
          * prints the XML document to file.
         private void print(){
              try
                   //print
                   OutputFormat format = new OutputFormat(dom);
                   format.setIndenting(true);
                            stringOut = new StringWriter();
                   //to generate output to console use this serializer
                   XMLSerializer serializer = new XMLSerializer(stringOut, format);
                   //to generate a file output use fileoutputstream instead of system.out
                   //XMLSerializer serializer = new XMLSerializer(
                   //new FileOutputStream(new File("mms.xml")), format);
                   serializer.serialize(dom);
              } catch(IOException ie) {
                  ie.printStackTrace();
            public String getStringOut() {
                return stringOut.toString();
    }when i tried to show the stringOut.toString() in my jsp, it's only showed string like this :
    The Lords Of The Ring http://localhost:8084/movie/lotr.3gp 6281321488448 6281321488448 123 0 20070220114851 LOTR.
    1. Why this is happen?i want to generate xml which its format is like above.
    2. How can i send this xml (put in msg parameter) using jsp (via web) without creating the mms.xml?
    3. if i want to set the msg parameter equal to mms.xml - means that msg = mms.xml, what is the data type for msg? is it an object or anything else?
    Thx b4 in advance...

  • Hi, I'm trying to update some apps in my iPhone, and the Id that appears is not my correct ID. How can I change? But this happens only to update de apps, to bye new apps, de ID is correct.

    Hi, I'm trying to update my apps, but the e-mail that appear there to update, is note my apple ID. But when I'm going to buy some app, the e-mail is correct. The problem is when I'm going to update the apps.   How can I change?

    I get it with my original ID, I never changed my ID.  And when I'm getting new apps, it's normal, the problem appear when I'm going to update the apps that I already have.  The other e-mail that appears is another e-mail of mine, but I don't have any ID in apple with this e-mail.  
    I tryed to restore my iphone, but the problem continue the same.

  • Can´t change options like "ignore...younger than one week" cause grayed out

    Does anyone have an idea, how I can update my Sony Ericcson D750 with all contacts, not only the old ones? When I open the preferences for my phone, all checkboxes are grayed out, so I can´t change the default setting, which ignores everything older than a week.

    The settings you refer to only apply to Events, not Contacts, as Contacts are not "old" or "new".
    To define which Contacts are synced to your phone, create a Group in Address Book containing the Contacts you want on the phone, then select this Group in iSync for syncing.
    To change the settings you've found relating to Events you need to enable Calendar syncing in iSync, then you will be able to change the settings for how far into the past and future the events are synced.

  • How can I do sth like this ${requestScope.list.size} ?

    Hi, I have 2 attributes which I pass like this
    requsest.setAttribute("startPoint", 3);
    request.setAttribute("myList", myList);
    where myList is a ArrayList filld with objects. On jsp page I want to count 2 values first and last number:
    <c:set var="firstNumber" value="${requestScope.startPoint+1}"/> - this works fine.
    <c:set var="lastNumber" value="${requestScope.startPoint+requestScope.myList.size}"/> - this is impropper.
    How can I use as integer size of list which is passed as request attribute. Is this possible?
    I would appreciate any hepl.

    Hang on. For such things you can build your own EL functions - it is very easy and involves only 4 steps.
    1. Write a class containing a method (must be static) to calculate size of any list.
    [Put the class in /WEB-INF/classes, so your file will reside as /WEB-INF/classes/myfunctions/MyFunctions.class]
    package myfunctions;
    import java.util.List;
    public class MyFunctions{
         public static int getListSize(List list){
              return list==null?0:list.size();
    }2. In your taglib add an entry (in case you don't have already create one) for the EL function:
    [Say our taglib is mytags.tld in /WEB-INF]
    <taglib xmlns="http://java.sun.com/xml/ns/j2ee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
      http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
         version="2.0">
         <tlib-version>1.0</tlib-version>
         <short-name>MyTagLib</short-name>
         <function>
              <description>List Size</description>
              <name>size</name>
              <function-class>myfunctions.MyFunctions</function-class>
              <function-signature>int getListSize(java.util.List)</function-signature>
         </function>
    </taglib>3. Now in your JSP add following line to use your new EL function:
    <%@taglib uri="/WEB-INF/mytags.tld" prefix="mt"%>4. And use as:
    <input type=text value="${mt:size(requestScope.myList)}" />Note that there no issues using JSTL EL functions. My intention is to resolve your problem and at the same time to give you a glance how to write and use your own EL functions (might be useful in future).
    Thanks,
    Mrityunjoy

  • Can iMovie make slideshows like this?

    I assure you, I am not a shill for this company. I'm just impressed with the slideshows they can put together and want the tools to make one myself.
    Can iPhoto 08 provide the tools to make something like this finished product:
    http://urltea.com/1zrt
    (multiple photos in a single frame)

    mil8 wrote:
    ... Can iPhoto 08 provide the tools to make something like this finished product: .. .
    no.
    and iM either..
    these are those typical 'options packed' PC-made shows, my ex-father-in-law likes to impresss me with.. you stare at the effects, but don't 'see' the content anymore..
    anyhow:
    prepare your pics before use in iPhoto/iMovie, to show more than one.. (not exactly , what you want, but look at my example here)
    or, purchase a bunch of plug-ins from geethree.com (plug-ins are only avail for iMHD6!), to teach iM zillions of new transitions..
    or, have a look at 3rd party 'slideshow makers' as PhotoMagico or Photo2Movie ..
    ... but two tumblin' on all axis cubes, showing 12 pics, simultanously seen on a screen.. ? a rare attemp for Mac apps..

  • Can a photo gallery like this be created in html/CSS?

    http://jeffsullivan.smugmug.com/Landscapes/National-Parks/Zion-National-Park-Utah/1946310_ 6PtgP#136213013_XVhBQ
    I like the way these galleries expand to browser width - both the thumbs and big image enlarge. I want to learn to make a photo gallery (+ slideshow) perform like this or hire someone with the specific skill set needed to make it for me. I've looked around quite a bit online at photo gallery apps, both free and for sale, including some offered by forum regulars (thanks!), but haven't found one I really liked.
    My intent is not to copy this gallery (that would be stealing),  just to adopt the expanding images- to browser width feature.
    I know Flash could do it but I don't see .swf anywhere in the source... would it be done with Javascript or a combination of apps?

    What I didn't mention before is that the photo gallery I want will be only one part of a community-based commercial site under development that needs to integrate with other parts.
    That's why I'm asking what sort of developer/skills I'd need to make this happen.
    I see.  OK, for starters you'll need a firm grasp of XHTML, CSS, JavaScripting, and server-side programming such as PHP and MySql databases.
    You also might like to look at an open source Groupware solution such as TikiWiki that has a lot of stuff already built into it.
    http://info.tikiwiki.org/tiki-index.php
    Good luck,
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • How can i produce xml like this ?

    <mms>
    <subject>message subject</subject>
    <url_image>http://image_url</url_image>
    <url_sound>http://sound_url</url_sound>
    <url_video>http://video_url</url_video>
    <text>message text</text>
    <msisdn_sender>6281XYYYYYY</msisdn_sender>
    <msisdn_receipient>6281XYYYYYY</msisdn_receipient>
    <sid>to be define later</sid>
    <trx_id>Unique number</trx_id>
    <trx_date>yyyyMMddHHmmss</trx_date>
    <contentid>see note</contentid>
    </mms>
    How can i produce that xml?
    Can i produce it with this?
    public Element getXML(Document document) {
            // create sentContent Element
            Element sentContent = document.createElement( "mms" );
            // create subject Element
            Element temp = document.createElement( "subject" );
            temp.appendChild( document.createTextNode(
            String.valueOf( getJudulFilm() ) ) );
            sentContent.appendChild( temp );
            // create url_image Element
            temp = document.createElement( "url_image" );
            temp.appendChild( document.createTextNode("") );
            sentContent.appendChild( temp );
            // create url_sound Element
            temp = document.createElement( "url_sound" );
            temp.appendChild( document.createTextNode("") );
            sentContent.appendChild( temp );
            // create url_video Element
            temp = document.createElement( "url_video" );
            temp.appendChild( document.createTextNode(
            String.valueOf( getUrl_video() ) ) );
            sentContent.appendChild( temp );
            // create text Element
            temp = document.createElement( "text" );
            temp.appendChild( document.createTextNode("") );
            sentContent.appendChild( temp );
            // create msisdn_sender Element
            temp = document.createElement( "msisdn_sender" );
            temp.appendChild( document.createTextNode(
            String.valueOf( getMsisdn() ) ) );
            sentContent.appendChild( temp );
            // create msisdn_recipient Element
            temp = document.createElement( "msisdn_recipient" );
            temp.appendChild( document.createTextNode(
            String.valueOf( getMsisdn() ) ) );
            sentContent.appendChild( temp );
            // create sid Element
            temp = document.createElement( "sid" );
            temp.appendChild( document.createTextNode(
            String.valueOf( getSid() ) ) );
            sentContent.appendChild( temp );
            // create trx_id Element
            temp = document.createElement( "trx_id" );
            temp.appendChild( document.createTextNode(
            String.valueOf( getTrx_id() ) ) );
            sentContent.appendChild( temp );
            // create trx_date Element
            temp = document.createElement( "trx_date" );
            temp.appendChild( document.createTextNode(
            String.valueOf( getTrx_date() ) ) );
            sentContent.appendChild( temp );
            // create contentid Element
            temp = document.createElement( "contentid" );
            temp.appendChild( document.createTextNode(
            String.valueOf( getContentid() ) ) );
            sentContent.appendChild( temp );
            return sentContent;
        }& how can i send it to the server using HTTP request post method?

    <mms>
    <subject>message subject</subject>
    <url_image>http://image_url</url_image>
    <url_sound>http://sound_url</url_sound>
    <url_video>http://video_url</url_video>
    <text>message text</text>
    <msisdn_sender>6281XYYYYYY</msisdn_sender>
    <msisdn_receipient>6281XYYYYYY</msisdn_receipient>
    <sid>to be define later</sid>
    <trx_id>Unique number</trx_id>
    <trx_date>yyyyMMddHHmmss</trx_date>
    <contentid>see note</contentid>
    </mms>
    How can i produce that xml?
    Can i produce it with this?
    public Element getXML(Document document) {
            // create sentContent Element
            Element sentContent = document.createElement( "mms" );
            // create subject Element
            Element temp = document.createElement( "subject" );
            temp.appendChild( document.createTextNode(
            String.valueOf( getJudulFilm() ) ) );
            sentContent.appendChild( temp );
            // create url_image Element
            temp = document.createElement( "url_image" );
            temp.appendChild( document.createTextNode("") );
            sentContent.appendChild( temp );
            // create url_sound Element
            temp = document.createElement( "url_sound" );
            temp.appendChild( document.createTextNode("") );
            sentContent.appendChild( temp );
            // create url_video Element
            temp = document.createElement( "url_video" );
            temp.appendChild( document.createTextNode(
            String.valueOf( getUrl_video() ) ) );
            sentContent.appendChild( temp );
            // create text Element
            temp = document.createElement( "text" );
            temp.appendChild( document.createTextNode("") );
            sentContent.appendChild( temp );
            // create msisdn_sender Element
            temp = document.createElement( "msisdn_sender" );
            temp.appendChild( document.createTextNode(
            String.valueOf( getMsisdn() ) ) );
            sentContent.appendChild( temp );
            // create msisdn_recipient Element
            temp = document.createElement( "msisdn_recipient" );
            temp.appendChild( document.createTextNode(
            String.valueOf( getMsisdn() ) ) );
            sentContent.appendChild( temp );
            // create sid Element
            temp = document.createElement( "sid" );
            temp.appendChild( document.createTextNode(
            String.valueOf( getSid() ) ) );
            sentContent.appendChild( temp );
            // create trx_id Element
            temp = document.createElement( "trx_id" );
            temp.appendChild( document.createTextNode(
            String.valueOf( getTrx_id() ) ) );
            sentContent.appendChild( temp );
            // create trx_date Element
            temp = document.createElement( "trx_date" );
            temp.appendChild( document.createTextNode(
            String.valueOf( getTrx_date() ) ) );
            sentContent.appendChild( temp );
            // create contentid Element
            temp = document.createElement( "contentid" );
            temp.appendChild( document.createTextNode(
            String.valueOf( getContentid() ) ) );
            sentContent.appendChild( temp );
            return sentContent;
        }& how can i send it to the server using HTTP request post method?

  • Can You Change things like Mouse size?

    I am having trouble seeing the cursor on my screen in this new environment. I love the 27" screen and 2560 X 1440 display. The mouse is often next to invisible to me so I wondered if there was any way to make it larger.

    I prefer Mouse Locator (free download)
    <http://www.versiontracker.com/dyn/moreinfo/macosx/26157>
    I like this Mouse Locator Graphic
    <http://homepage.mac.com/douglasn/locatorexchange/AD/1/MouseLocator.png>
    I have a 27" iMac WITH an attached 24" 1920x1600 2nd monitor. And then to make it more interesting, I have my 13" MacBook sitting under the 24" monitor and I use teleport to control the MacBook. I find Mouse Locator extremely useful in finding my mouse cursor no matter which of the 3 screens it is on.

  • I can't get drop-down menus to work, I scroll over & click, NOTHING happens. When clicking on certain thumbnail pics to change the larger view, the pic doesn't change. So annoying! I can't use FF like this. I'm newly updated, 10.0.1. Help anyone?

    This sites (http://video.pbs.org/) drop downs "Programs" and "Topics" don't work when clicked.
    This page (http://www.modcloth.com/shop/dresses/ain-t-over-until-it-s-clover-dress) when clicking on the thumbnails of the green dress, the larger view pic does NOT change.

    I'm running the new version as well. I tested the last page you mentioned, and it works fine for me. I'm not sure if i can help without more information.

  • How can I make navigation like this...?

    http://timeger.com/work/JoseCuervo/JoseCuervo_Facebook.php
    I want to the user to be able to navigate within my site, like the navigation on this site. (the numbers on the right side of the screen re-populate the area with different images.)
    Thanks so much!

    Use mouse rollover with two images, one with just the text and the other image, rollover, with the oval around the text. You can link the first image to the page you want. This demo page has some examples: Mouse Rollover. The first two examples are hyperlink to other pages.
    OT

  • Can I trust something like this?

    Okay, I'm searching eBay for Macbooks, and I find this: click here
    How can I trust that? $35? And no reserve? Something makes no sense....
    And no, I am not selling this, I'm looking for a good deal.

    I've been selling on eBay for several years and the saying "If it's too good to be true it probably isn't(true), really applies to anything on eBay. Nobody is going to sell a real Macbook for $35, it was a scam and that's why it has been removed. Many times you'll see a post like that for ipods, mackbooks etc. and if you read close it will say something like "We will tell you how to get a Macbook for $35...." But the auction will have pics and info on the Macbook and make it appear you are getting a ipod or computer. btw Macbooks tend to hold their value quite well I sold a first gen for almost what I paid for it.
    MacBook, C2.0 duo, black   Mac OS X (10.4.7)   120 gb hd, 2 gb ram, 250 gb ext drive, 5g ipod, 2g ipod

Maybe you are looking for