MEMORY_TARGET questions

Hello Sir,

When you use MEMORY_TARGET and MEMORY_MAX_TARGET, I know you are supposed to define the PGA_AGGREGATE_TARGET and SGA_TARGET to zero. But what you guys usually do with your SGA_MAX_SIZE setting?

Thinking about this, I guess that if performance problems have not changed I leave the same and put my MEMORY_MAX_TARGET to the sum of the SGA_MAX_SIZE and max (pga_aggregate_target, allotted maximum PGA)
. Do you agree with that?

I saw on some customer case that the SGA_MAX_SIZE and MEMORY_MAX_SIZE have been set the same. I guess that is not wise because it would allow the CMS to use all of the memory (although Oracle should not allow this). You would avoid this configuration?

Thank you!

Personally, unless you have reason to believe that Oracle will allow the SGA get too big and the PGA to get too small, which seems unlikely, I let SGA_MAX_SIZE = MEMORY_MAX_TARGET. If SGA_MAX_SIZE< memory_max_target,="" you're="" creating="" a="" floor="" on="" the="" size="" of="" the="" pga="" and="" a="" limit="" on="" the="" size="" of="" the="" sga="" for="" no="" apparent="" reason="" (again,="" assuming="" you="" don't="" have="" a="" particular="" reason="" to="" believe="" that="" oracle's="" memory="" management="" is="" having="" a="" problem="" with="" this="" particular="" database="" workload).="" if="" you're="" going="" to="" let="" oracle="" manage="" the="" memory,="" i'd="" just="" let="" oracle="" manage="" the="">

Justin

Tags: Database

Similar Questions

  • Question about MEMORY_TARGET and MEMORY_MAX_TARGET and EM

    Good evening

    After a lot of reading and research on Google and ask Tom (and Jerry too!) and visit a multitude of websites, I still do not understand the exact scope of MEMORY_TARGET and MEMORY_MAX_TARGET. I would be very grateful to represent a clearexplanation and sensible, verifiable and technically correct as to what these two parameters and how they interact with each other, and why two different parameters are needed instead of one.

    The more clear statement, that I found so far is:

    Of [Oracle frequently asked Questions Wiki | http://www.orafaq.com/wiki/Memory_target]

    >
    MEMORY_TARGET stipulates the following:

    A single parameter for total size SGA and PGA
    < li > automatically resizes the SGA and PGA components
    < li > memory is transferred to the more need
    < li > uses workload information
    < li > uses internal advisory predictions
    < li > can be by DBCA at the time of the creation of the database.
    >

    This seems quite reasonable, but given that MEMORY_TARGET includes the SGA and PGA size, which would be necessary MEMORY_MAX_TARGET for? How did the memory represented by MEMORY_MAX_TARGET - MEMORY_TARGET used by Oracle? It is simply wasted? (Note: the maximum value of MEMORY_TARGET should, wisely, be lower or equal to MEMORY_MAX_TARGET)

    From the different point of view, when a database is created, we can take away from the o/s, a number X of GBs and drop it to Oracle by setting the MEMORY_MAX_TARGET parameter. Why Oracle not use all (by definition of a value of less than MEMORY_MAX_TARGET MEMORY_TARGET)? that said MEMORY_TARGET Oracle that doesn't MEMORY_MAX_TARGET (or vice versa)?

    Why would anyone want to define MEMORY_TARGET as inferior to MEMORY_MAX_TARGET?

    I appreciate a lot any help to clarify the issues above.

    Thank you very much

    John.

    I could not find the document that says that. Where did you find this statement? I ask because it would be nice if the document gave few details about how it is used on Unix.

    Here's the link:

    http://download.Oracle.com/docs/CD/B28359_01/server.111/b32009/tuning.htm#BABBJHAC

    HTH
    Girish Sharma

  • Details on the implementation of shared memory to set memory_target on Oracle Linux

    Hi all.

    I have a database of Oracle 11 g Rel2 (11.2.0.4) 64-bit running on Oracle Linux 5.8 64-bit.

    Several notes on MOS, must properly configure the shared memory to make use of automatic (memory_target) memory management.

    On these notes basically to allocate memory: Mount size of t tmpfs-o shmfs = 1073741824/dev/shm

    And keep the overall starting value by adding an entry in/etc/fstab: shmfs/dev/shm tmpfs size = 1073741824 0

    My doubt is that oracle Linux uses tmpfs instead of shmfs:

    [oracle@union ~] $ df-h/dev/shm

    S.ficheros Tamaa±o Disp Uso % Montado used in

    tmpfs 7, 9G 0 7, 9G 0% / dev/shm

    [oracle@union ~] $

    [oracle@union ~] Mount $

    / dev/map/VolGroup00-LogVolroot on / type ext3 (rw)

    proc on/proc type proc (rw)

    Sysfs on/sys type sysfs (rw)

    type devpts on/dev/pts devpts (rw, gid = 5, mode = 620)

    / dev/sda1 on/U01 type ext3 (rw)

    / dev/sdb1 on / boot type ext3 (rw)

    tmpfs on/dev/SHM type tmpfs (rw)

    None on/proc/sys/fs/binfmt_misc type binfmt_misc (rw)

    sunrpc on/var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

    / dev/sdc1 on/media/respaldos type vfat (rw)

    [oracle@union ~] $

    [oracle@union ~] $ cat/etc/fstab

    / dev/VolGroup00/LogVolroot / ext3 defaults 1 1

    LABEL = / u01/U01 ext3 defaults 1 2

    LABEL = / boot/boot ext3 defaults 1 2

    tmpfs/dev/shm tmpfs defaults 0 0

    devpts/dev/pts devpts gid = 5, mode = 620 0 0

    Sysfs/sys sysfs defaults 0 0

    proc/proc proc defaults 0 0

    / dev/VolGroup00/LogVolswap swap swap defaults 0 0

    As you can see it's ride on tmpfs/dev/shm tmpfs defaults 0 0


    So the question is: is it the same? is tmpfs just a label? After all this is pointing to/dev/SHM and tmpfs.


    Best regards, Luis.

    I have this line in/etc/fstab on OEL 6.5 system that I use now to give me 4 GB shared memory:

    tmpfs / dev/shm tmpfs defaults, size = 4000 m 0 0
  • memory_target in 11 GR 2

    Hi all

    I installed 11 GR 2 64 bits on RHEL5 64 bit.

    now I need to manually create the DB so need some calrification memory_target parameter in the file PFILE.

    questions

    (1) how memory_target work in 11 GR 2 and how is it related to/dev/shm mount points?
    (2) does shmmax is related co by setting MEMORY_TARGET?

    Details:

    OS: RHEL5 64-BIT
    Oracle server: 11 GR 2 64-bit

    memory:

    RAM = 32 G
    shmmax I put less than 1 MB to 4 GB as recommended by oracle.
    / dev/shm = 16G

    based on above entry...

    extent or that much, I can increase my package?

    given that/dev/SHM is 16 G increase the 4 G to 10 G memory_target?

    awaiting your response


    Thank you

    knockaert

    As you use a 64-bit system, setting shmmax to shared memory less than 4 GB segment does not apply. It is for 32-bit systems.

    On 64-bit systems, a practice is to set shmmax physical memory - 2 GB.

    Just to add one more thing, the more in use value for 64-bit systems here are half of physical RAM.

    concerning

    Published by: Fahd Mirza on January 21, 2011 13:00

  • memory_target and sga_target

    Our data base is 11g 2 on Redhat 52. I have a question about the new parameter 11g memory_target and the old sga_target. I understand that if memory_target is defined, sga and pga will automatic managed and optimized. So should I adjust sga_target. What restrictions and recommendations contained in the definition of the sga_target when memory_target is defined?

    Thank you.

    In Oracle 11 g MEMORY_TARGET controls the total amount of memory to Oracle for SGA and PGA. Oracle allocates memory from the PGA to the sessions, based on demand.
    You have not need define SGA_TARGET if you already MEMORY_TARGET game.

    Set possibly 0 SGA_TARGET, PGA_AGGREGATE_TARGET and other memory configuration settings (for example, SHARED_POOL_SIZE). If each of these parameters have nonzero values while the AMM is in effect, the values of the parameters define the minimum sizes for the specified memory region.

    ZlT

  • iOS 10 people record problem/question

    Hello

    I have a couple of "faces" in the issue of people who are coming in white, but acknowledged same 'face' of many times.  Is anyway to update it for photo comes actually?  At a few faces, I don't know that facial recognition found since it is coming from white.

    Hi JohnP007,

    Congratulations on your iPhone 7 more running iOS 10! I understand that some of your faces in the album of people pull up as a draft and you want to refresh. You can try to use the steps below to fix the faces on the thumbnails in albums.

    Difficulty faces and names mixed-up

    If you notice that there is a photo of someone in a collection that is poorly identified, you can remove it.

    1. Tap the person you want to remove in the album of people > select.
    2. Type Show done face to emphasize his face in every photo.
    3. Press on each photo that is not the person.
    4. Type > not this person.

    Hide people

    You can hide the people or groups that you don't want in your album of people.

    1. Open the album people and press Select.
    2. Touch the people you don't want to see.
    3. Click Hide.

    If you want to see the people that you have hidden, press on show hidden people.

    People in the Photos on your iPhone, iPad or iPod touch

    This should be corrected without delay faces. Please use the Apple Support communities to post your question. Good day.

  • Questions - and answers forgotten

    How to get my 'secret' answers to the questions that I have noted the way back when?

    If you forgot the answers to your questions of security of Apple ID - Apple Support

  • I can't reset the security questions. We received notice as below:

    Hello world

    I can't reset the security questions. We received notice as below:

    "Cannot reset Security Questions."

    We have insufficient information to reset your security questions. "

    Please help me as soon as possible! Thank you very much.

    Hello

    You will need to contact the Apple Support.

    The information is available here:

    Contact Apple for assistance with the security of the Apple ID - Apple Support accounts

    (I'm afraid that no one here can solve the problem for you - this is a user-based community).

  • Question of cloning for SSD upgrade on 12 Macbook Pro

    Previously, I did an upgrade to SSD on my Macbook Air to 2012 according to the instructions of JetDrive transcend. Basically connection via USB 3 and using Mac OS X to clear (and format) disc utilities new SSD, then restore again SSD and then remove the original 128 GB SSD and insert the new 480 GB SSD.  For about a month and so far without problem.

    Now I'm trying to 2012 Macbook upgrade my Pro partner (on 10.11.6).  I got a Crucial SSD MX300 to replace his HARD drive.  Crucial comes with (or recommend) Acronis software.  And a lot of the messages of the forum recommend Carbon Copy Clone.

    My question is if I can use the same method for the cloning of the HD as my Macbook Air (just restore disk of Mac OS X utilities)?  This time, I'm upgrading HARD drive and I don't know if something is different.  At the same time, if I got lucky the first time, I don't not ruin Macbook Pro my spouse this time.

    Thank you.

    Yes, you can use disk utility to clone your MBP wives, but unlike CCC, it will not clone the recovery and Partition.

  • Question about resolution movie downloads

    If I buy a movie at a certain resolution (780p for example), but I want more later re - download at a higher or lower resolution (SD or 1080 p), can I do so and how?

    Same question perhaps for music. Some of my songs have been bought before the latest Apple codecs.

    Any help is appreciated!

    THX!

    Once you have made a purchase on the iTunes store, you will see your purchased items in the menu under accounts bar > bought. You can simply select the item purchased and re-upload.

    With regard to the resolution of the film for films that are offered, and you select the resolution, you can download it again and select a different resolution. For movies that are available as separate download to SD, 780, or 1080 points, you would be limited to the original resolution you selected.

  • Why I can't ask questions.

    I just have a question.  I said that I can't ask questions.

    Do exactly what you did to make this post, but your question in there instead.

  • Cannot reset the Security Questions

    Hello my dear

    -J' forgot my account security questions, but I remember password

    And I'm changing my Security Questions, but show me this sentence

    "Cannot reset Security Questions."

    We have insufficient information to reset your security questions. "

    -I want to solve this problem as soon as possible if permitted

    You should contact the account of Apple security team. To join, click here and choose a method; If this page does not list one for your country or if you are unable to call, complete and submit this form.

    (145081)

  • Bootcamp Windows 10 question

    Hi all

    Stumbled upon a problem, try to install Windows 10 an end 2014 27' iMac w/retina education runs Yosemite 10.10.5. Bootcamp is V 5.1.4. 32 GB, 3.5 ghz Intel I5. Disk of 1 TB of Fusion. Before you try this, I read the guide of Bootcamp to install windows, but also a number of other tutorials and forum messages about potential problems. This research, I learned that for EDU edition you must change the name of the file from Win10_1607_Education_English_x64.iso to Win10_1607_English_x64.iso. Apparently to have the former name of the file may cause OS X to not recognize the ISO. That fact I started Bootcamp, waited while the software downloaded and created a bootable USB key and partitioned my drive giving Windows 70 GB of space. After that, I got the message that my computer is restarts. Upon restarting, I got the black screen with the blue Windows logo and a spinning loading animation. After a few minutes, a blue screen with a message "Windows has encountered and error with computer and must restart," or something similar. He was pretty quick, so maybe it's not word for Word, but it was not a helpful post in terms of saying something specific. When the computer reboots, I am sent directly to OS X, though a bit slower than normal. I tried to restart with the flash drive to see if the installer would start up, no dice. Try now the Option key at startup, the flash player is not available. Went into my settings to see if I could change my startup on Win disk install USB, no luck it no more.

    Now for the question: How can I get the Windows installation again? What I have to start the process, and if so, what should I use Bootcamp to delete the partition that was created? I have re-run Bootcamp and the only option that is checked is the partition and start and install/uninstall windows and delete the partition.

    Thanks for the help.

    Perform the following two procedures

    Reset the management system (SCM) controller on your Mac - Apple Support

    How to reset the NVRAM on your Mac - Apple Support

    If you use a USB drive, not a USB flash drive, you will have problems. It is recommended to use a 8-16 GB USB2 flash drive.

    If the installation program is located on a USB Flash drive, stop your Mac, connect the USB key, restart and hold down the alt/option key and select the Windows icon in the USB port. This installs Windows in BIOS mode. If you click the start EFI icon, it will install using the EFI mode (faster). You may need to change the partition from MBR to GPT using GPT Fdisk.

  • Yahoo account question

    Yes, I understand these are the Apple support forums, but I don't know where else to ask this question and I thought some of you would have the answer to this question.

    I deleted my Yahoo account last week, but I've heard that the 500 million Yahoo accounts were hacked in 2014. I made my account in 2015. Im sure it is hacked since I made my account a year after the supposed hack, but if my account has been hacked and I deleted which would be safe?

    If your account did not exist in 2014, then it is has not been hacked. Removal of the guarantees it will not be new since there was more pirate. Normally, at least the hackers got access to more information in the narrative, as credit card numbers, change your Yahoo password would have sufficed.

  • Text backup question / deleted

    I accidentally deleted one of my iPhone SMS 6 Plus.  They always show on my iMac and iPad but I fear when an AutoSave occurs, it will back up the iPhone and remove them to two other devices. What will happen?  I use iCloud if that makes a difference.

    Hi melissahh625,

    I understand that you have questions about your messages deleted on different devices. I know that it is important to have a handle on your data, so I'm happy to help you.

    When you receive messages, they are stored on different devices. This means that when you delete a device they will not be deleted on the other. This is the case, even if one of your backup devices to iCloud that these backups are specific to devices, as well.

    Thank you for using communities Support from Apple. See you soon!

Maybe you are looking for