(Please Help) 7606-S NAT Performance
Dear All Expert and Cisco Systems.
I need to ask something related with C7600 Hardware performance during using NAT.
As i know, NAT feature is being operated by hardware assisted like this information (http://www.cisco.com/c/en/us/products/collateral/routers/7600-series-routers/product_data_sheet0900aecd8057f3b6.html).
Acutually i wonder even C7600 is supporting NAT by hardware assisted, this can make any issue or make lower performance by handling NAT in our infra. In my opinion NAT size per session is 312bytes.
I will make NAT(4 to 4) environment as below for our infra structure due to shortage of public ip address.
* C7606-S will handle Private IP - 15,000
* C7606-S will have Public IP - 1,500
* Total number of C7606-s - two chassis (one for main, other one for backup)
Q1. In this case, our system's capacity for NAT is good enough?
Q2. or need to make some change or upgrade?
Q3. Which equipment will control and handle NAT packet from this chassis (Supervisior engine or PFC or DFC or DRAM)?
-Our System Spec of C7606-S-
1. Chassis : C7606-S
2. SUP : VS-S2T-10G-XL
3. Memory spec - same as below.
MEM-C6K-INTFL1GB
Internal 1G Compact Flash
1
VS-F6K-PFC4XL
Cat 6k 80G Sys Daughter Board Sup2T PFC4XL
1
VS-S2T-10G-XL
Cat 6500 Sup 2T with 2x10GbE and 3 x 1GbE with MSFC5 PFC4XL
1
VS-SUP2T-10G
Catalyst 6500 Supervisor Engine 2T Baseboard
1
MEM-SUP2T-4GB
4G DRAM Memory Total for Sup2T and Sup2TXL (2G + 2G) - UPGR
1
MEM-C6K-CPTFL2GB
Catalyst 6500 Compact Flash Memory 2GB
1
S2TAEK9-15101SY
Cisco CAT6000-VS-S2T IOS ADV ENT SERV FULL ENCRYPT
1
IO Modules
WS-X6824-SFP-2T
Catalyst 6500 24-port GigE Mod: fabric-enabled with DFC4
1
WS-F6K-DFC4-A
Cat 6k 80G Sys Daughter Board DFC4A for ABA Cards
1
WS-X6824-SFP
24 port 1G SFP based Baseboard
1
I didn't think it was possible, so I kept trying to troubleshoot it, but it turns out you were right. Thank you very much!
This list confirmed it: http://wiki.vuze.com/w/Bad_ISPs
Similar Messages
-
Help in MSEG select performance.
Hi all, please, help me with this performance.
The coment lines was the original code.
The previous code got time out and the new code is taking long long time. The range r_mblnr has about 1500 records.
MSEG table has more than 1.500.000 records.
Thanks in advance, regards
RP
** SELECT mblnr mjahr zeile bwart matnr werks lgort charg
** insmk lifnr shkzg waers dmbtr bnbtr bualt menge
** meins erfmg erfme bpmng bprme ebeln ebelp lfbnr
** bukrs lsmng lsmeh lfbja lfpos xwsbr sjahr smbln
** smblp
** FROM mseg
** INTO TABLE t_mseg_cancel
** FOR ALL ENTRIES IN t_mseg
** WHERE ( smbln EQ t_mseg-mblnr
** AND sjahr EQ t_mseg-mjahr
** AND smblp EQ t_mseg-zeile )
** OR ( lfbnr = t_mseg-mblnr
** AND lfbja = t_mseg-mjahr
** AND lfpos = t_mseg-zeile ).
** SELECT mblnr mjahr zeile bwart matnr werks lgort charg
** insmk lifnr shkzg waers dmbtr bnbtr bualt menge
** meins erfmg erfme bpmng bprme ebeln ebelp lfbnr
** bukrs lsmng lsmeh lfbja lfpos xwsbr sjahr smbln
** smblp
** FROM mseg APPENDING TABLE t_mseg_cancel
** FOR ALL ENTRIES IN t_mseg
** WHERE mblnr EQ t_mseg-mblnr
** AND ( lfbnr NE space
** OR smbln NE space ).
LOOP AT t_mseg.
add_range r_mblnr t_mseg-mblnr.
add_range h_mjahr t_mseg-mjahr.
add_range r_zeile t_mseg-zeile.
ENDLOOP.
SORT: r_mblnr BY low,
h_mjahr BY low,
r_zeile BY low.
DELETE ADJACENT DUPLICATES FROM r_mblnr COMPARING low.
DELETE ADJACENT DUPLICATES FROM h_mjahr COMPARING low.
DELETE ADJACENT DUPLICATES FROM r_zeile COMPARING low.
SELECT mblnr mjahr zeile bwart matnr werks lgort charg
insmk lifnr shkzg waers dmbtr bnbtr bualt menge
meins erfmg erfme bpmng bprme ebeln ebelp lfbnr
bukrs lsmng lsmeh lfbja lfpos xwsbr sjahr smbln
smblp
FROM mseg
INTO TABLE t_mseg_cancel
FOR ALL ENTRIES IN r_mblnr
WHERE ( smbln = r_mblnr-low
AND sjahr IN r_mjahr
AND smblp IN r_zeile ).
SELECT mblnr mjahr zeile bwart matnr werks lgort charg
insmk lifnr shkzg waers dmbtr bnbtr bualt menge
meins erfmg erfme bpmng bprme ebeln ebelp lfbnr
bukrs lsmng lsmeh lfbja lfpos xwsbr sjahr smbln
smblp
FROM mseg
APPENDING TABLE t_mseg_cancel
FOR ALL ENTRIES IN r_mblnr
WHERE ( lfbnr = r_mblnr-low
AND lfbja IN r_mjahr
AND lfpos IN r_zeile ).
SELECT mblnr mjahr zeile bwart matnr werks lgort charg
insmk lifnr shkzg waers dmbtr bnbtr bualt menge
meins erfmg erfme bpmng bprme ebeln ebelp lfbnr
bukrs lsmng lsmeh lfbja lfpos xwsbr sjahr smbln
smblp
FROM mseg APPENDING TABLE t_mseg_cancel
FOR ALL ENTRIES IN r_mblnr
WHERE mblnr = r_mblnr-low
AND ( lfbnr NE space
OR smbln NE space ).Hi Rodrigo,
if this statement is really important, I would go back to a single Statement, I would create an additional index and I would change the last statement (may be):
SELECT mblnr mjahr zeile bwart matnr werks lgort charg
insmk lifnr shkzg waers dmbtr bnbtr bualt menge
meins erfmg erfme bpmng bprme ebeln ebelp lfbnr
bukrs lsmng lsmeh lfbja lfpos xwsbr sjahr smbln
smblp
FROM mseg
INTO TABLE t_mseg_cancel
FOR ALL ENTRIES IN t_mseg
WHERE ( smbln EQ t_mseg-mblnr
AND sjahr EQ t_mseg-mjahr
AND smblp EQ t_mseg-zeile )
OR ( lfbnr = t_mseg-mblnr
AND lfbja = t_mseg-mjahr
AND lfpos = t_mseg-zeile )
OR ( mblnr EQ t_mseg-mblnr
AND mjahr EQ t_mseg-mjahr " if correct
AND zeile EQ t_mseg-zeile " if correct
AND ( lfbnr NE space OR smbln NE space ) ).
The new secondary Index should contain the fields: LFBNR, LFBJA and LFPOS.
Don't forget to create new statistics after creating the index.
Many people probably disagree with a new secondary index, but to improve your report, it is probably the only solution.
You should not add a new index without good reasons, but a single index does not cost you too much (insert and update performance). You should not tend to create additional indexes for any statement, but on big tables it is sometimes unavoidable.
Best regards
Ralph Ganszky -
My I phone 4s (I think) won't charge or turn on Please help!
I have tried holding the 2 buttons to reset and nothing happens. The phone was on charge all night and only showed 1% battery so I turned it off and now it is non responsive. Please help!
Attempt to perform a hardware restart on the device while it is plugged into the wall charger. To perform a hardware restart hold down the sleep/wake button on top of the device and also the home button underneath the touch screen until you get the Apple logo on the screen. Be sure to let go of the buttons once you see the Apple logo so the device does not enter DFU mode. If the device does not power on then most likely your device needs repair/replacement in which you may want to visit an Apple Retail Store or contact AppleCare at 1-800-692-7753. Hope this helps.
-
I have unabled 5 fingure gesture now not able to perform any task,also my power button is not working,please help me in removing this gesture,using I phone 4
I have unabled 5 fingure gesture now not able to perform any task,also my power button is not working,please help me in removing this gesture,using I phone 4
-
Lookup transformation - Performance Issue -Please help!
Hi,
I have a Source table with 5 million rows. I am pulling all the rows from the source table, then doing the lookup with 5 different tables one by one.
I use Full cache as the lookup table size is very less only. I used 'Ignore Failure' option in lookup table as I need to do the left join. That means, even if there is NO match, those records also should be passed to the bottom.
Now, the problem is it is taking a lot of time. To load 1,00,000 records, it is taking 1 hour. The how about 5 Million rows? 50 hours? Could you please help me to find out what is the mistake i am doing here?Is the performance still very poor if you only add for example a row count transformation after your source?
How many rows are there in the lookup tables? Are you only selecting the columns you need? Is the data type of the selected columns very large?
Please mark the post as answered if it answers your question | My SSIS Blog:
http://microsoft-ssis.blogspot.com |
Twitter -
Please help me to increase the performance of the query
Hello
I am not an oracle expert or developer and i have a problem to resolve.
Below is the query and explaiation plan and seeking the help to improve the performance of the query.
Our Analysis,
The query runs good,takes less one minute and fetches the results but during peak time it takes 8 minutes
Require anyone suggestion's to improve the query.
The query is generated from the Microsft dll so we dont have SQL code and require some help on tuning the tables.
If tuning the query improves then also fine please suggest for that also.
Enviroment: Solaris 8
DB : oracle 9i
(SELECT vw.dispapptobjid, vw.custsiteobjid, vw.emplastname, vw.empfirstname,
vw.scheduledonsite AS starttime, vw.appttype, vw.latestart,
vw.endtime, vw.typetitle, vw.empobjid, vw.latitude, vw.longitude,
vw.workduration AS DURATION, vw.dispatchtype, vw.availability
FROM ora_appt_disp_view vw
WHERE ( ( vw.starttime >=
TO_DATE ('2/12/2007 4:59 PM', 'MM/DD/YYYY HH12:MI AM')
AND vw.starttime <
TO_DATE ('2/21/2007 3:59 PM', 'MM/DD/YYYY HH12:MI AM')
OR vw.endtime >
TO_DATE ('2/12/2007 4:59 PM', 'MM/DD/YYYY HH12:MI AM')
AND vw.endtime <=
TO_DATE ('2/21/2007 3:59 PM', 'MM/DD/YYYY HH12:MI AM')
OR ( vw.starttime <=
TO_DATE ('2/12/2007 4:59 PM', 'MM/DD/YYYY HH12:MI AM')
AND vw.endtime >=
TO_DATE ('2/21/2007 3:59 PM', 'MM/DD/YYYY HH12:MI AM')
UNION
(SELECT 0 AS dispapptobjid, emp.emp_physical_site2site AS custsiteobjid,
emp.last_name AS emplastname, emp.first_name AS empfirstname,
TO_DATE ('1/1/3000', 'MM/DD/YYYY') AS starttime, 'E' AS appttype,
NULL AS latestart, NULL AS endtime, '' AS typetitle,
emp.objid AS empobjid, 0 AS latitude, 0 AS longitude, 0 AS DURATION,
'' AS dispatchtype, 0 AS availability
FROM table_employee emp, table_user usr
WHERE emp.employee2user = usr.objid AND emp.field_eng = 1 AND usr.status = 1)
ORDER BY empobjid, starttime, endtime DESC
Operation Object Name Rows Bytes Cost Object Node In/Out PStart PStop
SELECT STATEMENT Optimizer Mode=HINT: ALL_ROWS 23 K 11312
SORT UNIQUE 23 K 3 M 11140
UNION-ALL
VIEW ORA_APPT_DISP_VIEW 17 K 3 M 10485
UNION-ALL
CONCATENATION
NESTED LOOPS OUTER 68 24 K 437
NESTED LOOPS 68 23 K 369
NESTED LOOPS OUTER 68 25 K 505
NESTED LOOPS OUTER 68 24 K 505
NESTED LOOPS 68 23 K 369
NESTED LOOPS 68 22 K 369
NESTED LOOPS OUTER 68 22 K 369
NESTED LOOPS 19 6 K 312
NESTED LOOPS 19 5 K 312
HASH JOIN 19 5 K 293
NESTED LOOPS 19 5 K 274
NESTED LOOPS 19 4 K 236
NESTED LOOPS 19 4 K 198
NESTED LOOPS OUTER 19 3 K 160
NESTED LOOPS OUTER 19 3 K 160
NESTED LOOPS OUTER 19 4 K 160
NESTED LOOPS OUTER 19 1 K 103
NESTED LOOPS OUTER 19 2 K 103
NESTED LOOPS OUTER 19 2 K 103
TABLE ACCESS BY INDEX ROWID TABLE_DISPTCHFE 19 1 K 46
INDEX RANGE SCAN GSA_SCHED_REPAIR 44 3
TABLE ACCESS BY INDEX ROWID TABLE_COMMIT_LOG 1 22
INDEX RANGE SCAN GSA_COMDFE 1 2
TABLE ACCESS BY INDEX ROWID TABLE_COMMIT_LOG 1 22
INDEX RANGE SCAN GSA_COMDFE 1 2
TABLE ACCESS BY INDEX ROWID TABLE_COMMIT_LOG 1 22 3
INDEX RANGE SCAN GSA_COMDFE 1 2
TABLE ACCESS BY INDEX ROWID TABLE_COMMIT_LOG 1 28
INDEX RANGE SCAN IND_CASE_COMMIT2CASE 2 2
TABLE ACCESS BY INDEX ROWID TABLE_COMMIT_LOG 1 28
INDEX RANGE SCAN IND_CASE_COMMIT2CASE 2 2
TABLE ACCESS BY INDEX ROWID TABLE_COMMIT_LOG 1 28 3
INDEX RANGE SCAN IND_CASE_COMMIT2CASE 2 2
TABLE ACCESS BY INDEX ROWID TABLE_CASE 1 30 2
INDEX UNIQUE SCAN CASE_OBJINDEX 1 1
TABLE ACCESS BY INDEX ROWID TABLE_SITE 1 12 2
INDEX UNIQUE SCAN SITE_OBJINDEX 1 1
TABLE ACCESS BY INDEX ROWID TABLE_ADDRESS 1 12 2
INDEX UNIQUE SCAN ADDRESS_OBJINDEX 1 1
TABLE ACCESS FULL TABLE_EMPLOYEE 1 34 1
INDEX UNIQUE SCAN SITE_OBJINDEX 1 6 1
INDEX UNIQUE SCAN USER_OBJINDEX 1 6
TABLE ACCESS BY INDEX ROWID TABLE_X_GSA_TIME_STAMPS 4 48 3
INDEX RANGE SCAN GSAIDX_TS2DISP 1 2
INDEX UNIQUE SCAN GBST_ELM_OBJINDEX 1 6
INDEX UNIQUE SCAN GBST_ELM_OBJINDEX 1 6
TABLE ACCESS BY INDEX ROWID TABLE_MOD_LEVEL 1 12 1
INDEX UNIQUE SCAN MOD_LEVEL_OBJINDEX 1
INDEX UNIQUE SCAN PART_NUM_OBJINDEX 1 6
INDEX UNIQUE SCAN GBST_ELM_OBJINDEX 1 6
INDEX UNIQUE SCAN SUBCASE_OBJINDX 1 6 1
NESTED LOOPS OUTER 68 25 K 505
NESTED LOOPS OUTER 68 24 K 505
NESTED LOOPS OUTER 68 24 K 437
NESTED LOOPS 68 23 K 369
NESTED LOOPS 68 23 K 369
NESTED LOOPS 68 22 K 369
NESTED LOOPS OUTER 68 22 K 369
NESTED LOOPS 19 6 K 312
NESTED LOOPS 19 5 K 312
NESTED LOOPS 19 5 K 293
NESTED LOOPS 19 5 K 274
NESTED LOOPS 19 4 K 236
NESTED LOOPS 19 4 K 198
NESTED LOOPS OUTER 19 4 K 160
NESTED LOOPS OUTER 19 3 K 160
NESTED LOOPS OUTER 19 3 K 160
NESTED LOOPS OUTER 19 2 K 103
NESTED LOOPS OUTER 19 2 K 103
NESTED LOOPS OUTER 19 1 K 103
TABLE ACCESS BY INDEX ROWID TABLE_DISPTCHFE 19 1 K 46
INDEX RANGE SCAN GSA_SCHED_REPAIR 44 3
TABLE ACCESS BY INDEX ROWID TABLE_COMMIT_LOG 1 22 3
INDEX RANGE SCAN GSA_COMDFE 1 2
TABLE ACCESS BY INDEX ROWID TABLE_COMMIT_LOG 1 22
INDEX RANGE SCAN GSA_COMDFE 1 2
TABLE ACCESS BY INDEX ROWID TABLE_COMMIT_LOG 1 22
INDEX RANGE SCAN GSA_COMDFE 1 2
TABLE ACCESS BY INDEX ROWID TABLE_COMMIT_LOG 1 28 3
INDEX RANGE SCAN IND_CASE_COMMIT2CASE 2 2
TABLE ACCESS BY INDEX ROWID TABLE_COMMIT_LOG 1 28
INDEX RANGE SCAN IND_CASE_COMMIT2CASE 2 2
TABLE ACCESS BY INDEX ROWID TABLE_COMMIT_LOG 1 28
INDEX RANGE SCAN IND_CASE_COMMIT2CASE 2 2
TABLE ACCESS BY INDEX ROWID TABLE_CASE 1 30 2
INDEX UNIQUE SCAN CASE_OBJINDEX 1 1
TABLE ACCESS BY INDEX ROWID TABLE_SITE 1 12 2
INDEX UNIQUE SCAN SITE_OBJINDEX 1 1
TABLE ACCESS BY INDEX ROWID TABLE_ADDRESS 1 12 2
INDEX UNIQUE SCAN ADDRESS_OBJINDEX 1 1
TABLE ACCESS BY INDEX ROWID TABLE_EMPLOYEE 1 34 1
INDEX UNIQUE SCAN EMPLOYEE_OBJINDEX 1
INDEX UNIQUE SCAN SITE_OBJINDEX 1 6 1
INDEX UNIQUE SCAN USER_OBJINDEX 1 6
TABLE ACCESS BY INDEX ROWID TABLE_X_GSA_TIME_STAMPS 4 48 3
INDEX RANGE SCAN GSAIDX_TS2DISP 1 2
INDEX UNIQUE SCAN GBST_ELM_OBJINDEX 1 6
INDEX UNIQUE SCAN GBST_ELM_OBJINDEX 1 6
INDEX UNIQUE SCAN GBST_ELM_OBJINDEX 1 6
INDEX UNIQUE SCAN SUBCASE_OBJINDX 1 6 1
TABLE ACCESS BY INDEX ROWID TABLE_MOD_LEVEL 1 12 1
INDEX UNIQUE SCAN MOD_LEVEL_OBJINDEX 1
INDEX UNIQUE SCAN PART_NUM_OBJINDEX 1 6
NESTED LOOPS OUTER 68 25 K 505
NESTED LOOPS OUTER 68 24 K 505
NESTED LOOPS OUTER 68 24 K 437
NESTED LOOPS 68 23 K 369
NESTED LOOPS 68 23 K 369
NESTED LOOPS 68 22 K 369
NESTED LOOPS OUTER 68 22 K 369
NESTED LOOPS 19 6 K 312
NESTED LOOPS 19 5 K 312
NESTED LOOPS 19 5 K 293
NESTED LOOPS 19 5 K 274
NESTED LOOPS 19 4 K 236
NESTED LOOPS 19 4 K 198
NESTED LOOPS OUTER 19 4 K 160
NESTED LOOPS OUTER 19 3 K 160
NESTED LOOPS OUTER 19 3 K 160
NESTED LOOPS OUTER 19 2 K 103
NESTED LOOPS OUTER 19 2 K 103
NESTED LOOPS OUTER 19 1 K 103
TABLE ACCESS BY INDEX ROWID TABLE_DISPTCHFE 19 1 K 46
INDEX RANGE SCAN GSA_REQ_ETA 44 3
TABLE ACCESS BY INDEX ROWID TABLE_COMMIT_LOG 1 22 3
INDEX RANGE SCAN GSA_COMDFE 1 2
TABLE ACCESS BY INDEX ROWID TABLE_COMMIT_LOG 1 22
INDEX RANGE SCAN GSA_COMDFE 1 2
TABLE ACCESS BY INDEX ROWID TABLE_COMMIT_LOG 1 22
INDEX RANGE SCAN GSA_COMDFE 1 2
TABLE ACCESS BY INDEX ROWID TABLE_COMMIT_LOG 1 28 3
INDEX RANGE SCAN IND_CASE_COMMIT2CASE 2 2
TABLE ACCESS BY INDEX ROWID TABLE_COMMIT_LOG 1 28
INDEX RANGE SCAN IND_CASE_COMMIT2CASE 2 2
TABLE ACCESS BY INDEX ROWID TABLE_COMMIT_LOG 1 28
INDEX RANGE SCAN IND_CASE_COMMIT2CASE 2 2
TABLE ACCESS BY INDEX ROWID TABLE_CASE 1 30 2
INDEX UNIQUE SCAN CASE_OBJINDEX 1 1
TABLE ACCESS BY INDEX ROWID TABLE_SITE 1 12 2
INDEX UNIQUE SCAN SITE_OBJINDEX 1 1
TABLE ACCESS BY INDEX ROWID TABLE_ADDRESS 1 12 2
INDEX UNIQUE SCAN ADDRESS_OBJINDEX 1 1
TABLE ACCESS BY INDEX ROWID TABLE_EMPLOYEE 1 34 1
INDEX UNIQUE SCAN EMPLOYEE_OBJINDEX 1
INDEX UNIQUE SCAN SITE_OBJINDEX 1 6 1
INDEX UNIQUE SCAN USER_OBJINDEX 1 6
TABLE ACCESS BY INDEX ROWID TABLE_X_GSA_TIME_STAMPS 4 48 3
INDEX RANGE SCAN GSAIDX_TS2DISP 1 2
INDEX UNIQUE SCAN GBST_ELM_OBJINDEX 1 6
INDEX UNIQUE SCAN GBST_ELM_OBJINDEX 1 6
INDEX UNIQUE SCAN GBST_ELM_OBJINDEX 1 6
INDEX UNIQUE SCAN SUBCASE_OBJINDX 1 6 1
TABLE ACCESS BY INDEX ROWID TABLE_MOD_LEVEL 1 12 1
INDEX UNIQUE SCAN MOD_LEVEL_OBJINDEX 1
INDEX UNIQUE SCAN PART_NUM_OBJINDEX 1 6
NESTED LOOPS 16 K 2 M 5812
HASH JOIN 16 K 2 M 5812
HASH JOIN 16 K 2 M 5286
TABLE ACCESS FULL TABLE_EMPLOYEE 13 K 441 K 28
HASH JOIN 16 K 1 M 5243
TABLE ACCESS FULL TABLE_SCHEDULE 991 11 K 2
HASH JOIN OUTER 16 K 1 M 5240
HASH JOIN OUTER 16 K 1 M 3866
HASH JOIN OUTER 16 K 1 M 450
HASH JOIN 16 K 1 M 44
TABLE ACCESS FULL TABLE_GBST_ELM 781 14 K 2
TABLE ACCESS FULL TABLE_APPOINTMENT 16 K 822 K 41
INDEX FAST FULL SCAN CASE_OBJINDEX 1 M 6 M 201
TABLE ACCESS FULL TABLE_SITE 967 K 11 M 3157
TABLE ACCESS FULL TABLE_ADDRESS 961 K 11 M 1081
INDEX FAST FULL SCAN SITE_OBJINDEX 967 K 5 M 221
INDEX UNIQUE SCAN USER_OBJINDEX 1 6
HASH JOIN 6 K 272 K 51
TABLE ACCESS FULL TABLE_USER 6 K 51 K 21
TABLE ACCESS FULL TABLE_EMPLOYEE 6 K 220 K 28Hi,
First-off, it appear that you are querying a view. I would redo the auery against the base table.
Next, look at a function-based index for the DATE column. Here are my notes:
http://www.dba-oracle.com/t_function_based_indexes.htm
http://www.dba-oracle.com/oracle_tips_index_scan_fbi_sql.htm
Also, make sure you are analyzed properly with dbms_stats:
http://www.dba-oracle.com/art_builder_dbms_stats.htm
And histograms, if appropriate:
http://www.dba-oracle.com/art_builder_histo.htm
Lasty, look at increasing hash_area_size or pga_aggregate_tagtet, depending on your table sizes:
http://www.dba-oracle.com/art_so_undocumented_pga_parameters.htm
Hope this helps. . . .
Donald K. Burleson
Oracle Press Author -
How to improve the performance of the attached query, Please help
Hi,
How to improve performance of the below query, Please help. also attached explain plan -
SELECT Camp.Id,
rCam.AccountKey,
Camp.Id,
CamBilling.Cpm,
CamBilling.Cpc,
CamBilling.FlatRate,
Camp.CampaignKey,
Camp.AccountKey,
CamBilling.billoncontractedamount,
(SUM(rCam.Impressions) * 0.001 + SUM(rCam.Clickthrus)) AS GR,
rCam.AccountKey as AccountKey
FROM Campaign Camp, rCamSit rCam, CamBilling, Site xSite
WHERE Camp.AccountKey = rCam.AccountKey
AND Camp.AvCampaignKey = rCam.AvCampaignKey
AND Camp.AccountKey = CamBilling.AccountKey
AND Camp.CampaignKey = CamBilling.CampaignKey
AND rCam.AccountKey = xSite.AccountKey
AND rCam.AvSiteKey = xSite.AvSiteKey
AND rCam.RmWhen BETWEEN to_date('01-01-2009', 'DD-MM-YYYY') and
to_date('01-01-2011', 'DD-MM-YYYY')
GROUP By rCam.AccountKey,
Camp.Id,
CamBilling.Cpm,
CamBilling.Cpc,
CamBilling.FlatRate,
Camp.CampaignKey,
Camp.AccountKey,
CamBilling.billoncontractedamount
Explain Plan :-
Description Object_owner Object_name Cost Cardinality Bytes
SELECT STATEMENT, GOAL = ALL_ROWS 14 1 13
SORT AGGREGATE 1 13
VIEW GEMINI_REPORTING 14 1 13
HASH GROUP BY 14 1 103
NESTED LOOPS 13 1 103
HASH JOIN 12 1 85
TABLE ACCESS BY INDEX ROWID GEMINI_REPORTING RCAMSIT 2 4 100
NESTED LOOPS 9 5 325
HASH JOIN 7 1 40
SORT UNIQUE 2 1 18
TABLE ACCESS BY INDEX ROWID GEMINI_PRIMARY SITE 2 1 18
INDEX RANGE SCAN GEMINI_PRIMARY SITE_I0 1 1
TABLE ACCESS FULL GEMINI_PRIMARY SITE 3 27 594
INDEX RANGE SCAN GEMINI_REPORTING RCAMSIT_I 1 1 5
TABLE ACCESS FULL GEMINI_PRIMARY CAMPAIGN 3 127 2540
TABLE ACCESS BY INDEX ROWID GEMINI_PRIMARY CAMBILLING 1 1 18
INDEX UNIQUE SCAN GEMINI_PRIMARY CAMBILLING_U1 0 1Hello,
This has really nothing to do with the Oracle Forms product.
Please, send the SQL or/and PL/SQL questions in the corresponding forums.
Francois -
Please help for using perform in SAP script
As subject.
My sap script code as below:
/: PERFORM GET_CHAMT_DATE IN PROGRAM ZRAP004
/:USING &SPELL-WORD&
/:CHANGING &SPELL-WORD&
/:ENDPERFORM
My program ZRAP004 code as below:
FORM get_chamt_date USING u_iword TYPE spell-word
CHANGING u_oword TYPE spell-word.
CONCATENATE u_iword '元整'(t01) INTO u_oword.
endform.
This form is for check printing.
It's by standard function 'F110' to excute check printing.
But when i finished this transaction. System return error message as below:
<b>This routine contains 2 formal parameters, but the current call
contains 4 actual parameters.</b>
Please help. Thanks a lot!!Hiii
PERFORM CDE_CENT IN PROGRAM ZKRPMM_PERFORM_Z1MEDRUCK
/:USING &EKKO-EBELN&
/:CHANGING &CDECENT&
/:ENDPERFORM
The report :
REPORT zkrpmm_perform_z1medruck .
DATA : BEGIN OF it_input_table OCCURS 10.
INCLUDE STRUCTURE itcsy.
DATA : END OF it_input_table.
déclaration de la table output_table contenant les
variables exportées
DATA : BEGIN OF it_output_table OCCURS 0.
INCLUDE STRUCTURE itcsy.
DATA : END OF it_output_table.
DATA : w_ebeln LIKE ekko-ebeln,
w_vbeln LIKE vbak-vbeln,
w_zcdffa LIKE vbak-zcdffa.
FORM CDE_CENT
FORM cde_cent TABLES input output.
it_input_table[] = input[].
it_output_table[] = output[].
READ TABLE it_input_table INDEX 1.
MOVE it_input_table-value TO w_ebeln.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = w_ebeln
IMPORTING
output = w_ebeln.
SELECT SINGLE zcdffa FROM ekko
INTO w_zcdffa
WHERE ebeln = w_ebeln.
it_output_table-name = 'CDECENT'.
MOVE w_zcdffa TO it_output_table-value.
MODIFY it_output_table INDEX 1.
output[] = it_output_table[].
ENDFORM. -
Please help me how to improve the performance of this query further.
Hi All,
Please help me how to improve the performance of this query further.
Thanks.Hi,
this is not your first SQL tuning request in this community -- you really should learn how to obtain performance diagnostics.
The information you posted is not nearly enough to even start troubleshooting the query -- you haven't specified elapsed time, I/O, or the actual number of rows the query returns.
The only piece of information we have is saying that your query executes within a second. If we believe this, then your query doesn't need tuning. If we don't, then we throw it away
and we're left with nothing.
Start by reading this blog post: Kyle Hailey &raquo; Power of DISPLAY_CURSOR
and applying this knowledge to your case.
Best regards,
Nikolay -
Hi can any body tell me how do I improve the performance of this query.This query takes forever to execute.
PLEASE HELP
select substr(d.name,1,14) "dist",
sum(r.room_net_sq_foot) "nsf",
sum(r.student_station_count) "sta",
sum(distinct(r.cofte)) "fte"
from b_fish_report r,
g_efis_organization d
where substr(r.organization_code,-2,2) = substr(d.code,-2,2) and
d.organization_type = 'CNTY' and
r.room_satisfactory_flag = 'Y' and
substr(d.code,-2,2) between '01' and '72'
-- rownum < 50
group by d.name, r.organization_code
order by d.name
It has nonunique Indexes on Organization code
Thanks
Asma.Asma,
I tried your SQL on my tables T1 and T2. Indexes are on C1,C2,C3 and N1,N2,N3. The data in T1 and T2 are shown below with the explain plan (also called EP) listed. You really need to do an explain plan (free TOAD is easiest to do this in) and respond showing your EP results.
By simply changing the optimizer mode to RULE I was able to get it to use indexes on both T1 and T2.
T1 data
C1 C2 C3 N1 N2
001 Y AAA 1 11
002 Y BBB 2 22
003 Y CCC 3 33
111 N DDD 4 44
222 N EEE 5 55
333 Y FFF 6 66
070 Y GGG 7 77
071 N HHH 8 88
072 Y III 9 99
TEST TEST TEST 10 100
T2 data
C1 C2 C3 N1 N2
001 CNTY AAA 1 11
002 CNTY BBB 2 22
003 CNTY CCC 3 33
111 XXX DDD 4 44
222 XXX EEE 5 55
333 CNTY FFF 6 66
070 CNTY GGG 7 77
071 XXX HHH 8 88
072 CNTY III 9 99
TEST TEST TEST 10 100
This is the results when I run the SQL based on this data ...
dist nsf sta fte
AAA 1 11 10
BBB 2 22 20
CCC 3 33 30
FFF 6 66 60
GGG 7 77 70
III 9 99 90
--[SQL 1] : with CHOOSE as the optimizer mode, which is normally the DEFAULT if no hint is specified
select /*+ CHOOSE */
substr(d.c3,1,14) "dist",
sum(r.n1) "nsf",
sum(r.n2) "sta",
sum(distinct(r.n3)) "fte"
from t1 r, t2 d
where substr(r.c1,-2,2) = substr(d.c1,-2,2) and
d.c2 = 'CNTY' and
r.c2 = 'Y' and
substr(d.c1,-2,2) between '01' and '72'
group by d.c3, r.c1
order by d.c3
This is what the EP shows for your SQL (which will probably be the same for you once you do an EP on your actuall sql) ...
SELECT STATEMENT Optimizer=CHOOSE (Cost=4 Card=1 Bytes=37)
SORT (GROUP BY) (Cost=4 Card=1 Bytes=37)
NESTED LOOPS (Cost=2 Card=1 Bytes=37)
TABLE ACCESS (FULL) OF T1 (Cost=1 Card=1 Bytes=12)
TABLE ACCESS (BY INDEX ROWID) OF T2 (Cost=1 Card=1 Bytes=25)
INDEX (RANGE SCAN) OF I_NU_T2_C2 (NON-UNIQUE)
Notice the FULL table scan of T1 which you don't want, and neither C1 index is getting used (I've explained why below).
--[SQL 2] : only changed the hint to RULE ...
select /*+ RULE */
substr(d.c3,1,14) "dist",
sum(r.n1) "nsf",
sum(r.n2) "sta",
sum(distinct(r.n3)) "fte"
from t1 r, t2 d
where substr(r.c1,-2,2) = substr(d.c1,-2,2) and
d.c2 = 'CNTY' and
r.c2 = 'Y' and
substr(d.c1,-2,2) between '01' and '72'
group by d.c3, r.c1
order by d.c3
SELECT STATEMENT Optimizer=HINT: RULE
SORT (GROUP BY)
NESTED LOOPS
TABLE ACCESS (BY INDEX ROWID) OF T2
INDEX (RANGE SCAN) OF I_NU_T2_C2 (NON-UNIQUE)
TABLE ACCESS (BY INDEX ROWID) OF T1
INDEX (RANGE SCAN) OF I_NU_T1_C2 (NON-UNIQUE)
Though the C2 index is getting used (your r.c2 = 'Y' part in the where clause) the main problem your having here is the JOIN column (C1 in both tables) is not getting used. So the join you have ...
where substr(r.c1,-2,2) = substr(d.c1,-2,2)
isn't using an index and you want it too. There are 2 solutions to correct this..
Solution #1
The first is to make a function-based index for data. Since your doing SUBSTR on C1 that C1 index does not contain that partial information so it will not use it. Below is the syntax to make a function based index for this partial data ...
CREATE INDEX I_NU_T1_C1_SUBSTR ON T1 (SUBSTR(C1,-2,2));
CREATE INDEX I_NU_T2_C1_SUBSTR ON T2 (SUBSTR(C1,-2,2));
or also this way if it's still not using the above indexes ...
CREATE INDEX I_NU_T1_C1_SUBSTR ON T1 (SUBSTR(C1,-2,2),C1);
CREATE INDEX I_NU_T2_C1_SUBSTR ON T2 (SUBSTR(C1,-2,2),C1);
Solution #2
The second solution is to make another column in both table and place this 2 digit information in it, and then index this new column. That way the join will look like ...
where r.c_new_column = d.c_new_column
and
r.c_new_column between '01' and '72'
also with this new column the BETWEEN clause at the end you will not need the substring as well. Also remember BETWEEN on character values is different than numbers.
Final Notes
I just tried creating the functional index and I can't get it to be used it for some reason (I might not have the right amount of data), but I really think that is your best option here. As long as it uses the functional index you won't have to change your code. You might want to try using INDEX() in the hint to get it to be used, but hopefully it will use it right away. Try all 4 types of optimizer modes (CHOOSE, RULE, ALL_ROWS, FIRST_ROWS) in your primary hints to see if it will use the new function-based index.
You really do need to get explain plan going. Even if you make these functional indexes you won't know if its going to be using them until you look at the EP results. You can do EP manually (the SQL of how to produce the results is in OTN, though I find free TOAD is by far the easiest) and you will still need to have run the utlxplan.sql script. Oracle I do think has some GUI tools, maybe in OEM, that have explain plan built in as well.
I hope this helps ya,
Tyler D. -
Hi people,
I have worked on this issue for days!! I cannot figure it out! Here is the problem:
I used to have a Soltek AND Asus A8V mobo (both via chipsets), and scored approx 12,890 in 3dmark03 and 5,100 in 3dmark05, respectively ON BOTH BOARDS!
I have swapped out these boards with the msi neo 2 (latest revison) w/ bios 1.4. I have the SAME other equipment as shown in my signature.
I only get approx 9,800 in 3dmark03 and 3,889 in 3dmark 05. Roughly a 2,000/1,000 point lower difference respectively.
I cannot for the life of me figure out why. I have thought about this for days and searched this and many other forums to no avail.
I have installed the latest nforce 6.14 driver and the forceware 67.02. I have tried other drivers as well, using driver cleaner between installs. Still no go.
Bios is set at optimized default. AGP fast writes disabled. AGP Aperature size 256. The 6800gt is oc'ed to 400/1100. No oc on mobo.
I also did a search and found a review of this board w/ a 3dmark03 bench using the same video card as mine that shows a mark of 15,500 @ resolution 640x480.
So I tried the same test @ resolution 640x480 and scored 2,000 less marks.
I just don't understand this. Can someone please help and try to shed some light on this for me. I am SO perplexed about this!!Why are you not using the Soltek or Asus A8V anymore?
i have almost the same machine as you and i to am very disappointed with the performance of my setup.
I have also tried other drivers and installing differecnt OS's (win2k, winXPsp1, winXPsp2), which did not seem to help. although drivers did make my benchmarks vary depending on dirver and OS.
I was just about to buy either the soltek 939 pin board or the asus A8V, to see if i can solve my performane issues.
the only other board that looks really good is the gigabyte GA-K8NSNXP-939, but this board also has an nforce3 chipset and i am begining to think that the nforce3 chipset sux.
The only other explanation for the lack of performance or perceived lack of performance is that we are running 64bit CPUs under a 32bit environment and therefore using only half the power of these CPU's. -
Can't use profiler (Performance Analyzer) in Sun Studio 12, please help!!
Hi,
I've mandriva 2008 (linux), and I've installed Sun Studio 12.
At the first start of Sun Studio a message appear:
Warning - could not install some modules:
ATD Sun Studio Core - The module named com.sun.tools.swdev.toolscommon was needed and not found.
dbx Debugger UI - The module named com.sun.tools.swdev.toolscommon was needed and not found.
ATD Performance Analyzer Actions - The module named com.sun.forte.st.mpmt/1 was needed and not found.
ATD Performance Analyzer Actions - The module named com.sun.tools.swdev.toolscommon was needed and not found.
All other modules works correctly, but unfortunately I need the profiler (performance analyzer) because I want to speed up my C++ code. What can I do???
Please help!
NOTE:
I've added to my .bash_profile this lines:
PATH=/opt/sun/sunstudio12/bin:$PATH
export PATH
PATH=/opt/sun/sunstudio12/man/:$PATH
export PATH
LD_LIBRARY_PATH=/opt/sun/sunstudio12/prod/lib
export LD_LIBRARY_PATH
but unfortunately this don't solve the problem....
Edited by: MLX82 on Feb 1, 2008 11:24 PMIf I type `uname -p` this message appear:
[mlx@localhost ~]$ `uname -p`
bash: Intel(R): command not foundIf I type: --userdir won't work as you can see:
sunstudio --userdir /home/mlx/.sunstudio/12.0-Linux-Intel\(R\)\ Pentium\(R\)\ M\ processor\ 1.73GHz/I get an 426 line error (but this is the correct location, as man of sunstudio say), while if I type for example:
sunstudio --userdir /home/mlx/error 426 disappears, but I get anyway the error on the module:
Warning - could not install some modules:
ATD Performance Analyzer Actions - The module named com.sun.forte.st.mpmt/1 was needed and not found.
ATD Performance Analyzer Actions - The module named com.sun.tools.swdev.toolscommon was needed and not found.
dbx Debugger UI - The module named com.sun.tools.swdev.toolscommon was needed and not found.
ATD Sun Studio Core - The module named com.sun.tools.swdev.toolscommon was needed and not found.On the other hand I've searched the "id" exe and it is in /bin:
[mlx@localhost ~]$ id
uid=500(mlx) gid=500(mlx) gruppi=500(mlx)so I've created a sym link:
cd /usr/bin
ln -s /bin/id ./idbut when I start Sun Studio 12 I get again the error on the module.
So I've tryed to reinstall everything (yes, also OS) but it (partially) solves only the problem installing with batch_installer. Infact now I can use batch_installer but at the end of installation it say:
[root@localhost tmp]# ./batch_installer --accept-sla
Installation failed: cleanup successful.Anyway SunStudio 12 still works, but the main problem about the module of performance analyzer is still here...
how can I solve this? Please help!
Edited by: MLX82 on Feb 4, 2008 3:19 PM -
Slow performance after iOS 7.1 upgrade, please help.
My kids have iPad Airs. One of them has a serious slow down in performance after upgrading to iOS 7.1. The others work fine. It is so slow that it is unusable. When you type a single character, it takes several seconds to show up on the screen. I'm rebooted and did a reset in Settings. Any other ideas? Please help.
I called Apple Support (800-275-2273) and they also recommended a reset: "Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears".
It came to a screen with a USB cable and arrow to iTunes logo. I had to connect to my PC and lanuch iTunes. iTunes recognized the iPad in restore mode. My only option per Apple Support was to restore to factory defaults. It appears all data is lost.
The Apple Support person would not admit that this is a known issue with iOS 7.1 even though you can go online and see that may people have slow performance after upgrading to iOS 7.1. -
My CS6 photoshop started showing {cannot perform function programming error}
then it started freezing please help?Supply pertinent information for quicker answers
The more information you supply about your situation, the better equipped other community members will be to answer. Consider including the following in your question:
Adobe product and version number
Operating system and version number
The full text of any error message(s)
What you were doing when the problem occurred
Screenshots of the problem
Computer hardware, such as CPU; GPU; amount of RAM; etc. -
Please help to modifiy this query for better performance
Please help to rewrite this query for better performance. This is taking long time to execute.
Table t_t_bil_bil_cycle_change contains 1200000 rows and table t_acctnumberTab countains 200000 rows.
I have created index on ACCOUNT_ID
Query is shown below
update rbabu.t_t_bil_bil_cycle_change a
set account_number =
( select distinct b.account_number
from rbabu.t_acctnumberTab b
where a.account_id = b.account_id
Table structure is shown below
SQL> DESC t_acctnumberTab;
Name Type Nullable Default Comments
ACCOUNT_ID NUMBER(10)
ACCOUNT_NUMBER VARCHAR2(24)
SQL> DESC t_t_bil_bil_cycle_change;
Name Type Nullable Default Comments
ACCOUNT_ID NUMBER(10)
ACCOUNT_NUMBER VARCHAR2(24) YIshan's solution is good. I would avoid updating rows which already have the right value - it's a waste of time.
You should have a UNIQUE or PRIMARY KEY constraint on t_acctnumberTab.account_id
merge rbabu.t_t_bil_bil_cycle_change a
using
( select distinct account_number, account_id
from rbabu.t_acctnumberTab
) t
on ( a.account_id = b.account_id
and decode(a.account_number, b.account_number, 0, 1) = 1
when matched then
update set a.account_number = b.account_number
Maybe you are looking for
-
What are the compatable web browsers for Oracle Enterprise Manager DB console 11.2?
Database: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production Web browser: IE 8 C:\Users\x-msarwar3>emctl status agent Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.0 Copyright (c) 1996, 2011 Oracle Corporat
-
Heyo, I have been experiencing some performance issues with my 1.5 year old MBP. After some digging i uncovered that what is happening is that the process "report crash" keeps poking up in the activity monitor every few seconds, gobbling up as much C
-
Please help me regarding message error in GPShell 1.4.2
Hi friends.. i've a GPShell script like this : mode_211 enable_trace establish_context card_connect -readerNumber 2 select -AID a0000000030000 open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 4041424344454647
-
Problem with Table.getSelectedColumn() method plz help its so urgent
Hi, I need to display a input msg box while the given icode( coloumn name) is not there in database and the the input value should goto the product( 3rd column in my table) column in table. my code is bellow. private void TablePropertyChange(java.bea
-
Hi! On page 9-19 (p129 of pdf) of the ADF tutorial, in the "Committing the Data and Returning the Service Request ID" section, the instructions jump from step 1 to step 39. On step 1, when I double-click the third button to define an action in the ba