How will the query improve performance when we use hint index_ss
hi,
I got a SQLquery from our Reports team. initially when I ran the query it took long time and I tuned the query using SQL TOAD optimizer ..I ran the tuned query and it fetched the rows faster than the last one. I observed that a new Hint was added to that query. Index_ss+ > can some explain me how this index_ss increase the performance with an example
As always the online documentation (at http://tahiti.oracle.com) comes with the answer.
Sadly you need an extra pair of voluntary fingers to search and read it.
http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/sql_elements006.htm#SQLRF50415
Sybrand Bakker
Senior Oracle DBA
Similar Messages
-
How can I improve performance when scopes are open?
How can I improve performance when scopes are open?
When Color correcting, performance severely lags, stalls, freezes!
Nothing to complex...simple 3 way color corrector, occasional curves filters.
I am constantly waiting for the timeline to update as I move around....sometimes as long as a minute or so.
I'm on brand new 2.7 Ghz 12-Core MacPro with 64 GB of RAM
Thanks in advance.
Jayhttp://forums.adobe.com/thread/1369260?tstart=0
-
I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?
The template is a document in itself, it is not applied to an existing document whether it is a Pages document or a Word document converted to a Pages document.
You would need to either copy and paste content, using existing styles, or apply the styles to the converted Word document.
You can Import the Styles from an existing document and those imported Styles can be used to override the current document's styles:
Menu > Format > Import Styles
The process is simplified if the styles use the same names, otherwise you will need to delete the style you don't want and replace it with the one that you do want when asked, then the substitution is pretty straightforward.
Peter -
How will os 10.9 perform on a March 2009 MAC MINI 2.0/1X1G/120/SD/AP/BT-USAMB463LL/A?
It fits the specs, if it's actually an early 2009
http://www.apple.com/osx/specs/
Mac mini (Early 2009 or newer
If not you'll get a message that you can download it.
Although 2GB RAM is the stated minimum 4GB is more realistic. I'd add more RAM. -
Improve performance when using lots of left join
when i run this query, it is taking *27 minutes* to execute. all keys have index. please help me to improve performance. i am using 11g.
select distinct com.m1co as CO_ID,
fsr.policy_number as POL_ID,
com.M1AGNM as AGNCY_ID,
cr.agent_code as AGT_ID,
P.full_name as agent_name,
ia.status_description as STS_CD,
to_char(ia.bound_date, 'MM/DD/YYYY') as POL_INFC_DT,
(fchgmm||'/'||fchgdd||'/'||fchgyy) as PAY_UP_DT ,
(mcpdtm||'/'||mcpdtd||'/'||mcpdty) as pay_to_dt,
(fexpmm||'/'||fexpdd||'/'||fexpyy) as MATURE_DT,
ia.BILLING_FREQUENCY as PAY_MODE_CD,
casc.MCPYCD as PAY_METHOD_CD,
casc.MCPRMM as MODAL_PREM_AMT,
casc.MCCRCD as POL_CUR,
casc.MCNOPT as NFO_CD,
cas.FINSTP as LINE_OF_BUSS,
(MCPDTM||'/'||MCPDTD||'/'||MCPDTY) as BILL_TO_DT,
com.M1LOCA as COLL_OFF,
to_char(ia.bound_date, 'MM/DD/YYYY') as DELIVERY_DT,
P.FULL_NAME as Serv_AGENT_NAME,
casm.MWAGTN as SERV_AGT_CD,
casc.MCNOPT as NFO_RULE,
ia.STATUS_DESCRIPTION as POL_CSTAT_REASN_CD,
SUBSTR(datesplit5(datesub),1,10) as APP_RECV_DT,
to_char(ia.bound_date, 'MM/DD/YYYY') as ISSUE_DT,
ia.SUM_ASSURED as CVG_FACE_AMT,
p.IDENTITY_CARD_NUMBER as INSRD_CLI_CD
FROM financial_services_role fsr
left join channel_role cr on fsr.role_player_id=cr.role_player_id
left join person p on (fsr.role_player_id=p.role_player_id and FSR.TYPE_DESCRIPTION IN ('AG','AGT'))
left join ext_lsp_comagtm1 com on cr.agent_code=com.m1agno
left join individual_agreement ia on fsr.policy_number =
DECODE(ia.Business_Key_Contract_Number, NULL, ia.Business_Key_Policy_Number,ia.Business_Key_Contract_Number)
left join EXT_LSP_CASCNTRM casc on (fsr.policy_number = casc.MCCNTR)
left join ext_lsp_casbene cas on (fsr.policy_number = cas.fpolno and fbrcd = 0 )
left join ext_lsp_casmwagt casm on (fsr.policy_number = casm.mwpoln and com.m1agnm = 'TAN')
left join cdmtgt.EXT_LA_PTRNPF on (chdrnum = fsr.policy_number and
BATCTRCDE = 'T600')
WHERE com.m1co = 'IL';
Thank you
Edited by: 1000228 on Jun 5, 2013 10:36 AMHOW To Make TUNING request
SQL and PL/SQL FAQ
SELECT DISTINCT com.m1co AS CO_ID,
fsr.policy_number AS POL_ID,
com.m1agnm AS AGNCY_ID,
cr.agent_code AS AGT_ID,
' ' AS AGNCY_ID_2,
' ' AS AGT_ID_2,
' ' AS AGT_ID_2_NAME,
P.full_name AS agent_name,
ia.status_description AS STS_CD,
To_char(ia.bound_date, 'MM/DD/YYYY') AS POL_INFC_DT,
( fchgmm
||'/'
||fchgdd
||'/'
||fchgyy ) AS PAY_UP_DT,
( mcpdtm
||'/'
||mcpdtd
||'/'
||mcpdty ) AS pay_to_dt,
( fexpmm
||'/'
||fexpdd
||'/'
||fexpyy ) AS MATURE_DT,
ia.billing_frequency AS PAY_MODE_CD,
casc.mcpycd AS PAY_METHOD_CD,
casc.mcprmm AS MODAL_PREM_AMT,
casc.mccrcd AS POL_CUR,
casc.mcnopt AS NFO_CD,
cas.finstp AS LINE_OF_BUSS,
' ' AS REGLR_OR_SCHEDL_TOPUP,
' ' AS POLICY_LAPSED_DT,
( mcpdtm
||'/'
||mcpdtd
||'/'
||mcpdty ) AS BILL_TO_DT,
com.m1loca AS COLL_OFF,
To_char(ia.bound_date, 'MM/DD/YYYY') AS DELIVERY_DT,
P.full_name AS Serv_AGENT_NAME,
casm.mwagtn AS SERV_AGT_CD,
casc.mcnopt AS NFO_RULE,
ia.status_description AS POL_CSTAT_REASN_CD,
Substr(Datesplit5(datesub), 1, 10) AS APP_RECV_DT,
To_char(ia.bound_date, 'MM/DD/YYYY') AS ISSUE_DT,
ia.sum_assured AS CVG_FACE_AMT,
'0' AS BASE_CVG_NUM,
p.identity_card_number AS INSRD_CLI_CD
FROM financial_services_role fsr
left join channel_role cr
ON fsr.role_player_id = cr.role_player_id
left join person p
ON ( fsr.role_player_id = p.role_player_id
AND FSR.type_description IN ( 'AG', 'AGT' ) )
left join ext_lsp_comagtm1 com
ON cr.agent_code = com.m1agno
left join individual_agreement ia
ON fsr.policy_number = Decode(ia.business_key_contract_number,
NULL,
ia.business_key_policy_number,
ia.business_key_contract_number)
left join ext_lsp_cascntrm casc
ON ( fsr.policy_number = casc.mccntr )
left join ext_lsp_casbene cas
ON ( fsr.policy_number = cas.fpolno
AND fbrcd = 0 )
left join ext_lsp_casmwagt casm
ON ( fsr.policy_number = casm.mwpoln
AND com.m1agnm = 'TAN' )
left join cdmtgt.ext_la_ptrnpf
ON ( chdrnum = fsr.policy_number
AND batctrcde = 'T600' )
WHERE com.m1co = 'IL'; -
How will the preorder work?
how will the preorder work?
Yes.
You can use the 3G as an iPod Touch - there is no device limit for the number of iPods, iPhones, and iPads that can be synced with the same iTunes library and iTunes account on the same computer.
The iPhone 4 will use a micro-SIM card - just as with the iPad. Keep the no longer activated SIM card with your 3G inserted in the 3G even after the iPhone is no longer activated. In order to install a firmware update on a no longer activated iPhone or restore a no longer activated iPhone with iTunes if wanted or needed, the no longer activated SIM card needs to be inserted in the iPhone - the SIM card that was used with the iPhone when it was activated.
You can enable Airplane mode followed by turning on wi-fi access when internet access is required. -
How to use base band wave,subcarrier wave and carrier wave to creat the FM wave? When I use the MT Modulate FM VI in USRP,I don't konw how to
use it.https://decibel.ni.com/content/docs/DOC-24206
Let us know if that example doesn't help you
Anthony F.
Product Marketing Engineer
National Instruments -
How can the following error incurred when trying to access the Itunes Store be corrected: an unknown error occurred There was an error in the store. Please try later 0x80092013
Try here > http://support.apple.com/kb/TS3221
And/or... see the More Like This section on the right. -
How will the system handle delta in the below scenario
How will the system handle delta in the below scenario
Day 1
DS--->DSO
PSA
Document Number| Customer | sales value
1001| RAMLAL | 10000
Your change log for DSO will read
Req1| 1001|RAMLAL|10000|N
DSO(overwrite)
1001|RAMLAL|10000|
Day 1
DSO--->Cube
Req1| 1001|RAMLAL|10000|
Day2
DS--->DSO
PSA
Document Number| Customer | sales value
1001| RAMLAL | 30000
Your change log for DSO will read
Req2 | 1001 | RAMLAL | -10000 | X
Req2 | 1001 | RAMLAL | 30000
DSO(Overwrite)
1001 | RAMLAL | 30000
Day 2
DSO--->Cube
Req1|1001|RAMLAL|10000|
Req2|1001|RAMLAL|20000|
Please explain with example
Scenario 1: Req1 & Req2 are deleted ONLY from change log on Day 3
On Day 4:
DS--->DSO
Document Number| Customer | sales value|STOR_NO(ROCANCEL)
1001| RAMLAL | 10000|C
What will happen to the Sales Value in the cube?
What will happen to the Req1&Req2 in the cube?
Thanks
TanyaTanya,
Please explain with example
Scenario 1: Req1 & Req2 are deleted ONLY from change log on Day 3
On Day 4:
DS--->DSO
Document Number| Customer | sales value|STOR_NO(ROCANCEL)
1001| RAMLAL | 10000|C
What will happen to the Sales Value in the cube?
What will happen to the Req1&Req2 in the cube?
Document Number| Customer | sales value|STOR_NO(ROCANCEL)
1001| RAMLAL | 10000 |C
--> Here 1000 is not correct value, as 1000 is change to 3000. It should be 3000. record should be as below.
Document Number| Customer | sales value|STOR_NO(ROCANCEL)
1001| RAMLAL | 30000 |C
--> As this data related to sales, and i hope you are using standard ABR extractors(Business Content).
ABR datasources delivers before and after images.
Before image:
Document Number| Customer | sales value|STOR_NO(ROCANCEL)
1001| RAMLAL | -3000 |C
Before image:
Document Number| Customer | sales value|STOR_NO(ROCANCEL)
1001| RAMLAL | 0 |C --> value changed from 3000 to Zero.
If you are loading in additive or Overwrite into an ODS total sales for 1001 at end of day 4 will be Zero.
Hope it helps
Srini -
HT4101 How is the photo size affected when importing from the SD card to ipad (2) ?
How is the photo size affected when importing from the SD card to ipad (2) ?
If they stay the same, any options I can have to "re-size" the photos so that I could use it for a photo storage when traveling?
Thanks.To re-size, you can use:
https://itunes.apple.com/sg/app/simple-resize/id327776379?mt=8 -
How is the resolution variable or when would we change the resolution of an image and why?
How is the resolution variable or when would we change the resolution of an image
and why?It all depends on the output:
* for viewing on screen 90 -120 ppi
* for printing on a laser printer 180 -300 ppi
* for printing on a desktop printer 240 - 300 ppi
Some people claim 360 ppi is optimum but I don't see any difference compaired to 300 ppi at least not with the naked eye... -
How will the Adobe Certified Expert program be managed with the shift to Creative Cloud?
I am presently studying to certify as an Adobe Certified Expert/Adobe Certified Instructor in Photoshop, Illustrator, and InDesign. My studying has been based upon the CS6 versions.
How will the ACE program work once we switch to CC? Should I wait for more changes to the program before taking my exams?
Thank you!Hi Dreia, denniR,
We will offer CC exams and keep the existing CS6 exams available while Adobe continues to sell and support our Creative Suite 6 product line. Creative Suite 5 exams will be retired as the new CC offerings are released.
I know there are a lot of questions that will come up as our ACEs begin to work with CC and prep for the new certifications. To coordinate with the CC certifications, the exams will now be based on time periods. Meaning your certification will be valid for a pre-specific length of time and will be required to recertify to maintain the CC product certifications. We will begin posting the specifics around the timeframes, policies, etc. in advance of the CC exam launches. Feel free to reach out to us at [email protected] with questions and comments.
Thanks,
Tiffany -
How will the Google Image Search API being deprecated/discontinued affect Photoshop Touch?
How will the Google Image Search API being deprecated/discontinued affect Photoshop Touch?
Important: The Google Image Search API has been officially deprecated as of May 26, 2011. It will continue to work as per our deprecation policy, but the number of requests you may make per day may be limited.
https://developers.google.com/image-search/Alternative options will be implemented as needed.
-Dave -
How will the new OSX Mavericks affect applications already installed and using Mountain Lion?
How will the new OSX Mavericks affect applications already installed and using Mountain Lion?
If you're asking about compatibility, that would be something you would need to ask of the app developers, though most apps compatible with Mountain Lion should be compatible with Mavericks. You can also consult the tables here:
http://roaringapps.com/apps
though that information comes from user reports and so should not be considered authoritative.
If you're asking whether installing Mavericks will delete your apps, no, it won't, though a good backup is always highly recommended.
Regards. -
How will the Time Capsule support IPv6 and coop with the new emerging security threats that will emerge due to the new technical possibilities that IPv6 provide?
Cross your fingers and hope.
Obviously if there is any big or known threat Apple will send out a firmware fix.
But the TC is designed to be end user simple device. It has no firewall that is visible at any rate. I don't know that it truly doesn't have a firewall but it is not part of the end user controls.
IMO if you have major security concerns that go beyond end device firewall, which is where Apple do put most of the security, since firewall in the router is plainly not a stop to anybody deliberately downloading an infected file or website, and most end users.. do not want a firewall that prevents them using the web like a business does, where only certain ports are allowed. Everything else tough luck.. you are not allowed to use it. Then TC is unsuitable for you anyway.. buy a proper firewall appliance.
Maybe you are looking for
-
Move Time Capsule and Laptop to New Network
I have been searching the forums it haven't found a clear answer to this question. I have been backing up my laptop using Time Machine and Time Capsule on one wireless network (TC has joined the wireless network, it does not serve as the router for
-
USB 1 vs 2 and a 7660 photosmart printer and an Airport...
We have a 7660 photosmart printer that we use to print with through an Airport Extreme. The Airport is new, as is the laptop that we use, which is a mac running Snow Leopard. We have to have the Airport and the printer quite a distance apart, and s
-
Reg: Material Ledger Account posting
Hello Everyone, We have Material Ledger active for a plant with transaction based price determination (Price Control V). I have posted a GR & its creating 2 Accounting docs. One with Transaction keys BSX, WRX & PRD. WRX is calculating correctly based
-
X3-02 (Malaysia only)
I would like to ask any Malaysian who have manage to update X3-02 firmware to the latest version 6.00 If U do can I know are you using Maxis, Celcom, DiGi or any other mobile service operator... Cause I'm still stuck with V5.60 Thx in advance...
-
Printing postcards double sided
I wish to print postcards on both sides, just like a regular postcard. Color and front and black & white on back. I would prefer to print directly from iPhoto 6, but that is secondary as some photo printers come bundled with Mac software. Does anyone