Multiple log groups per thread to improve performance with high redo writes
I am reading Pro Oracle 10g RAC on Linux (good book). On p.35 the authors state that they recommend 3-5 redo log groups per thread if there is a "large" amount of redo.
Who does having more redo log groups improve performance? Does oracle paralelize the writes?
redo logs are configured per instance, from experience you need atleast 3 redo log groups per thread to help switch over and sufficient time for archives to complete before reuse of the first redo log group. When you have a large redo log activity there is a potential that redo log groups will switch more often and it is important that archive has completed before an exisiting redo log group can be reused, else the database /instance may hang.
I think that is what the author is referencing here, have sufficient redo log groups (based on the acitivty of your environment) to allow switching and allowing sufficient time for archives to complete.
Similar Messages
-
Improve Performance with QaaWS with multiple RefreshButtons??
HI,
I read, that a connection opens maximal 2 QaaWS. I want to improve Performance.
Currently I tried to refresh 6 connections with one Button. Would it improve performance if I split this 1 Button with 6 Connections to 3 buttons each 2 connections ?
Thanks,
BWBWHi
HTTP 1.1 limits the number of concurrent HTTP requests to maximum two, so your dashboard will actually be able to send & receive maximum 2 request simultaneously, third will stand-by till one of those first two is handled.
QaaWS performance is mostly affected by database performance, so if you plan to move to LO to improve performance, I'd recommend you use LO from WebI parts, as if you use LO to consume a universe query, you will experience similar performance limitations.
If you actually want to consume WebI report parts, and need report filters, you can also consider XI 3.1 SP2 BI Services, where performance is better than QaaWS, and interactions are also easier to implement.
Hope that helps,
David. -
Hello, I have an extremely complicated query, that has a structure similar to:
Overall Query
---SubQueryA
-------SubQueryB
---SubQueryB
---SubQueryC
-------SubQueryA
The subqueries themselves are slow, and having to run them multiple times is much too slow! Ideally, I would be able to run each subquery once, and then use the results. I cannot use standard oracle tables, and i would need to keep the result of the subqueries in memory.
I was thinking I write a pl/sql script that did the subqueries at the beginning and stored the results in memory. Then in the overall query, I could loop through my results in memory, and join the results of the various subqueries to one another.
some questions:
-what is the best data structure to use? I've been looking around and there are nested arrays, and there's the bulk insert functionality, but I'm not sure what is the best to you
-the advantage of the method I'm suggesting is that I only have to do each subquery once. But, when I start joining the results of the subquery to one another, will I take a performance hit? will Oracle not be able to optimize the joins?
thanks in advance!
CoopI cannot use standard oracle tablesWhat does this mean? If you have subqueries, i assume you have tables to drive them? You're in an Oracle forum, so i assume the tables are Oracle tables.
If so, you can look into the WITH clause, it can 'cache' the query results for you and reuse them multiple times, also helpful in making large queries with many subqueries more readable. -
Slow performance with high resolution external monitor
Hello,
I recently bought HP EliteBook 840 G1, i7-4600U, 8gb ram, HD intel graphics 4400, 256GB SSD.
Everything would be fine, but when I connect my 30" Dell monitor with 2560x1600 resolution as an external monitor, the performance of the computer drops significantly to the point where it becomes unconvenient to work with programs that require more resorces.
I understand that it might be due to limitations of the hardware (most probably graphic card is too weak ? ), but still I'd like to ask if there is anything I could do to boost the performance of HP Elitebook with high resolution external monitor.Hi, you should use renderMode = gpu in your application descriptor xml file, especially for latest android devices. But gpu is not a good idea for old devices, so you may also try renderMode = direct.
Honestly, I don't think those android devices made in china have good performance, especially gpu. -
How do I improve performance with exchange
My corporate email is on an exchange 2010 server. Mail.app works with the server but there are a number of performance problems when sending and receiving, which are also well documented in other discussion threads. I have tried every suggested configuration but performance remains extremely poor, especially when compared to my personal IMAP accounts, and the performance I was used to in Outlook 2011 under Mountain Lion.
Looking through my logs I see multiple entries of:
03/12/2013 14:37:55.007 Mail[5018]: CFNetwork SSLHandshake failed (-9800)
03/12/2013 14:37:55.008 Mail[5018]: CFNetwork SSLHandshake failed (-9800)
03/12/2013 14:37:56.456 Mail[5018]: CFNetwork SSLHandshake failed (-9800)
03/12/2013 14:37:56.456 Mail[5018]: CFNetwork SSLHandshake failed (-9800)
03/12/2013 14:37:57.989 Mail[5018]: CFNetwork SSLHandshake failed (-9800)
03/12/2013 14:37:58.143 Mail[5018]: CFNetwork SSLHandshake failed (-9800)
03/12/2013 14:37:59.677 Mail[5018]: CFNetwork SSLHandshake failed (-9800)
03/12/2013 14:38:00.930 Mail[5018]: CFNetwork SSLHandshake failed (-9800)
I have installed and trusted the certificates for our exchange server and can browse to the owa front end with no certificate warnings.
Interestingly, I don't have the same problem with reminders or calendar which are connected to the same exchange server.
Does anyone have any ideas how to overcome this problem?Some additional information...
I fired up wireshark to take a look. For all communications to our Exchange server (Mail, Calendar, Notes...) the SSL negotation includes a downgrade to TLS v1
I notice that Mavericks CoreFoundation Networks defaults to TLS v1.2 and that BEAST mitigation leads to some problems example: https://trac.adium.im/ticket/16550
Exchange Server 2010 is TLS v1.0 only http://support.microsoft.com/kb/2709167
I'll do some more Wireshark investigation. -
Improve performance with union all
Hello there,
Oracle Database 11g Release 11.1.0.7.0 - 64bit Production
PL/SQL Release 11.1.0.7.0 - Production
SQL> show parameter optimizer
ORA-00942: Tabel of view bestaat niet. (Does not exist)I have the following query using the following input variables
- id
- startdate
- enddate
The query has the following format
- assume that the number of columns are the same
- t1 != t3 and t2 != t4
select ct.*
from
select t1.*
from tabel1 t1
join tabel2 t2
on t2.key = t1.key
union all
select t3.*
from tabel3 t3
join tabel4 t4
on t4.key = t3.key
where ct.id = :id
and ct.date >= :startdate
and ct.date < :enddate
order by ct.dateIt is performing really slow, after the first read it performs fast.
I tried the following thing, which was actually even slower!
with t1c as
select t1.*
from tabel1 t1
join tabel2 t2
on t2.key = t1.key
where t1.id = :id
and t1.date >= :startdate
and t1.date < :enddate
t2c as
select t3.*
from tabel3 t3
join tabel4 t4
on t4.key = t3.key
where t3.id = :id
and t3.date >= :startdate
and t3.date < :enddate
select ct.*
from
select *
from t1c
union all
select *
from t2c
order by ct.dateSo in words, I have an 'union all' construction reading from different tables with matching columns 'id' and 'date'.
How can I improve this? Can it be improved? If you do not know the answer, but maybe a suggestion, I will be happy aswell!!!
Thanks in advance!
Kind regards,
Metroickha>
So in words, I have an 'union all' construction reading from different tables with matching columns 'id' and 'date'.
How can I improve this? Can it be improved? If you do not know the answer, but maybe a suggestion, I will be happy aswell!!!
>
If you want to improve on what Oracle is doing you first need to know 'what Oracle is doing'.
Post the execution plans for the query that show what Oracle is doing.
Also post the DDL for the tables and indexes and the record counts for the tables and ID/DATE predicates. -
Improve performance with WL 9 by using WL express license
Hi,
<br>
We just move to WL 9 and the development response time is quite slow compare to 8.1.
<br>
Does anyone think that using only the <b>WL Express 9</b> license could improve the performance since must of the features will be disabled ?
<br>
Thanks,
<br>
AmiHi,
<br>
We just move to WL 9 and the development response time is quite slow compare to 8.1.
<br>
Does anyone think that using only the <b>WL Express 9</b> license could improve the performance since must of the features will be disabled ?
<br>
Thanks,
<br>
Ami -
Improving performance with IN clause
We use lot of those IN clauses for good or bad, and I am trying to improve the performance of those IN clauses.
I have looked at the documentation several times and can't seem to find a way to bind the values in a 'IN' clause. Is there any thing else that can be done to improve the IN clause performance in OCI?
Thanks a lotHi,
You can refer to the following URL on asktom website for detailed explanation about IN & Exists
http://asktom.oracle.com/pls/ask/f?p=4950:8:3465613697817080707::NO::F4950_P8_DISPLAYID,F4950_P8_B:953229842074,Y
HTH
Cheers,
Giridhar Kodakalla -
Improving performance with overlapping MCs?
I'm having some performance issues in certain areas of a flash game Im making.
Here's the situation:
I have big movieclip containing a map that can be scrolled and scaled. There are some pannels with a bunch of MC buttons, controls, etc. on the right side of the stage. These are seperate from the map and stay in the same place.
Everything runs fine untill the large map is zoomed in and/or scrolled such that the right side buttons and stuff are overlapping them map. Then the framerate jumps down from a nice smooth 30 fps to about 3 fps while the map is moving. There are no issues with the map moving when they don't overlap.
Now the thing is, is that's there's no real interaction between the buttons and the map. No transparency or anything, in fact I'm perfectly happy with the map dissapearing behind a side pannel. There are only about 3 pannels that the screen drawing routine would have to worry about, as all the buttons rest on top of the pannels, so why is my performance taking such a hit?
(Hmmm. Actually I do have a lot of transparency, but each is on top of a solid background, and none interact with the map.)I did do some reading on it. I tend not to use code without understanding how it works - at least a rudimentary understanding.
At the moment, I'm not changing anything about how the buttons look - size, rotation, placement, color, etc. This suggests that I can keep them cached starting at runtime while testing the cacheing. (Though I also tried caching them when starting the simulation, and disableing cacheing when the buttons could be used, too.)
Basicaly, I have a game where you use the buttons to supply program commands to robots on the map. Once this is done, you run the program, and the robots execute their programing. Meaning that you can't issue new commands while they are running (and the map is moving), so the buttons are disabled. So there is no reason they would need to change in appearance. When in the 'programing' stage, the map is not moving because the sim is not running. This seems to suggest that cacheAsBitmap could be enabled at all times.
At the moment, I've had to resort to making the _visible property of the button pannel = false during the sim stage. However, this is not an ideal solution, it's just what I've had to resort to to be able to test the workings of the game. eventually, I'll want the player to be able to see how the commands are executing while the sim is running. -
How to Improve performance with beans and Sessions
Instead of using so many session variables, can i use a bean object which will hold all the variables, then put that bean object in a session.
How it will effect the performance and how abt memory, which it will consume.Why would you have to scope so many variables in the session? Exactly how much information do you actually need to maintain throughout an entire user visit? You may want to review your scope for variables. I have discovered that for the most part, I only need to keep most data for the life of the page that uses it.
-
Very Bad performance with high stress on Tempdb
Hello ,
below is the execution plan for a query rapidly increase the Tempdb and has very slow performance,
appreciate your suggestion to enhance this query (any data is available upon request)>Covering indexes will make a huge difference.
You can't simply "create-covering-index" yourself out from every performance jam.
Questions:
Is the query important enough to justify special consideration?
How many covering indexes?
What is the performance impact of the new covering indexes on other queries?
Query optimization:
http://www.sqlusa.com/articles/query-optimization/
Kalman Toth Database & OLAP Architect
SELECT Video Tutorials 4 Hours
New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012 -
Better performance with higher resolution with ultra..why ?
how is this possible ? I got a q6600, 8gb ram and a msi ultra8800.Running crysis with everything to max on 1024X768 at 32 fps, and 1280X1024 at 40 ?
weird, any ideas as to why thats happening ?
cheersme again...sorry for bothering
got another question concerning my ultra, and might as well post it here....Is this h2o cooling compatible with my msi 8800 ultra ?
http://www.virtual-hideout.net/reviews/Mega_Watercooling_Roundup/Zalman_Reserator_2/index.shtml
sorry if its a stupid question, but im really really REALLY a noob here
cheers for any info -
Standby redo log group for particular thread
hi masters,
actually i am performing an experiment to create physical standbyt database on the same machine as my primary database.
i ma going according to 'data guard admin guide'. while section for ading standby redo log group,it says that you have to add standby redo log group to "thread"....
what is this thread? and how can i foind to which thread i have to assign the next redo log group??
how can i find current thread??
what if i dont add "to thread' clause in my statement:-
ALTER DATABASE ADD STANDBY LOGFILE THREAD 5
2> ('/oracle/dbs/log1c.rdo','/oracle/dbs/log2c.rdo') SIZE 500M;
thanks and regards
VDVikrant,
First a question: Do you have a RAC instance? If so the paragraph even doesn't apply to you and I'm not sure why you are questioning it.
Secondly
"The THREAD clause is required only if you want to add one or more standby redo log
file groups to a specific primary database thread. If you do not include the THREAD
clause and the configuration uses Real Application Clusters (RAC), Data Guard will
automatically assign standby redo log file groups to threads at runtime as they are
needed by the various RAC instances."
this means you dont have to specify thread for RAC,as it will allocate one according to current thread.
Your conclusion is incorrect.
Where do you read the word 'current'?
Oracle will likely simply make sure each instance has sufficient standby redolog groups, the requirement is 1 standby redolog group per group + 1 extra.
Sybrand Bakker
Senior Oracle DBA -
I setup streams for 5 tables.I use uncodititional supplemental log group. 4 tables are okay,one is not working. I check dba_log_groups view. For four tables were generated 3 additional supplemental groups for each(primary key,unique key,foreign key), one does have only created by me supplemental log group.
What is the problem with this table?
Please help it is emergency, tommorow we need to go production
ThanksHi Mary,
Are you qualifying the pk for each of the tables?
Make sure you have defined your rules correctly (ex.: query dba_streams_table_rules).
The 3 additional log group are normal. What is not normal is the table that does not have these.
My guess would be that that table does not have a capture rule correctly defined.
I already noticed that the 3 log groups appear when you create the capture rule and they disappear when you drop the capture rule.
Regards, -
ORA-00313: open failed for members of log group 4 of thread 2
Hi.
i have found the below error in one of RAC instance.Could you please advise on this since i am new to RAC env
ORA-00313: open failed for members of log group 4 of thread 2
ORA-00312: online log 4 thread 2: '+NEWDISK_GROUP/DEMO/onlinelog/group_4.1453.1029312423'
ORA-17503: ksfdopn:2 Failed to open file +NEWDISK_GROUP/DEMO/onlinelog/group_4.1453.1029312423
ORA-15032: not all alterations performed
ORA-29702: error occurred in Cluster Group Service operation
ORA-29702: error occurred in Cluster Group Service operation
Thanks
Saiany update on this?
Maybe you are looking for
-
Problem with SPAU Transports after Upgrade and after applying SAPKW70016
Dear All, we copied old dev to new QA, upgraded new QA, then copied new QA to new DEV. did the SPAU adjustments in DEV. At that time DEV SAP_BW version was SAPKW70015. After that we applied SAPKW70016. Now we're having problems with the SPAU trans
-
New Mac user/ minor iCal problem...
Hi, I am a new Mac user and experiencing the following problem with iCal: when my Mac starts, the iCal icon in the dock, always displays a past date, July 18 always I think it is. Is this a common thing or is there a way that I can change the iCal ic
-
ALV standard function Spread sheet not working
Hi I am using ALV class CL_GUI_ALV_GRID (with check box). When i want to trnsfer output using Spread sheet then its giving the error message "Cannot open spreadheet". Please suggest. Thanks and Regards Aditya
-
there seems to be no possible way for any software developer to understand that whenever you release an update that changes the interface of the software it only annoys people i am now searching for a usable downgrade and looking around for an altern
-
How do I erase all the music off my iphone?
How do I erase all the music off my iphone? The album artwork that's in my phone, doesn't match what's in my itunes. I've synced, but it still is all screwed up.