Performance decline after moving to a faster server
Hi,
we are running a simple web applications - just servlets - on an older Windows NT Server with two Pentium two 233 MHz CPUs. The performance on the server was acceptable and pages showed up pretty quickly in the browsers.
Now we bought a new server (still Windows NT) with two Pentium III Xeon 8xx MHz CPUs (same amount of memory) and moved the application to the new server. We expected that the performance would increase because of the faster CPUs but the opposite happened. Our first tests showed a dramatic increase of response time. Pages that showed up in just one or two seconds on the old server, now take ten and more seconds to show up.
We start OC4J with the same java runtime parameters as on the old server. Also the configuration of the Apache server that we use a front end to OC4J did not change.
Does anyone have an idea how this performance decline is possible? Shouldn't it be faster on fastes CPUs?
Ideally you should have a faster response when you moved your apps to a new server. The slow performance could be due to
several reasons that includes server setup, network problem. So please look at your server setup and network.
regards
Debu
Similar Messages
-
Performance Issue After Moving To 11g From 9i
We have a process that inserts approximately 275,000 records into a table containing 22,000,000+ records. This process consistently runs in 1 hour and 20 minutes in our Oracle 9i Database (Standard Edition). This same process runs in 8+ hours in our Oracle 11g Database (Standard Edition) which is a copy of the Oracle 9i Database.
Both databases run on identical hardware running Windows Server 2000. The Servers each have 2 GB RAM.
We have noticed that the process in 11g slows down significantly after it has been running for about 30 minutes and is continuously consuming memory. We also ran a test in which we dropped all indexes on the table being inserted into except the primary key and the process still ran for 8+ hours again.
We executed another test in which the same process was run however we had it insert into a table that contained 0 records and our performance was better than on the 9i Database.
Any ideas on what might be causing the performance issue?Welcome to the forums !
Troubleshooting performance issues is difficult when all of the factual data is absent. Pl review these threads to identify information that you need to post in order to help you.
When your query takes too long:
HOW TO: Post a SQL statement tuning request - template posting
When your query takes too long ...
HTH
Srini -
Having a problem with the photos showing up after moving everything to another server.
Greetings,
I used an older version of iWeb to create several websites a few years back, and would like to retain them. I followed the instructions and downloaded the five folders for the five websites on my iDisk, which took more than two hours, and then uploaded them to the server I use to host another of my websites, and made them all subdomains.
The first issue I had was a php code error for every page. Turns out I had to remove the very first part of the index.html file: <?xml version="1.0" encoding="UTF-8"?> and then everything seemed fine until I tried to go to another page. Ended up having to do this on every html page for each website.
Then I noticed that none of the pictures were showing up in the albums. I also have videos on two of the sites, and they worked fine. I checked /Photo_Albums/Pages, and inside were the folders with all the pictures, so I know they're there.
I have ruled out it having anything to do with my new server by opening the websites in Safari from their folders on my desktop, and had the same results; everything was good except there were no pictures on the page.
If anyone can help me with this I would really appreciate it! I've got 5 websites I have to get fixed in two days.
Thanks!
Take care,
~ChrisThanks Roddy, but I don't think that's it, either. When I downloaded everything from my iDisk, it automatically created 3 versions of every picture, and named them either micro.jpg, thumb.jpg, or web.jpg. They can be found in the Photo_files>Media folder, each set of three in their own uniquely numbered folder. For example, one the websites is of a friend of mines hot rod Fiero.
Here is his website via iWeb:
http://jimsfiero.com/
This is what it looks like after uploading everything to a different server:
http://jimsfiero.ricehatersclub.com/
Here's my personal website:
http://peckerwoodspitstop.com/
And here it is after uploading everything:
http://peckerwoodspitstop.ricehatersclub.com/
You can see that everything works, except where the page is a photo album.
Thoughts?
Oh, BTW, I tried Wyodor's suggestion, and it shut everything down with a 500 Internal Server Error. Removing the suggested file corrected everything. -
SCSM 2012 R2: Error in DW server after moving workflows to new server
Hi
We have installed a new management server and moved to workflows to the new server, and all looks like it works ok. Then we have followed this to remove the old managment server:
http://marcelzehner.ch/2012/08/01/dealing-with-multiple-management-servers-33-decommission-old-management-servers/
tBut in the data warehouse Operations Managerlog we see: Error 33546 MP Sync failed to connect to Data Access on the machine <name of old managment server>.
Someone know how to fix this?
Please advice
jonHi,
You may refer to the below links to unregister the DW by using command Unregister-SCDWSource:
http://technet.microsoft.com/en-us/library/hh541728(v=sc.20).aspx
In addition, here is a blog to troubleshoot data warehouse issue:
http://blogs.msdn.com/b/scplat/archive/2010/06/07/troubleshooting-the-data-warehouse-an-overview.aspx
Regards,
Yan Li
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
Need to change permissions if moving backup disk to Server?
I have a Time Machine backup disk that's been directly connected to a client machine. There is much free space still left on that drive and we're retiring the client. I'd like to move that backup drive to our OS X Server machine and have it backup a few other clients that connect to it.
I understand there's difficulty in directly moving a backup drive to a server and having TM backups continue, incrementally, as usual.
I'm not so interested in accomplishing that as I am making insuring the integrity of future backups. What concerns me the most is that on the old client the drive's owner was jill and after moving it to our server it's owner is jeff (whom happens to be logged into the server right now). BUT, all our shared drives are owned by localadmin as required during the LDAP/Open Directory setup that I can't fully remember right now.
should I change ownership of this drive? Make it a Share Point in Server Admin? If so what happens to that old Backups.packupd folder and it's contents. Could they still be used to recover files from Jill's old account?
Sorry for the confusion...Just get the new machine? If so, which option did you use to migrate? Is the old machine a PPC and the new one an ICBM (Intel-chip-based Mac)? If a new machine, you might reconsider how you did things, restore the new machine to factory specs, and start over. See http://discussions.apple.com/thread.jspa?messageID=1872713 for starters.
-
Dump is coming after Moving the request to Quality server.
Dear All,
Dump is coming in a ABAP code after moving the same to quality server.
Kindly refer the attached screenshot.
Kindly suggest.
Thanks and Regards
Jaisee the below code,
I have changed the value of l_age1 TYPE bsid-dmbtr to l_age1 TYPE p LENGTH 10 DECIMALS 2.
*& Report ZFIRDEBAGEING
* 1. Program Name:ZFIRDEBAGEING 2. Creation Dt:18/03/2013 *
* 3. Module Name :FI 4. Modified Dt:2/04/2013 *
* 5. Developer Name: Kallol Chakrabarty 6. Modified By: *
* 7.Background / Online :Online 8. Trans Code : ZCAGE *
* 9. Frequency : Regular *
* Request Number : - Created *
* Remarks : Customer Ageing Report *
REPORT zfirdebageing.
TYPE-POOLS : slis.
TABLES: bsid,bseg.
TYPES : BEGIN OF tt_bsid,
belnr TYPE belnr_d,
gjahr TYPE gjahr,
bukrs TYPE bukrs,
dmbtr TYPE dmbtr,
kunnr TYPE kunnr,
budat TYPE budat,
zfbdt TYPE dzfbdt,
zterm TYPE dzterm,
zbd1t TYPE dzbd1t,
shkzg TYPE shkzg,
END OF tt_bsid,
BEGIN OF tt_bseg,
belnr TYPE belnr_d,
gjahr TYPE gjahr,
bukrs TYPE bukrs,
werks TYPE werks_d,
prctr TYPE prctr,
segment TYPE fb_segment,
END OF tt_bseg,
BEGIN OF tt_faglseg,
langu TYPE spras,
segment TYPE fb_segment,
name TYPE text50,
END OF tt_faglseg,
BEGIN OF tt_cepct,
spras TYPE spras,
prctr TYPE prctr,
ltext TYPE ltext,
END OF tt_cepct,
BEGIN OF tt_final,
kunnr TYPE kunnr,
segment TYPE fb_segment,
name TYPE text50,
prctr TYPE prctr,
ltext TYPE ltext,
name1 TYPE name1_gp,
ort01 TYPE ort01_gp,
age1 TYPE dmbtr,
age2 TYPE dmbtr,
age3 TYPE dmbtr,
age4 TYPE dmbtr,
age5 TYPE dmbtr,
age6 TYPE dmbtr,
age7 TYPE dmbtr,
total TYPE dmbtr,
total1 TYPE dmbtr,
total2 TYPE dmbtr,
zfbdt TYPE dzfbdt,
zterm TYPE dzterm,
zbd1t TYPE dzbd1t,
budat TYPE budat,
END OF tt_final,
BEGIN OF tt_kna1,
kunnr TYPE kunnr,
name1 TYPE name1_gp,
ort01 TYPE ort01_gp,
END OF tt_kna1.
DATA : wa_bsid TYPE tt_bsid,
it_bsid TYPE TABLE OF tt_bsid,
wa_bseg TYPE tt_bseg,
it_bseg TYPE TABLE OF tt_bseg,
" wa_tmp1 TYPE tt_bseg, "Commented by ++KC 18.03.2013 after extended check
it_tmp1 TYPE TABLE OF tt_bseg,
wa_faglseg TYPE tt_faglseg,
it_faglseg TYPE TABLE OF tt_faglseg,
wa_cepct TYPE tt_cepct,
it_cepct TYPE TABLE OF tt_cepct,
it_tmp TYPE TABLE OF tt_bsid,
wa_final TYPE tt_final,
it_final TYPE TABLE OF tt_final,
wa_final1 TYPE tt_final,
it_final1 TYPE TABLE OF tt_final,
wa_kna1 TYPE tt_kna1,
it_kna1 TYPE TABLE OF tt_kna1.
*& ALV Data Declaration *
DATA: it_fieldcat TYPE slis_t_fieldcat_alv,
wa_fieldcat TYPE slis_fieldcat_alv,
is_layout TYPE slis_layout_alv,
wa_event TYPE slis_alv_event,
it_event TYPE slis_t_event.
SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS : s_kunnr FOR bsid-kunnr.
PARAMETERS : p_bukrs TYPE bseg-bukrs OBLIGATORY,
p_dateon TYPE bsid-budat DEFAULT sy-datum OBLIGATORY.
SELECTION-SCREEN : END OF BLOCK b1.
SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME TITLE text-003.
SELECT-OPTIONS : s_werks FOR bseg-werks,
s_sgmnt FOR bseg-segment,
s_prctr FOR bseg-prctr.
SELECT-OPTIONS : s_umskz FOR bsid-umskz.
SELECTION-SCREEN : END OF BLOCK b2.
DATA: v_days TYPE string,
v_date1 TYPE bsid-budat,
v_date2 TYPE bsid-budat,
v_date3 TYPE bsid-budat,
v_date4 TYPE bsik-budat,
v_date5 TYPE bsik-budat,
v_date6 TYPE bsik-budat,
v_date7 TYPE bsik-budat,
* l_age1 TYPE bsid-budat,
* l_age2 TYPE bsid-dmbtr,
* l_age3 TYPE bsid-dmbtr,
* l_age4 TYPE bsid-dmbtr,
* l_age5 TYPE bsid-dmbtr,
* l_age6 TYPE bsid-dmbtr,
* l_age7 TYPE bsid-dmbtr,
l_age1 TYPE p LENGTH 10 DECIMALS 2,
l_age2 TYPE p LENGTH 10 DECIMALS 2,
l_age3 TYPE p LENGTH 10 DECIMALS 2,
l_age4 TYPE p LENGTH 10 DECIMALS 2,
l_age5 TYPE p LENGTH 10 DECIMALS 2,
l_age6 TYPE p LENGTH 10 DECIMALS 2,
l_age7 TYPE p LENGTH 10 DECIMALS 2.
CONSTANTS : v_age1(4) TYPE c VALUE 15 ,
v_age2(4) TYPE c VALUE 30,
v_age3(4) TYPE c VALUE 45,
v_age4(4) TYPE c VALUE 90,
v_age5(4) TYPE c VALUE 180,
v_age6(4) TYPE c VALUE 360,
v_age7(4) TYPE c VALUE 360.
INITIALIZATION.
sy-title = 'CUSTOMER AGEING'.
*--------------- S-T-A-R-T O-F S-E-L-E-C-T-I-O-N ----------------------*
START-OF-SELECTION.
PERFORM get_data.
PERFORM process_data.
PERFORM alv_display.
*& Form GET_DATA
* text
* --> p1 text
* <-- p2 text
FORM get_data .
SELECT belnr
gjahr
bukrs
dmbtr
kunnr
budat
zfbdt
zterm
zbd1t
shkzg
FROM bsid INTO TABLE it_bsid
WHERE kunnr IN s_kunnr
AND bukrs = p_bukrs
* AND zfbdt <= p_dateon
AND budat <= p_dateon
AND umskz IN s_umskz.
SELECT belnr
gjahr
bukrs
dmbtr
kunnr
budat
zfbdt
zterm
zbd1t
shkzg
FROM bsad APPENDING CORRESPONDING FIELDS OF TABLE it_bsid
WHERE kunnr IN s_kunnr
AND bukrs = p_bukrs
AND augdt > p_dateon
AND umskz IN s_umskz.
IF it_bsid[] IS NOT INITIAL.
it_tmp[] = it_bsid[].
DELETE ADJACENT DUPLICATES FROM it_tmp COMPARING kunnr.
SELECT kunnr
name1
ort01 FROM kna1 INTO TABLE it_kna1
FOR ALL ENTRIES IN it_tmp
WHERE kunnr = it_tmp-kunnr.
SELECT belnr
gjahr
bukrs
werks
prctr
segment
FROM bseg INTO TABLE it_bseg
FOR ALL ENTRIES IN it_bsid
WHERE belnr = it_bsid-belnr
AND gjahr = it_bsid-gjahr
AND werks IN s_werks
AND prctr IN s_prctr
AND segment IN s_sgmnt
AND umskz IN s_umskz.
IF it_bseg[] IS NOT INITIAL.
it_tmp1[] = it_bseg[].
SORT it_tmp1 BY segment.
DELETE ADJACENT DUPLICATES FROM it_tmp1 COMPARING segment.
SELECT langu
segment
name
FROM fagl_segmt INTO TABLE it_faglseg
FOR ALL ENTRIES IN it_tmp1
WHERE langu = 'EN'
AND segment = it_tmp1-segment.
REFRESH it_tmp1.
it_tmp1[] = it_bseg[].
SORT it_tmp1 BY prctr.
DELETE ADJACENT DUPLICATES FROM it_tmp1 COMPARING prctr.
SELECT spras
prctr
ltext
FROM cepct INTO TABLE it_cepct
FOR ALL ENTRIES IN it_tmp1
WHERE spras = 'EN'
AND prctr = it_tmp1-prctr.
ENDIF.
ENDIF.
ENDFORM. " GET_DATA
*& Form PROCESS_DATA
* text
* --> p1 text
* <-- p2 text
FORM process_data .
v_date1 = p_dateon - v_age1. " 15 days " Cnanges made by Jaiprakash
v_date2 = p_dateon - v_age2. " 30 days " Cnanges made by Jaiprakash
v_date3 = p_dateon - v_age3. " 45 days " Cnanges made by Jaiprakash
v_date4 = p_dateon - v_age4. " 90 days " Cnanges made by Jaiprakash
v_date5 = p_dateon - v_age5. " 180 days " Cnanges made by Jaiprakash
v_date6 = p_dateon - v_age6. " 360 days " Cnanges made by Jaiprakash
v_date7 = p_dateon - v_age7. " 360 days " Changes made by Jaiprakash
IF NOT it_bseg IS INITIAL.
* DELETE it_bseg FROM wa_bseg WHERE segment = ''.
DATA: lv_add TYPE i.
DATA: lv_date TYPE sy-datum.
LOOP AT it_bsid INTO wa_bsid.
wa_final-zterm = wa_bsid-zterm.
wa_final-zbd1t = wa_bsid-zbd1t.
CLEAR wa_bseg.
READ TABLE it_bseg INTO wa_bseg WITH KEY belnr = wa_bsid-belnr.
IF sy-subrc EQ 0.
wa_final-segment = wa_bseg-segment.
wa_final-prctr = wa_bseg-prctr.
IF wa_bsid-shkzg = 'H'.
wa_bsid-dmbtr = -1 * wa_bsid-dmbtr.
ENDIF.
CLEAR wa_faglseg.
READ TABLE it_faglseg INTO wa_faglseg WITH KEY segment = wa_final-segment.
IF sy-subrc EQ 0.
wa_final-name = wa_faglseg-name.
ENDIF.
CLEAR wa_cepct.
READ TABLE it_cepct INTO wa_cepct WITH KEY prctr = wa_final-prctr.
IF sy-subrc EQ 0.
wa_final-ltext = wa_cepct-ltext.
ENDIF.
* Calculation for the age buckets of <15, <30, <45, <90, <180 , <360 and >360 days
* IF wa_bsid-zfbdt <= p_dateon AND wa_bsid-zfbdt > v_date1.
* l_age1 = wa_bsid-dmbtr + l_age1.
* ELSEIF wa_bsid-zfbdt <= v_date1 AND wa_bsid-zfbdt > v_date2.
* l_age2 = wa_bsid-dmbtr + l_age2.
* ELSEIF wa_bsid-zfbdt <= v_date2 AND wa_bsid-zfbdt > v_date3.
* l_age3 = wa_bsid-dmbtr + l_age3.
* ELSEIF wa_bsid-zfbdt <= v_date3 AND wa_bsid-zfbdt > v_date4.
* l_age4 = wa_bsid-dmbtr + l_age4.
* ELSEIF wa_bsid-zfbdt <= v_date4 AND wa_bsid-zfbdt > v_date5.
* l_age5 = wa_bsid-dmbtr + l_age5.
* ELSEIF wa_bsid-zfbdt <= v_date5 AND wa_bsid-zfbdt > v_date6.
* l_age6 = wa_bsid-dmbtr + l_age6.
* ELSEIF wa_bsid-zfbdt <= v_date7.
* l_age7 = wa_bsid-dmbtr + l_age7.
* ENDIF.
IF wa_bsid-zfbdt <= p_dateon AND wa_bsid-zfbdt > v_date1.
l_age1 = wa_bsid-dmbtr + l_age1.
ELSEIF wa_bsid-zfbdt <= v_date1 AND wa_bsid-zfbdt > v_date2.
l_age2 = wa_bsid-dmbtr + l_age2.
ELSEIF wa_bsid-zfbdt <= v_date2 AND wa_bsid-zfbdt > v_date3.
l_age3 = wa_bsid-dmbtr + l_age3.
ELSEIF wa_bsid-zfbdt <= v_date3 AND wa_bsid-zfbdt > v_date4.
l_age4 = wa_bsid-dmbtr + l_age4.
ELSEIF wa_bsid-zfbdt <= v_date4 AND wa_bsid-zfbdt > v_date5.
l_age5 = wa_bsid-dmbtr + l_age5.
ELSEIF wa_bsid-zfbdt <= v_date5 AND wa_bsid-zfbdt > v_date6.
l_age6 = wa_bsid-dmbtr + l_age6.
ELSEIF wa_bsid-zfbdt <= v_date7.
l_age7 = wa_bsid-dmbtr + l_age7.
ENDIF.
wa_final-kunnr = wa_bsid-kunnr.
CLEAR wa_kna1.
READ TABLE it_kna1 INTO wa_kna1 WITH KEY kunnr = wa_bsid-kunnr.
IF sy-subrc EQ 0.
wa_final-name1 = wa_kna1-name1.
wa_final-ort01 = wa_kna1-ort01.
ENDIF.
lv_add = wa_final-zbd1t.
* lv_add = wa_final-zbd1t.
CLEAR:lv_date.
CALL FUNCTION 'FKK_ADD_WORKINGDAY'
EXPORTING
i_date = wa_final-budat
i_days = lv_add
* I_CALENDAR1 =
* I_CALENDAR2 =
IMPORTING
e_date = lv_date
* E_RETURN =
wa_final-age1 = l_age1.
wa_final-age2 = l_age2.
wa_final-age3 = l_age3.
wa_final-age4 = l_age4.
wa_final-age5 = l_age5.
wa_final-age6 = l_age6.
wa_final-age7 = l_age7.
wa_final-total = wa_final-age1 + wa_final-age2 + wa_final-age3 + wa_final-age4 + wa_final-age5 + wa_final-age6 + wa_final-age7.
* wa_final-age1 = l_age1.
* wa_final-age2 = l_age2.
* wa_final-age3 = l_age3.
* wa_final-age4 = l_age4.
* wa_final-age5 = l_age5.
* wa_final-age6 = l_age6.
* wa_final-age7 = l_age7.
* wa_final-total1 = wa_final-age1 + wa_final-age2 + wa_final-age3 + wa_final-age4 + wa_final-age5 + wa_final-age6 + wa_final-age7.
* wa_final-age1 = l_age1.
* wa_final-age2 = l_age2.
* wa_final-age3 = l_age3.
* wa_final-age4 = l_age4.
* wa_final-age5 = l_age5.
* wa_final-age6 = l_age6.
* wa_final-age7 = l_age7.
* wa_final-total1 = wa_final-age1 + wa_final-age2 + wa_final-age3 + wa_final-age4 + wa_final-age5 + wa_final-age6 + wa_final-age7.
IF p_dateon GT lv_date.
wa_final-age1 = l_age1.
wa_final-age2 = l_age2.
wa_final-age3 = l_age3.
wa_final-age4 = l_age4.
wa_final-age5 = l_age5.
wa_final-age6 = l_age6.
wa_final-age7 = l_age7.
wa_final-total1 = wa_final-age1 + wa_final-age2 + wa_final-age3 + wa_final-age4 + wa_final-age5 + wa_final-age6 + wa_final-age7.
ELSE.
wa_final-age1 = l_age1.
wa_final-age2 = l_age2.
wa_final-age3 = l_age3.
wa_final-age4 = l_age4.
wa_final-age5 = l_age5.
wa_final-age6 = l_age6.
wa_final-age7 = l_age7.
wa_final-total2 = wa_final-age1 + wa_final-age2 + wa_final-age3 + wa_final-age4 + wa_final-age5 + wa_final-age6 + wa_final-age7.
ENDIF.
APPEND wa_final TO it_final.
CLEAR: wa_final,l_age1,l_age2,l_age3,l_age4,l_age5,l_age6,l_age7.
ENDIF.
ENDLOOP.
ENDIF.
IF it_final IS NOT INITIAL.
SORT it_final BY kunnr segment.
LOOP AT it_final INTO wa_final.
MOVE wa_final TO wa_final1.
wa_final1-prctr = ''.
wa_final1-ltext = ''.
wa_final1-segment = ''.
wa_final1-name = ''.
wa_final1-zterm = ''.
AT END OF name1.
SUM.
wa_final1-total = wa_final-total.
wa_final1-total1 = wa_final-total1.
wa_final1-total2 = wa_final-total2.
wa_final1-age1 = wa_final-age1.
wa_final1-age2 = wa_final-age2.
wa_final1-age3 = wa_final-age3.
wa_final1-age4 = wa_final-age4.
wa_final1-age5 = wa_final-age5.
wa_final1-age6 = wa_final-age6.
wa_final1-age7 = wa_final-age7.
COLLECT wa_final1 INTO it_final1.
CLEAR wa_final1.
ENDAT.
ENDLOOP.
ENDIF.
ENDFORM. " PROCESS_DATA
**& Form ALV_DISPLAY
** text
** --> p1 text
** <-- p2 text
FORM alv_display .
DATA : v_col TYPE i VALUE 1.
CLEAR wa_fieldcat.
v_col = v_col + 1.
wa_fieldcat-col_pos = v_col.
wa_fieldcat-seltext_m = 'Customer Code'.
wa_fieldcat-fieldname = 'KUNNR'.
wa_fieldcat-tabname = text-002.
wa_fieldcat-key = 'X'.
wa_fieldcat-outputlen = 14.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-col_pos = v_col.
wa_fieldcat-seltext_m = 'Customer Name'.
wa_fieldcat-fieldname = 'NAME1'.
wa_fieldcat-tabname = text-002.
wa_fieldcat-key = 'X'.
wa_fieldcat-outputlen = 14.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
v_col = v_col + 1.
wa_fieldcat-col_pos = v_col.
wa_fieldcat-seltext_m = 'City'.
wa_fieldcat-fieldname = 'ORT01'.
wa_fieldcat-tabname = text-002.
wa_fieldcat-key = 'X'.
wa_fieldcat-outputlen = 35.
APPEND wa_fieldcat TO it_fieldcat.
*** CLEAR wa_fieldcat.
*** v_col = v_col + 1.
*** wa_fieldcat-col_pos = v_col.
*** wa_fieldcat-seltext_m = 'Payment Term'.
*** wa_fieldcat-fieldname = 'ZTERM'.
*** wa_fieldcat-tabname = text-002.
*** wa_fieldcat-key = 'X'.
*** wa_fieldcat-outputlen = 14.
*** APPEND wa_fieldcat TO it_fieldcat.
* CLEAR wa_fieldcat.
* v_col = v_col + 1.
* wa_fieldcat-col_pos = v_col.
* wa_fieldcat-seltext_m = 'No. Of Days'.
* wa_fieldcat-fieldname = 'ZBD1T'.
* wa_fieldcat-tabname = text-002.
* wa_fieldcat-key = 'X'.
* wa_fieldcat-outputlen = 14.
* APPEND wa_fieldcat TO it_fieldcat.
* CLEAR wa_fieldcat.
* v_col = v_col + 1.
* wa_fieldcat-col_pos = v_col.
* wa_fieldcat-seltext_m = 'Baseline Date'.
* wa_fieldcat-fieldname = 'ZFBDT'.
* wa_fieldcat-tabname = text-002.
* wa_fieldcat-key = ' -
System performance degrades after server migration ???
Hi Friends,
System performance degrades after we migrate our BW 3.5 Server (Production) from UK to Germany.
for details :
1. Data is coming to Informatica server from Informatica its going to POSDM Server (Point of Sales Data Management) from POSDM we are running pipes and data is coming to BW (Delta Queqe)
so before Server Migration it was taking 2 Hrs to load 4 Million Records
After Server Migration it is taking 4 Hrs.
Please help out to find the reason for this.
Note : Server Ram , Hard Disk , Speed is same on both Servers
Thanks
AsimNote : Server Ram , Hard Disk , Speed is same on both Servers
Are you cahnge any application or database parameter (the OS and all patch'es are the same?)
How you doing migration? Very low information... Are you check the network configuration are the same( for example check the network speed 1G or 100MB).
Are you trying to analyse the St03N and St04 t-codes?
Regards. -
Duplicate Items in Outlook After Mailbox Move to New Server
We are performing a server migration and after moving a group of pilot users from Exchange 2003 to Exchange 2007, they are reporting duplicate items (emails, calendar, contacts, etc.) in Outlook. What could be causing this to happen and how do we prevent
it? What's the best way to fix the existing duplicates? The duplicates have sync'd to the server as they show up in Outlook Webmail as well.
Thank youHi,
How do your move these mailboxes from Exchange 2003 to Exchange 2007? Using move request in Exchange 2007 or exporting/importing a PST file?
Since the duplicate items don't shown in Outlook Web App, please create a new Outlook profile in Outlook to have a try:
http://support.microsoft.com/kb/829918
Additionally, here is a reference about how to move mailboxes from Exchange 2003 to Exchange 2007:
http://exchangeserverpro.com/moving-mailboxes-from-exchange-2003-to-exchange-server-2007/
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please
make sure that you completely understand the risk before retrieving any suggestions from the above link.
Thanks,
Winnie Liang
TechNet Community Support -
Failed boot after moving hard drive (IDE not SATA)
Greetings all.
I am attempting to setup a headless box, and in doing so I am installing Arch on one system (Sapphire Axion A3-M275 Motherboard), then moving the hard drive to the new system (SGS1660, a VIA CLE266/VT8235 based headless rack-solution). After moving the drive into the SGS1660, the system fails to boot. Attached output from the Serial Console:
Booting 'Arch Linux'
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /vmlinuz26 root=/dev/disk/by-uuid/93df0562-c6e6-4583-9a79-51cd2091247b r
o console=ttyS0,115200
[Linux-bzImage, setup=0x3600, size=0x1ad6d0]
initrd /kernel26.img
[Linux-initrd @ 0x2ff21000, 0x9e7a5 bytes]
Linux version 2.6.30-ARCH (root@T-POWA-LX) (gcc version 4.4.0 20090630 (prerelease) (GCC) ) #1 SMP PREEMPT Mon Jul 20 11:20:32 UTC 2009
KERNEL supported cpus:
Intel GenuineIntel
AMD AuthenticAMD
NSC Geode by NSC
Cyrix CyrixInstead
Centaur CentaurHauls
Transmeta GenuineTMx86
Transmeta TransmetaCPU
UMC UMC UMC UMC
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000002ffd0000 (usable)
BIOS-e820: 000000002ffd0000 - 000000002ffde000 (ACPI data)
BIOS-e820: 000000002ffde000 - 0000000030000000 (ACPI NVS)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000ff780000 - 0000000100000000 (reserved)
DMI 2.3 present.
AMI BIOS detected: BIOS may corrupt low RAM, working around it.
last_pfn = 0x2ffd0 max_arch_pfn = 0x100000
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
Scanning 0 areas for low memory corruption
modified physical RAM map:
modified: 0000000000000000 - 0000000000010000 (reserved)
modified: 0000000000010000 - 000000000009fc00 (usable)
modified: 000000000009fc00 - 00000000000a0000 (reserved)
modified: 00000000000e0000 - 0000000000100000 (reserved)
modified: 0000000000100000 - 000000002ffd0000 (usable)
modified: 000000002ffd0000 - 000000002ffde000 (ACPI data)
modified: 000000002ffde000 - 0000000030000000 (ACPI NVS)
modified: 00000000fec00000 - 00000000fec01000 (reserved)
modified: 00000000ff780000 - 0000000100000000 (reserved)
init_memory_mapping: 0000000000000000-000000002ffd0000
RAMDISK: 2ff21000 - 2ffbf7a5
ACPI: RSDP 000f6ad0 00014 (v00 ACPIAM)
ACPI: RSDT 2ffd0000 0002C (v01 A M I OEMRSDT 09000521 MSFT 00000097)
ACPI: FACP 2ffd0200 00084 (v02 A M I OEMFACP 09000521 MSFT 00000097)
ACPI: DSDT 2ffd0390 03270 (v01 MiniV MiniV080 00000080 INTL 02002026)
ACPI: FACS 2ffde000 00040
ACPI: OEMB 2ffde040 00046 (v01 A M I AMI_OEM 09000521 MSFT 00000097)
0MB HIGHMEM available.
767MB LOWMEM available.
mapped low ram: 0 - 2ffd0000
low ram: 0 - 2ffd0000
node 0 low ram: 00000000 - 2ffd0000
node 0 bootmap 00011000 - 00016ffc
(9 early reservations) ==> bootmem [0000000000 - 002ffd0000]
#0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
#1 [0000001000 - 0000002000] EX TRAMPOLINE ==> [0000001000 - 0000002000]
#2 [0000006000 - 0000007000] TRAMPOLINE ==> [0000006000 - 0000007000]
#3 [0000100000 - 0000626e44] TEXT DATA BSS ==> [0000100000 - 0000626e44]
#4 [002ff21000 - 002ffbf7a5] RAMDISK ==> [002ff21000 - 002ffbf7a5]
#5 [0000099c00 - 0000100000] BIOS reserved ==> [0000099c00 - 0000100000]
#6 [0000627000 - 0000629230] BRK ==> [0000627000 - 0000629230]
#7 [0000010000 - 0000011000] PGTABLE ==> [0000010000 - 0000011000]
#8 [0000011000 - 0000017000] BOOTMAP ==> [0000011000 - 0000017000]
Zone PFN ranges:
DMA 0x00000010 -> 0x00001000
Normal 0x00001000 -> 0x0002ffd0
HighMem 0x0002ffd0 -> 0x0002ffd0
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0x00000010 -> 0x0000009f
0: 0x00000100 -> 0x0002ffd0
Using APIC driver default
ACPI: PM-Timer IO Port: 0x808
SMP: Allowing 1 CPUs, 0 hotplug CPUs
No local APIC present or hardware disabled
PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
Allocating PCI resources starting at 40000000 (gap: 30000000:cec00000)
NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1
PERCPU: Embedded 11 pages at c1606000, static data 24444 bytes
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 194911
Kernel command line: root=/dev/disk/by-uuid/93df0562-c6e6-4583-9a79-51cd2091247b ro console=ttyS0,115200
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
NR_IRQS:512
PID hash table entries: 4096 (order: 12, 16384 bytes)
Fast TSC calibration using PIT
Detected 1326.894 MHz processor.
Console: colour dummy device 80x25
console [ttyS0] enabled
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Initializing HighMem for node 0 (00000000:00000000)
Memory: 772708k/786240k available (2905k kernel code, 12976k reserved, 1052k data, 392k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xfff4e000 - 0xfffff000 ( 708 kB)
pkmap : 0xff800000 - 0xffc00000 (4096 kB)
vmalloc : 0xf07d0000 - 0xff7fe000 ( 240 MB)
lowmem : 0xc0000000 - 0xeffd0000 ( 767 MB)
.init : 0xc04e3000 - 0xc0545000 ( 392 kB)
.data : 0xc03d647f - 0xc04dd6a8 (1052 kB)
.text : 0xc0100000 - 0xc03d647f (2905 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop (skipped), value calculated using timer frequency.. 2654.36 BogoMIPS (lpj=4422980)
Security Framework initialized
Mount-cache hash table entries: 512
CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 64K (32 bytes/line)
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 10k freed
ACPI: Core revision 20090320
ACPI: setting ELCR to 0200 (from 8c20)
weird, boot CPU (#0) not listed by the BIOS.
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
SMP disabled
Brought up 1 CPUs
Total of 1 processors activated (2654.36 BogoMIPS).
net_namespace: 1056 bytes
Booting paravirtualized kernel on bare hardware
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=1
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S3 S4 S5)
ACPI: Using PIC for interrupt routing
ACPI: Power Resource [URP1] (off)
ACPI: Power Resource [URP2] (off)
ACPI: Power Resource [FDDP] (off)
ACPI: Power Resource [LPTP] (off)
ACPI: No dock devices found.
ACPI: PCI Root Bridge [PCI0] (0000:00)
pci 0000:00:07.0: PME# supported from D0 D3hot D3cold
pci 0000:00:07.0: PME# disabled
pci 0000:00:10.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:10.0: PME# disabled
pci 0000:00:10.1: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:10.1: PME# disabled
pci 0000:00:10.2: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:10.2: PME# disabled
HPET not enabled in BIOS. You might try hpet=force boot option
pci 0000:00:11.0: quirk: region 0800-087f claimed by vt8235 PM
pci 0000:00:11.0: quirk: region 0400-040f claimed by vt8235 SMB
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 11 12 14 *15)
PCI: Using ACPI for IRQ routing
NetLabel: Initializing
NetLabel: domain hash size = 128
NetLabel: protocols = UNLABELED CIPSOv4
NetLabel: unlabeled traffic allowed by default
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 10 devices
ACPI: ACPI bus type pnp unregistered
system 00:05: ioport range 0xe900-0xe90f has been reserved
system 00:05: ioport range 0xea00-0xea0f has been reserved
system 00:05: ioport range 0xeb00-0xeb2f has been reserved
system 00:05: ioport range 0xec00-0xec7f has been reserved
system 00:05: ioport range 0xe800-0xe83f has been reserved
system 00:07: ioport range 0x3e0-0x3e7 has been reserved
system 00:07: ioport range 0x4d0-0x4d1 has been reserved
system 00:07: ioport range 0x800-0x87f has been reserved
system 00:07: ioport range 0x400-0x41f could not be reserved
system 00:09: iomem range 0x0-0x9ffff could not be reserved
system 00:09: iomem range 0xe0000-0xfffff could not be reserved
system 00:09: iomem range 0x100000-0x2fffffff could not be reserved
pci 0000:00:01.0: PCI bridge, secondary bus 0000:01
pci 0000:00:01.0: IO window: disabled
pci 0000:00:01.0: MEM window: 0xddd00000-0xdfdfffff
pci 0000:00:01.0: PREFETCH window: 0x000000d5c00000-0x000000ddbfffff
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
NET: Registered protocol family 1
Unpacking initramfs...
Freeing initrd memory: 633k freed
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.
Scanning for low memory corruption every 60 seconds
audit: initializing netlink socket (disabled)
type=2000 audit(1248948860.509:1): initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
msgmni has been set to 1510
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci 0000:00:01.0: disabling DAC on VIA PCI bridge
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
input: Macintosh mouse button emulation as /devices/virtual/input/input0
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
cpuidle: using governor ladder
cpuidle: using governor menu
TCP cubic registered
NET: Registered protocol family 17
Using IPI No-Shortcut mode
registered taskstats version 1
Initalizing network drop monitor service
Freeing unused kernel memory: 392k freed
:: Loading Initramfs
:: Running Hook [udev]
:: Loading udev...SCSI subsystem initialized
pata_acpi 0000:00:11.1: can't derive routing for PCI INT A
pata_acpi 0000:00:11.1: can't derive routing for PCI INT A
done.
Waiting 10 seconds for device /dev/disk/by-uuid/93df0562-c6e6-4583-9a79-51cd2091247b ...
Root device '/dev/disk/by-uuid/93df0562-c6e6-4583-9a79-51cd2091247b' doesn't exist, attempting to create it
ERROR: Failed to parse block device ids for '/dev/disk/by-uuid/93df0562-c6e6-4583-9a79-51cd2091247b'
ERROR: Unable to detect or create root device '/dev/disk/by-uuid/93df0562-c6e6-4583-9a79-51cd2091247b'
You are being dropped to a recovery shell
Type 'reboot' to reboot
Type 'exit' to try and continue booting
NOTE: klibc contains no 'ls' binary, use 'echo *' instead
If the device '/dev/disk/by-uuid/93df0562-c6e6-4583-9a79-51cd2091247b' gets created while you are here,
try adding 'rootdelay=10' or higher to the kernel command-line
ramfs$
I think what is happening is that the kernel does not have the drivers for the IDE controller on the board for the CLE266/VT8235. Does this seem accurrate? And if so, how can I verify the current kernel config, then compile a kernel with everything else Arch needs to boot properly? I am familiar with the old means of setting up a kernel using the 'make menuconfig; make; make modules_install' etc method.
Thanks for the help in advance!Hi, not sure if this is still causing you an issue, but I just ran into the same problem.
For me, I have a Sharp PC=MM1110 which has no cd drive and doesn't like to boot from USB. To get Arch installed on it, I had to attach it to another PC (via it's docking cradle, which lets it show up as a USB hard drive), then boot the other PC from an Arch install cd and select the USB hdd for all of the partitioning etc.
When I rebooted after the installation, the Sharp wouldn't boot.
First, I had to edit the grub menu entry to point to (hd0,0), at which point I got the error listed in the first post... Failed to parse block device id's.
If i booted into fallback mode, it booted without a problem.
For me, the solution to finally get it working was to boot into fallback mode, remount the filesystem as r/w, and run mkinitcpio -g filename to rebuild the kernel. Once completed all I had to do was point grub to the new kernel image and it booted ok.
Hope this is useful to someone -
HT4898 how do you syn mail after moving to icloud
How do you syn mail after moving to iCloud?
Yes, you can use iCloud mail with OS X 10.6.8. However you need to enter the account details manually using the Mail Server Information
-
Performance degradation after setting filesystemio_option=setall from none.
Hi All,
We have facing performance degradation after setting filesystemio_option=setall from none on my two servers as mentioned below.
Red Hat Enterprise Linux AS release 4 (Nahant Update 7) 2.6.9 55.ELhugemem (32-bit)
Red Hat Enterprise Linux Server release 5.2 (Tikanga) 2.6.18 92.1.10.el5 (64-bit)
We are seeing lots of Disk I/O happening. We expected "*filesystemio_option=setall* " will improve performance but it is degrading. We getting slowness complains.
Please let me know do we need to set somethign else along with this ...like any otimizer parameter( e.g. optimizer_index_cost_adj, optimizer_index_caching).
Please help.Hi Suraj,
<speculation>
You switched filesystemio_options to setall from none, so, the most likely reason for performance degradation after switching to setall is the implementation of directio. Direct I/O will skip the filesystem buffer cache, and and allow Oracle to read directly from disk to the database buffer cache. However, on a system where direct I/O is not implemented, which is what you had until you recently messed with that parameter, it's likely that you had an undersized database buffer cache, but that was ok, because many (most) of the physical I/Os your database was doing, were actually being serviced by the O/S filesystem buffer cache. But, you introduced direct I/O, and wiped out the ability of the O/S to service any physical I/Os from filesystem buffer cache. This means that every cache miss on the database buffer cache, turns into a real, physical, spin-the-disk, move-the-drive-head, physical I/O. And, you are suffering the performance consequences.
</speculation>
Ok, end of speculation. Now, assuming that what I've outlined above is actually going on, what to do? Why is direct I/O lower performing than buffered, non-direct I/O? Shouldn't it's performance be superior?
Well, when you have an established system that's using buffered I/O, and you switch to direct I/O, you almost always will have to increase the size of the database buffer cache. The problem is that you took a huge chunk of memory away from the the O/S, that it was using to buffer your I/Os and avoid physical I/O. So, now, you need to make up for it, by increasing the size of the database buffer cache. You can do this, without buying more memory for the box, because the O/S is no longer going to need to use so much memory for filesystem buffers.
So, what to do? Is it worth switching? Well, on balance, it makes sense to use direct I/O, and give Oracle a larger database buffer cache, for the simple fact that (particularly on a server that's dedicated to being an Oracle database server), Oracle has far more sophisticated caching algorithms, and a better understanding of the various types of data being cached, and so should be able to make more efficient use of the memory, than the (relatively) brain dead caching algorithms of the kernel and filesystem mechanisms.
But, once again, it all comes down to this:
What problem are you trying to solve? Did you have any I/O related issues? Do you have any compelling reason to implement direct I/O? Rule #1 is "if it ain't broke, don't fix it." Did you just violate rule #1? :-)
Finally, since you're on Linux, you can use the 'free' command to see how much memory is on the box, how much is free, and how much is dedicated to filesystem cache buffers. This response is already pretty long, so, I'm not going to get into details, however, if you're not familiar with the command, the results could be misleading. Read the man page, and try to be clear about understanding it before you make any assumptions about the output.
Hope that helps,
-Mark -
Performance Hit After Oracle Database Upgrade to 10.2.0.4
We have a couple dozen workbooks that took this performance hit after the upgrade of the database/migration to a new server. Worksheets that executed in the ten second range are now running for hours or simply not finishing. We took the new server factor out of the equation by rolling back the database to 10.2.0.3 where a test EUL resides and the problem was resolved. Has anyone seen this issue? Does anyone have an suggestions? An early reply would be greatly appreciated.
Thanks,
JerreRod,
Thanks for the quick reply. We are looking at the different plans and modifying the optimizer settings, switching back and forth, as we speak. We are now starting with the hints. Currently our Server 'optimizer_mode' parameter is ALL_ROWS. We are planning to change the to 'Choose' and see what happens. The workbooks that are impacted are on our oldest business areas of Finance and HR. The former setup was borrowed from another school for a quick, low cost start up. The latter was thrown together by novices. Our true datamarts developed by knowledgeable personnel with star schemas are not impacted. Of course we are planning on redoing the older business areas but time, personnel and money matters slow things down. It is these workbooks on the older business areas that are greatly affected by the migrations and upgrade. We eventually get things to settle down but past actions do not always have the same resolution with newer and better servers and upgrades.
Thanks,
Jerre -
Report Headings are not displaying after moving request to production
Dear all
A request has been moved to production server for a new report from quality to production server.
First we moved the request from development to quality.
In quality server , the new report is executing successfully, but coming to production,
after moving the request successfully, the headings of the fields are not coming (displaying the database table fields).
I am not understanding why it is happening.
Can anyone suggest me, what to do for executing the report with specified headings for the columns
Thanks & Regards
Maheshwar Rao. GDear SIr
I imported again with new request, it came ..but why itz happened in last time.
Thanks & regards
Maheshwar Rao. G -
SQL performance drops after 20 mins
Hello,
I am using Oracle Version 9.2.0.5
I have an SQL query that starts off fast but the performance drops after running for 20 mins. It continues to drop till a point where it becomes painfully slow.
The query is as attached below:
SELECT /*+ INDEX (abe ASR_I_BID_PRD_TOD_5FAX)
INDEX (aae ASR_I_AE_RC_BR)
INDEX (ab ASR_UK_BASES)
INDEX (aaac ASR_I_AFAC_SP)
+*/aae.f8_code
||','|| aae.sector
||','|| aae.ouc
||','|| aae.rule_type
||','|| aae.base_ref
||','|| aae.prodlist_ref
||','|| aaac.L101
||','|| aaac.L201
||','|| aaac.L301
||','|| aaac.L401
||','|| aaac.L501
||','|| aaac.L601
||','|| aaac.L701
||','|| aaac.L801
||','|| aaac.L802
||','|| aaac.L830
||','|| aaac.L850
||','|| aaac.L870
||','|| aaac.L901
||','|| aaac.L1001
||','|| LTRIM(TO_CHAR((aae.disaggregated_amount*abe.percentage*aaac.chain_perc)/10000,'999999999999999.99'))
FROM asr_owner.asr_account_entries aae
, asr_owner.asr_base_elements_5fax abe
, asr_ff_audit_chains aaac
, asr_owner.asr_bases ab
WHERE aae.run_code = '5fax'
AND ab.run_code = aae.run_code
AND ab.base_type = aaac.base_type
AND ab.base_id = abe.base_id
AND ab.base_ref = aae.base_ref
AND aaac.base_type = 'L'
AND aaac.business <> 'R'
AND aae.trans_type IN ('A','C','D')
AND abe.base_id = aae.base_id
AND 100*(abe.exhaust_level)+abe.exhaust_sub_level = 101
AND aaac.start_prod = abe.product
AND ABS((aae.disaggregated_amount*abe.percentage*aaac.chain_perc)/10000) >= 0.01
It has huge number of records. I have checked all join conditions and they are all fine.
asr_owner.asr_account_entries - 3.6 millions rows
asr_owner.asr_base_elements_5fax - 1.8 million rows
asr_ff_audit_chains - 5.8 million rows
asr_owner.asr_bases - 0.5 million rows
The autotrace and plan are as follows
Statistics
0 recursive calls
0 db block gets
5264 consistent gets
3522 physical reads
0 redo size
525 bytes sent via SQL*Net to client
456 bytes received via SQL*Net from client
1 SQL*Net roundtrips to/from client
5 sorts (memory)
0 sorts (disk)
0 rows processed
PLAN_TABLE_OUTPUT
| Id | Operation | Name | Rows | Bytes | Cost |
| 0 | SELECT STATEMENT | | 83 | 13529 | 12465 |
| 1 | TABLE ACCESS BY INDEX ROWID | ASR_FF_AUDIT_CHAINS | 83 | 6225 | 617 |
| 2 | NESTED LOOPS | | 83 | 13529 | 12465 |
| 3 | NESTED LOOPS | | 1 | 88 | 11848 |
| 4 | NESTED LOOPS | | 2201 | 113K| 3044 |
| 5 | TABLE ACCESS BY INDEX ROWID| ASR_BASES | 774 | 13158 | 722 |
| 6 | INDEX FULL SCAN | ASR_UK_BASES | 104K| | 104 |
| 7 | TABLE ACCESS BY INDEX ROWID| ASR_ACCOUNT_ENTRIES | 3 | 108 | 3 |
| 8 | INDEX RANGE SCAN | ASR_I_AE_RC_BR | 8 | | 1 |
| 9 | TABLE ACCESS BY INDEX ROWID | ASR_BASE_ELEMENTS_5FAX | 1 | 35 | 4 |
| 10 | INDEX RANGE SCAN | ASR_I_BID_PRD_TOD_5FAX | 1 | | 3 |
| 11 | INDEX RANGE SCAN | ASR_I_AFAC_SP | 8241 | | 9 |
Note: cpu costing is off, PLAN_TABLE' is old version
19 rows selected.
I have also tried without the hints and the plan looks like
| Id | Operation | Name | Rows | Bytes | Cost |
| 0 | SELECT STATEMENT | | 83 | 13529 | 679 |
| 1 | TABLE ACCESS BY INDEX ROWID| ASR_FF_AUDIT_CHAINS | 83 | 6225 | 617 |
| 2 | NESTED LOOPS | | 83 | 13529 | 679 |
| 3 | HASH JOIN | | 1 | 88 | 370 |
| 4 | HASH JOIN | | 2201 | 113K| 208 |
| 5 | TABLE ACCESS FULL | ASR_BASES | 774 | 13158 | 16 |
| 6 | TABLE ACCESS FULL | ASR_ACCOUNT_ENTRIES | 12125 | 426K| 191 |
| 7 | TABLE ACCESS FULL | ASR_BASE_ELEMENTS_5FAX | 18325 | 626K| 161 |
| 8 | INDEX RANGE SCAN | ASR_I_AFAC_SP | 8241 | | 9 |
Note: cpu costing is off, PLAN_TABLE' is old version
16 rows selected.
I have tried increasing the hash_area_size parameter to 20MB (it is currently 10MB).
I have tried setting the tuning parameters like optimizer_index_cost_adj but to no success.
Could you please help.Thanks a lot for all the help.
Here is another query that is running quite slow. Any help on this might be helpful
EXPLAIN PLAN SET statement_id = 'auditextract' FOR
SELECT /*+NO_INDEX(aaac)
NO_INDEX(aae)
NO_INDEX(abe)
NO_INDEX(ab)
NO_INDEX(agp)+*/
aae.run_code
, aae.f8_code
, aae.sector
, aae.ouc
, aae.rule_type
, aae.base_ref
, aae.prodlist_ref
, aae.trans_type
, aaac.base_type
,DECODE(NVL(aaac.exhaust_chain,'NULL'),'NULL',',',NULL)||aaac.exhaust_chain||
DECODE(NVL(aaac.exhaust_chain,'NULL'),'NULL',NULL,',')||LTRIM(RTRIM(aaac.final_prod))||
RPAD(',',14-DECODE(aaac.final_level,1001,14,901,13,870,12,850,11,830,10,802,9,801,8,701,7,601,6,501,5,401,4,301,3,201,2,101,1),',') exhaust_chain,
aaac.final_level ,
aaac.business ,
L101,
L101_TOD,
L201,
L201_TOD,
L301,
L301_TOD,
L401,
L401_TOD,
L501,
L501_TOD,
L601,
L601_TOD,
L701,
L701_TOD,
L801,
L801_TOD,
L802,
L802_TOD,
L830,
L830_TOD,
L850,
L850_TOD,
L870,
L870_TOD,
L901,
L901_TOD,
L1001,
L1001_TOD,
(aae.disaggregated_amount*abe.percentage*aaac.chain_perc)/10000 money
FROM asr_owner.asr_account_entries aae
, asr_owner.asr_base_elements_5fax abe
, asr_owner.asr_bases ab
, ASR_FF_AUDIT_CHAINS aaac
WHERE aae.run_code = '5fax'
AND ab.run_code = aae.run_code
AND abe.run_code = ab.run_code
AND ab.base_type = aaac.base_type
AND ab.base_id = abe.base_id
AND aaac.base_type = 'L'
AND aaac.business = 'R'
AND ab.base_ref = aae.base_ref
AND aae.trans_type IN ('A','C','D','G','J')
AND abe.base_id = aae.base_id
AND abe.exhaust_level = 1
AND abe.exhaust_sub_level = 1
AND aaac.start_prod = abe.product
AND NOT EXISTS (SELECT 1
FROM asr_group_prods agp
WHERE agp.product_group IN ('SW500','SR500','G176')
AND (aaac.L101 = agp.product OR
aaac.L201 = agp.product OR
aaac.L301 = agp.product OR
aaac.L401 = agp.product OR
aaac.L501 = agp.product OR
aaac.L601 = agp.product OR
aaac.L701 = agp.product OR
aaac.L801 = agp.product OR
aaac.L802 = agp.product OR
aaac.L830 = agp.product OR
aaac.L850 = agp.product OR
aaac.L870 = agp.product OR
aaac.L901 = agp.product OR
aaac.L1001 = agp.product))
AND abs((aae.disaggregated_amount*abe.percentage*aaac.chain_perc)) >= 100
PLAN_TABLE_OUTPUT
| Id | Operation | Name | Rows | Bytes | Cost |
| 0 | SELECT STATEMENT | | 571 | 112K| 5586 |
|* 1 | FILTER | | | | |
|* 2 | HASH JOIN | | 571 | 112K| 5586 |
|* 3 | HASH JOIN | | 53 | 5406 | 370 |
|* 4 | HASH JOIN | | 2974 | 177K| 178 |
|* 5 | TABLE ACCESS FULL| ASR_BASES | 770 | 15400 | 16 |
|* 6 | TABLE ACCESS FULL| ASR_BASE_ELEMENTS_5FAX | 26178 | 1048K| 161 |
|* 7 | TABLE ACCESS FULL | ASR_ACCOUNT_ENTRIES | 17739 | 710K| 191 |
|* 8 | TABLE ACCESS FULL | ASR_FF_AUDIT_CHAINS | 126K| 12M| 5215 |
|* 9 | TABLE ACCESS FULL | ASR_GROUP_PRODS | 1 | 10 | 2 |
Predicate Information (identified by operation id):
1 - filter( NOT EXISTS (SELECT /*+ */ 0 FROM "ASR_GROUP_PRODS" "AGP" WHERE
("AGP"."PRODUCT_GROUP"='G176' OR "AGP"."PRODUCT_GROUP"='SR500' OR
"AGP"."PRODUCT_GROUP"='SW500') AND ("AGP"."PRODUCT"=:B1 OR "AGP"."PRODUCT"=:B2
OR "AGP"."PRODUCT"=:B3 OR "AGP"."PRODUCT"=:B4 OR "AGP"."PRODUCT"=:B5 OR
"AGP"."PRODUCT"=:B6 OR "AGP"."PRODUCT"=:B7 OR "AGP"."PRODUCT"=:B8 OR
"AGP"."PRODUCT"=:B9 OR "AGP"."PRODUCT"=:B10 OR "AGP"."PRODUCT"=:B11 OR
"AGP"."PRODUCT"=:B12 OR "AGP"."PRODUCT"=:B13 OR "AGP"."PRODUCT"=:B14)))
2 - access("SYS_ALIAS_14"."START_PROD"="ABE"."PRODUCT")
filter(ABS("AAE"."DISAGGREGATED_AMOUNT"*"ABE"."PERCENTAGE"*"SYS_ALIAS_14".
"CHAIN_PERC")>=100)
3 - access("AB"."BASE_REF"="AAE"."BASE_REF" AND
"ABE"."BASE_ID"="AAE"."BASE_ID")
4 - access("AB"."BASE_ID"="ABE"."BASE_ID")
5 - filter("AB"."RUN_CODE"='5fax' AND "AB"."BASE_TYPE"='L')
6 - filter("ABE"."RUN_CODE"='5fax' AND "ABE"."EXHAUST_LEVEL"=1 AND
"ABE"."EXHAUST_SUB_LEVEL"=1)
7 - filter("AAE"."RUN_CODE"='5fax' AND ("AAE"."TRANS_TYPE"='A' OR
"AAE"."TRANS_TYPE"='C' OR "AAE"."TRANS_TYPE"='D' OR "AAE"."TRANS_TYPE"='G' OR
"AAE"."TRANS_TYPE"='J'))
8 - filter("SYS_ALIAS_14"."BASE_TYPE"='L' AND "SYS_ALIAS_14"."BUSINESS"='R')
9 - filter(("AGP"."PRODUCT_GROUP"='G176' OR "AGP"."PRODUCT_GROUP"='SR500' OR
"AGP"."PRODUCT_GROUP"='SW500') AND ("AGP"."PRODUCT"=:B1 OR "AGP"."PRODUCT"=:B2
OR "AGP"."PRODUCT"=:B3 OR "AGP"."PRODUCT"=:B4 OR "AGP"."PRODUCT"=:B5 OR
"AGP"."PRODUCT"=:B6 OR "AGP"."PRODUCT"=:B7 OR "AGP"."PRODUCT"=:B8 OR
"AGP"."PRODUCT"=:B9 OR "AGP"."PRODUCT"=:B10 OR "AGP"."PRODUCT"=:B11 OR
"AGP"."PRODUCT"=:B12 OR "AGP"."PRODUCT"=:B13 OR "AGP"."PRODUCT"=:B14))
Note: cpu costing is off
47 rows selected. -
Change the hostname after Database move to new server in Windows
We are moving database from one server to new server on Windows running 9.2.0.6. Temporarily the new server is named as XYZ after the database is moved. We want to change the servername to ABC , what changes is required ??
I think only tnsnames and listener.ora is required to be changed. Is anything else need to be changed for Intellligent Agent to work properly ??? Nothing in Registry I believe ???
Thanks
Atulnothing to change in registry.Just stop the database and services and restart after renaming and rebooting.
change the client tnsnames too if host name is specified.
Maybe you are looking for
-
My cd/dvd drive not working properly will not read a recently burnt cd
When i burn a cd it says that i have inserted a blank cd
-
Fremde Stichworte in Adobe Bridge
Hallo! Ich habe folgendes Problem: Durch einen Crash habe ich die meine Stichwortdatei von Adobe Bridge CS3 leider unwiderruflich verloren. Dies bedeutet, daß Bridge mir meine Stichworte nur anzeigt, wenn ich eine bestimmte Bilddatei aufrufe. Ich muß
-
Skype Credit Balance Question: Can Not Contact Cus...
I bought 200 kr skype credit today. Spendt about 20. And my balance shows 68. I have tried to find out why, but there is virtually impossible to get customer service. I suggest you make a chat or mail service at least! This post was transferred from
-
Registering Planning into Shared Services
Hi Experts, I have installed EPMA 11.1.2.2 along with HSS and Planning. When I am trying to create a new Planning application, it says no data sources exists? From where can i create a data source ? Also I dont see Planning appearing in the HSS ? I t
-
Cannot submit online form for distribution agreement
Hi, Just trying to submit the online form for a distribution agreement for Adobe Reader installation on our network and the submit button is greyed out. I have completed all of the mandatory fields, I have javascript enabled on my browser *(ie.9). An