Constant change in SGA components up-down
hello,
we are developement database oracle 10gR2 on windows plateform
ASMM is on.
i am surprised to know that our smart oracle is doing a lot of shrink and grow on SGA components specially shared pool and db buffer cache
is it ok or some thing wrong?
i checked another development DB and found that it should be infrequent..
do i need to turn of the ASMM?
the out put from a query shown this
WHEN COMPONENT OPER_TYPE INITIAL_SIZE/1024 FINAL_SIZE/1024
May-16:19:53:17 DEFAULT buffer cache STATIC 3031040 3014656
May-16:19:53:17 large pool GROW 0 16384
May-16:19:53:17 DEFAULT buffer cache INITIALIZING 3031040 3014656
May-16:19:53:17 ASM Buffer Cache STATIC 0 0
May-16:19:53:17 DEFAULT 32K buffer cache STATIC 0 0
May-16:19:53:17 DEFAULT 16K buffer cache STATIC 0 0
May-16:19:53:17 DEFAULT 8K buffer cache STATIC 0 0
May-16:19:53:17 DEFAULT 4K buffer cache STATIC 0 0
May-16:19:53:17 DEFAULT 2K buffer cache STATIC 0 0
May-16:19:53:17 RECYCLE buffer cache STATIC 0 0
May-16:19:53:17 KEEP buffer cache STATIC 0 0
May-16:19:53:17 DEFAULT buffer cache STATIC 0 3014656
May-16:19:53:17 streams pool STATIC 0 0
May-16:19:53:17 java pool STATIC 0 16384
May-16:19:53:17 large pool STATIC 0 16384
May-16:19:53:17 shared pool STATIC 0 688128
May-16:20:30:59 shared pool GROW 688128 704512
May-16:20:30:59 DEFAULT buffer cache SHRINK 3014656 2998272
May-17:10:50:40 DEFAULT buffer cache SHRINK 2998272 2981888
May-17:10:50:40 streams pool GROW 0 16384
May-17:10:50:42 DEFAULT buffer cache SHRINK 2981888 2965504
May-17:10:50:42 streams pool GROW 16384 32768
May-17:11:04:38 shared pool GROW 704512 737280
May-17:11:04:38 DEFAULT buffer cache SHRINK 2965504 2932736
May-17:11:05:08 shared pool GROW 737280 770048
May-17:11:05:08 DEFAULT buffer cache SHRINK 2932736 2899968
May-17:11:06:01 DEFAULT buffer cache SHRINK 2899968 2883584
May-17:11:06:01 shared pool GROW 770048 786432
May-17:11:20:38 DEFAULT buffer cache SHRINK 2883584 2850816
May-17:11:20:38 shared pool GROW 786432 819200
May-28:15:24:06 DEFAULT buffer cache SHRINK 2850816 2818048
May-28:15:24:06 shared pool any suggations/advice/help??
thank you
I saw this a lot on an highly OLTP system once at 10gR2. My SGA was thrashing wildly between buffer cache and shared pool due to a bug in AMM and it was causing performance impact (cursor S pin on X) for no apparent reason. This was particularly prevalent when I moved from a two to a three node cluster.
If you check out v$sga_resize_ops and see if you see a lot of thrashing (sometimes once every three seconds on one instance for 3 hours, then it'd switch to another instance), then my solution was to hardcode the various settings and disable AMM. However, in your case, you're resizing fairly irregularly - probably due to either an undersized component or workload changes. AMM is meant to do what you're describing - is it causing you any issue or is it something that you've noticed and are curious about?
Similar Messages
-
My external hard drive goes in to constant access mode and really slows down my computer
I'm using an external hard drive for time machine. After working for an hour or so the drive goes into a constant access mode and realy slows down my IMac. I look at activity monitor and everything looks good, no high CPU usage or memory issues. The only fix is to use the power button to shut down my IMac. After restart it works fine for a while.
If I turn off time machine the problem seems to not happen. I tried disk utility on the external hard drive and it says the dirve is fine. I change out external drives and the problem still occures. Any thoughts?I didn't realize my profile stated otherwise.
Please check near the bottom of your original post above to see OS X (10.7.2). You might want to update that to avoid confusion and save some time in the future.
OK, please take a deep breath.
Apple does not officially support Time Machine backups to a drive at the USB port of the AirPort Extreme....likely because it is not reliable. You might want to review this Apple Support document to confirm:
http://support.apple.com/kb/HT2038
So, we are not going to be able to provide you with much assistance on that issue.
Some users seem to be able to make this work....some have some problems....and some (like me) who have tried this have nothing but problems.
Sorry, I can't help on this one, but maybe another user who has had better luck will post to provide his secrets.
The iTunes and iPhoto libraries and files are my only copies now. I moved everything from my Macbook to the external then deleted the originals.
Not sure if you have thought about this.
If you deleted the "originals", then your only copy of your data is on one hard drive. You have no backups if the drive has a problem.
A minimum backup plan would be to have a copy of important data on two different drives. When....not if...one drive fails, you have the data on the "other" drive.
You have no "other" drive according to the information that you have provided.
Further.....Time Machine backs up the changes on your Mac. At some point....you cannot know when.....Time Machine will pick up the change on your Mac and delete the iTunes and iPhoto data from your Time Machine backups.
The files might stay there a few months, or even longer. But, I have seen instances where the files were deleted within a week or two.
So my advice would be to only delete data from your Mac that you can afford to lose. -
What would cause a enum typedef constant changes during execution
Hello,
In my program I having a problem with an enum constant for a tab selection changing value at runtime. The enum is in the initialization part of the program and when I single step through the loop you see the tab property node for the value highlight and then in the next step the enum changes value. I'm running LV 8.0
Any information will be greatly appreciated.
Gary
Solved!
Go to Solution.Ben,
Here are three jpg's to view with the first one once I enter the loop, the second is single stepping up to the property node and the third is the next single step and where the constant changes. I hope this helps I'm looking into a possible race condition could be the cause of this, but I'm not sure yet.
Gary
Attachments:
Enum constant changing at run-time.JPG 177 KB -
I bought 15g of cloud space and when I changed my password it went down to 5 g and I lost my backup how can I restore my old backup without buying more space because I had enough space with my old password
When you say you changed you password - was this for the same Apple ID, or did you just log into icloud using a different Apple ID and password? If it was a different ID, then you are now connected to a different account, hence that is why you went back to 5 GB.
-
How do I change the default on shutting down Lion to NOT relaunch open windows?
How do I change the default on shutting down Lion to NOT relaunch open windows? And how can I have Safari always open in full screen mode? I have to set it every time I open Safari.
The feature you are talking about in System Preferences does work and is not related in any way to the one at startup.
One restores the windows of an application you've quit, the other reopens all windows you had open at shutdown or restart.
Why should "I" have to constantly turn off a checkbox when I shutdown the system?
You don' t have to. Did you have a look at my post just above yours? With a double click you can have your restart without opening the last open windows. That's less than clicking the apple icon and selecting "restart" or "shut down" and then clicking "Restart" or "Shutdown" again. -
(10g)SGA_TARGET 파라미터를 이용한 AUTOMATIC MANAGMENT SGA COMPONENTS
제품 : ORACLE SERVER
작성날짜 : 2004-04-26
PURPOSE
이 문서는 SGA_TARGET 이라는 새로운 파라미터를 이용하여 Automatic
management SGA Components에 대하여 알아보기로 한다.
Explanation
SGA_TARGET 파라미터를 이용한 Automatic management SGA Components에 대하여
설명하기로 한다.
Automatic management SGA Components using SGA_TARGET
Oracle 10g부터 다음과 같은 각각의 SGA component에 대한 값들을 manual하게
설정할 필요가 없다.
shared_pool_size
log_buffer
java_pool_size
large_pool_size
buffer_cache_size
위 SGA 파라미터들의 사이즈를 측정하고 initSID.ora file에 그 값을 설정할
필요가 없음을 의미한다. 사실 SGA 크기를 정의하는 위 파라미터들을 설정하지
않아도 된다.
다만 10g 에서는 SGA_TARGET 이라는 새로운 파라미터만 셋팅하면 된다.
SGA_TARGET 이라는 파라미터는 해당 instance에 필요한 SGA의 최대 크기를
가리킨다.
SGA_TARGET을 152M 로 잡았다고 가정하자. 이것은 SGA가 커질 수 있는 최대 크기가
152M 라는 의미이다. Shared pool, buffer cache, large pool, java pool 과 같은
SGA component들은 이 maximum 사이즈 내에서 할당될 것이다.
오라클은 이러한 component들의 초기 값을 자동으로 계산하고 필요에 따라
자동으로 resize한다.
즉, SGA_TARGET 만 셋팅되어 있으면 shared pool, buffer cache, large pool,
java pool에 대하여 값을 명확히 지정할 필요가 없다.
Example
SGA_TARGET=152M 로 잡았다고 가정한다.(block size is 8K).
SQL> show parameter sga_target
NAME TYPE VALUE
sga_target big integer 152M
오라클은 다음과 같이 SGA component들의 사이즈를 정의한다.
SQL> show sga
Total System Global Area 159383552 bytes
Fixed Size 769328 bytes
Variable Size 72270544 bytes
Database Buffers 62914560 bytes
Redo Buffers 23429120 bytes
여기서 주목할 점은 다음과 같다.
1) SGA_TARGET을 셋팅하면 SGA_MAX_SIZE 의 값은 또한 SGA_TARGET 으로 셋팅된다.
즉, SGA_TARGET = SGA_MAX_SIZE.
SQL> show parameter sga
NAME TYPE VALUE
lock_sga boolean FALSE
pre_page_sga boolean FALSE
sga_max_size big integer 152M
sga_target big integer 152M
2) SGA_TARGET 의 값을 SGA_MAX_SIZE보다 더 크게 설정할 수 없다.
즉, SGA_TARGET <= SGA_MAX_SIZE.
SQL> alter system set sga_target=160M;
alter system set sga_target=160M
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
Reference Documents
<Note:256913.1>
Oracle Database Concepts 10g Release 1 (10.1)
Part No. B10743-01
Chapter 8: Memory Architecture842638 wrote:
hi experts.. please answer the question
Im on 10.2.0 linux....
sga_target=200m
sga_max_size=400m
if automatic components take 180MB out of 200MB and lets say manaul components take 10M. so is the remaing 10MB wasted? yes or noWhy wasted? Only after giving memory to the manual components, whatever is left would be given to the automatic components. So nothing would be wasted by this approach.
HTH
Aman.... -
Oracle SGA components manual allocation
All,
Phyical memory : 420G My database version : 11.2.0.3 running on linux machine.
Memory_target = 200G . I would like to allocate this value to following SGA components. I don't want to automatic memory management enabled. Can you please guide me how to split 200G for following components. Is there any percentage for each components ?
db_cache_size
db_recycle_cache_size
db_keep_cache_size
large_pool_size
java_pool_size
shared_pool_size
pga_aggregate_target
streams_pool_size
log_buffer
ThanksThere is no 'default' settings for the components. Oracle tell you, when you create a database with DBCA, that the values provided by that tool are for a sample database and you should tune them to how you see fit.
This is what I would do (assuming this is a test environment, of course):
- If you're using HugePages, disable it.
- Run with AMM but give some key components a 'minimum' value (such as SGA, PGA, shared_pool, etc) so it's not too crazy. Setting everything at 0 can have performance issues with some databses, strangely.
- Run an entire workload cycle (day, week, etc) - enough batch processing to mimic a realistic workload on Production
- Check out the dynamic views/AWR reports to see what the database advises with the various components.
- If you want to use HugePages, then set the SGA and PGA to whatever you've determined from the AWR reports. You can choose whether to specify minimum values for the SGA components.
- If you're not using HugePages, you really should use AMM. What I do is give the SGA and PGA minimum values and allow the database to decide which one gets the 'extra' memory that's left over. That way, the SGA doesn't drop to an impossibly small size and cause everything to crap out.
Mark -
E-Business Workflow, 2 components say down
I am logged into Oracle Workflow Systems and two of the 6 components are down (Purge and Control Queue Cleanup). I have no clue why they are down. Where or what do I check to determine how to get these components started. The Notification mailer seems to be fine along with the Agent Listeners, Service Components and Background. Any help is greatly appreciated. Thanks.
Please post the details of the application release, database version and OS.
Please check the log files for details about the error -- How To Troubleshoot Java-based Workflow Notification Mailer (Doc ID 242941.1) -- 4. Log Files
Thanks,
Hussein -
My Iphone was changed because of broken down thanks to its warranty. I am from Turkey and I paid one time for my old Iphone to save. Can you give me a paper or document related to this phone was changed since it was broken down? I need IMEI numbers of two Iphones on the same page. Because I don't wanna save this Iphone again in my country. I paid one time for my old Iphone. If you give me a document, I don't need to save my Iphone5 and also I don't need to pay again to save in my country.
this forum is made up of users like you, not apple employees. We can not help you with that kind of request.
-
BO XI and the constant change rate analysis
Hello,
We have a BI system (BO XI + Oracle) which contains sales of all countries in the world. All the amount are stored in local currency.
We have a 10 indicators in our univers for these local currency figures and 10 other corresponding indicators for the value in Euro. The exchange rate apply for a currency is annual (and stored in the database for each currency / year)
->if I report a euro indicator for a country on 3 years, 3 exchange rates will be applied to the corresponding years
ex: for 2007,2008,2009 and Russian sales, the Turnover of the 3 years will be : Amount_2007 * Rate_2007 + Amount_2008Rate_2008 + Amount_2009Rate_2009 (this is the normal behavior of aggregation in BO)
For the business, it's very interesting to see the evolution of sales without the change rate effect (to work with constant change rate). So to do this analysis, I would like to apply the same change rate to the sales of the 3 years to get the amount in Euro
-> (Amount_2007 + Amount_2008 + Amount_2009) * Rate_2008
my question:
is it possible to work in constant rate with BO XI without to have a too complex way to do it for users ? We would like to have an object to put in condition with the values "constant rate" / "yearly rate" of better, an object with a list of years to choose the rate to apply
thanks in advance for your answer !
dansledouteHi
I hope you are building query like below
Year | Turnover | Rate
And then Multiplying
Euro turnover =Turnover * Rate
For Rate measure you can use following expression (You would need to change it as per our table name)
CASE WHEN 'CONSTANT'=@Prompt('Which Type','A',{'CONSTANT','CHANGING'},,,,) THEN
MAX(DECODE(DATE_DIM.YEAR,@Prompt('Which Year','N','Currdim\Year',,,,),RATE.RATE)) OVER (PARTITION BY @Prompt('Which Year','N','Currdim\Year',,,,) )
ELSE MAX(RATE.RATE) OVER (PARTITION BY DATE_DIM.YEAR )
END
Now if data is like below
Rate Table
Curr | YearMnth | Rate
RUB| 201001 | 3
RUB| 201102 | 4
Above expressions will give you rate of selected same year if CONSTANT is selected. i.e.
Year | Turover | Rate
2010 | 3000 | 3
2011 | 4000 | 3
Now you can multiply Rate * Turnover to get constant turnover for 2010 rate. Basically you can create the variable at report with following definition
=([Euro Turover] * [Rate])
Let me know if this solves your issue.
Edited by: Kuldeep Chitrakar on Jun 5, 2011 3:31 PM -
LabVIEW 2014 array constant change
Why did the "graying out" of array constants change between LabVIEW 2014 and LabVIEW 2013? In 2014 the effect is much more subtle and it's far harder to tell the # of elements in an array constant. Please change this back ASAP!
My only thought was that they tried to make the disabled elements more readable.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Attachments:
Disabled Elements.PNG 24 KB -
Except JSP Agent, other web components are down.
In my R12 Vision instance, Except JSP Agent, other web components are down. How can i make it up & running? Please help me.
Web Components Status
PL/SQL Agent Down
Servlet Agent Down
JSP Agent Up
Discoverer Unmonitored
Personal Home Page Down
TCF Down
Thanking youAs applmgr user, please do the following:
- cd %INST_TOP%\apps\<SID>_<hostname>\admin\scripts
- Issue "adopmnctl.sh start" to startup the components
- Issue "adopmnctl.sh status" to verify the status of each component, you should get something similar to the following:
Checking status of OPMN managed processes...
Processes in Instance: PROD_db2.db2.domain.com
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
OC4J | oafm | 3800 | Alive
OC4J | forms | 2528 | Alive
OC4J | oacore | 3112 | Alive
HTTP_Server | HTTP_Server | 172 | Alive
ASG | ASG | N/A | Down
exiting with status 0
ERRORCODE = 0 ERRORCODE_END -
Infrastructure portal components are Down!
Hi
My Infrastructure portal components are down.. I want to make it UP.
D:\testWAMS\opmn\bin>opmnctl status
Processes in Instance: Ora10gINF.mngnet148083d.ad.infosys.com
------------------------------------------------+---------
ias-component | process-type | pid | status
------------------------------------------------+---------
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
OC4J | OC4J_SECURITY | N/A | Down
HTTP_Server | HTTP_Server | 2388 | Alive
OID | OID | N/A | Down
DSA | DSA | N/A | Down
and OID is also Down. what might be the reason? can you give me the valuable inputs for the same..
Regards
VijayaThe AS forums category is here:
http://forums.oracle.com/forums/category.jspa?categoryID=193
You should at least check if database, that hosts AS repository, and listener are up. -
Time and date settings change when phone is powered down (not shut off)..
I recently installed the iOS 8 update and immediately noticed that the time and date settings would change when I powered down my iPhone. I did not turn off my phone, only clicked the button to power down or save power. I have tried all the fixes, suggestions, etc., but I am still having issues. In the power down state, I am able to receive phone calls or texts but when I go into my phone, the time and date will be off. It stops from the moment I click the button to power down the phone. Please don't get this confused with turning off the phone completely. This happens when I click the button for power down or power save, however it is described.
So, how do I fix it? Is the app/software for the clock the problem? Is the battery distribution the problem? For some reason, in power down mode, the clock is not receiving constant power in order to keep accurate time. It stops the moment I click the button. Any suggestions? fixes, etc. I could try. Apple support techs were absolutely no help what-so-ever.This sounds exactly like what is going on with my phone, http://www.idownloadblog.com/2012/10/19/iphone-5-date-time-glitch/
-
SharePoint 2013 Foundation Search - Change the admin components to the new WFE server
Hi,
We tried to move the Search Service Application from one server to another server which was newly joined in the Farm.
In this case,the Search Service in my App server - which was working earlier also did not work. I tried almost all Powershell scripts to stop the service, and i could not make it.
Please let me know, how to stop the search service in both servers and to run only in the new server that i have joined.
Also, we need to move all Search Admin components to the new server, and from then Search Index should work only in the new server and not the old one.
Kindly let me know the possibility how can this be achieved.
Thanks in Advance!Hi Karthikanandh,
If you want to stop the Search service in both servers and only run in the new server, then you can stop the service in Central Administration in both the two servers and start the service in new server.
Please go to Central Administration > System Settings > Manage service on server > change the server to the one that you need to stop the search service and then stop the search service.
To move the search admin component to another server, then you need to clone the active Search topology and move that component, and then then activate the topology and move the remaining components.
http://sharepoint.rackspace.com/sharepoint-2013-search-administration-tutorial
http://blogs.technet.com/b/pfelatam/archive/2013/05/10/create-a-search-topology-in-sharepoint-2013.aspx
http://technet.microsoft.com/en-us/library/jj862354.aspx#Search_Comp_Clone
Best regards.
Thanks
Victoria Xia
TechNet Community Support
Maybe you are looking for
-
Problem configuring SOA suite to use OID for authentication
We are in the process of rebuilding our environment to use the full SOA suite with our OID server for authentication (was previously just BPEL using AD directly), and have encountered several problems (below). We have rebuilt the OID server, and rein
-
CreateComponentsFromDescriptors doesn't work
Hi all, I set the application itself to have creationPolicy="none" and then try to call createComponentesFromDescriptors at the end of my event handler that parses the configuration file. But for whatever reason, it still doesn't instantiate
-
How to Remove ZD7000 Antenna Wires from the Hole?
UPDATE: The Maintenance and Service Guide mentions that the antenna wires are attached to a card; that's why I cannot simply pull them out through the hole. There may be enough slack so that, for my purposes, I won't have to disconnect the wires. I'm
-
HTML view does not load first time?
All, I have two HTML views on my Visual Composer model which both have 'Start' connectors going into them with the URL's defined (and correct), but when the page first loads the HTML views just show as gray boxes. To get the HTML views to display the
-
MY IPHONE 3GS START TO GET REALLY HOT, AND AFTER THAT ALMOST EXPLODE...ITS BROKEN NOW.... THE BATTERY GETS FAT... WHATS THE SOLUTION NOW???