Regarding Performance Increment
At my clients place, there are three grades A , B and C Based on Grades A , B and C Company would like to give Increment...
Could you please let me know How to do that in Performance Appraisal Module?
Edited by: My SAP Cronies on Dec 18, 2011 6:49 AM
Good point. If any error occurs during insertion -
the sequence will be broken. Bucause, even if your
transaction failed sequence will generate the new
sequence number. But, as a result of that error -
insertion won't be taken into place. Thus, break your
continous chain.It is probably good point (depending on requirements) irregardless of that.
Sequences ARE NOT for CONTINUOUS number generation.
Sequences ARE for UNIQUE number generation.
Continous chain will break also at least rollback (always) and DB restart as well (unless you haven't specified sequence as nocache which generally is silly idea).
Gints Plivna
http://www.gplivna.eu
Similar Messages
-
Regarding performance optimization and tuning...
hi all,
<b>please provide me the performance tuning scenarios and parameters of an R/3 system with Oracle..</b>
i heartly welcome all docs and pdf links or notes related to this issue..
please provide ur suggestions at the earliest...
expecting ur response..
<i>Vineeth</i>Hello,
there are many SAP Notes regarding performance issues. Here are just a couple of them:
618868
805934
793113
805934
Please also have a look at the lists of the relating Notes at the end of each Note.
But still much more effective would be to read the book of
<a href="http://www.sap-press.de/katalog/buecher/titel/gp/titelID-1155?GalileoSession=66220888A2.lRCIISlE">T.Schneider Performance Optimization Guide</a>.
It's the best performance tuning guide. The course ADM315 (or BC315?) ist also very helpful.
Regards,
Natalia -
Urgent query regarding performance
hi
i have one query regarding performance.iam using interactive reporting and workspace.
i have all the linsence server,shared services,and Bi services and ui services and oracle9i which has metadata installed in one system(one server).data base which stores relationaldata(DB2) on another system.(i.e 2 systems in total).
in order to increase performance i made some adjustments
i installed hyperion BI server services, UI services,license server and shared services server such that all web applications (that used web sphere 5.1) such as shared services and UI services in server1(or computer1).and remaining linsence and bi server services in computer2 and i installed database(db2) on another computer3.(i.e 3 systems in total)
my query : oracle 9i which has metadata where to install that in ( computer 1 or in computer 2 )
i want to get best performance.where to install that oracle 9i which has metadata stored in it.
for any queries please reply mail
[email protected]
9930120470You should know that executing a query is always slower the first time. Then Oracle can optimise your query and store it temporary for further executions. But passing from 3 minutes to 3 seconds, maybe your original query is really, really slow. Most of the times I only win few milliseconds. If Oracle is able to optimize it to 3 seconds. You must clearly rewrite your query.
Things you should know to enhance your execution time : try to reduce the number of nested loops, nested loops give your an exponential execution time which is really slow :
for rec1 in (select a from b) loop
for rec2 in (select c from d) loop
end loop;
end loop;Anything like that is bad.
Try to avoid Cartesian products by writing the best where clause possible.
select a.a,
b.b
from a,
b
where b.b > 1This is bad and slow. -
Perform incremental backup to drive which has moved?
I used Time Machine in 10.5 for the first time a few days ago, before installing Snow Leopard. I used a drive connected to the USB port. After installing Snow Leopard, Time Machine performed incremental backups to the same drive.
Today I disconnected the drive from the USB port and connected it my Airport Extreme, which is its usual home. But Time Machine wants to do a full backup now, instead of an incremental one. (I stopped the backup when I realised this.)
How can I make Time Machine continue making incremental backups?Ryan Marcus wrote:
I used Time Machine in 10.5 for the first time a few days ago, before installing Snow Leopard. I used a drive connected to the USB port. After installing Snow Leopard, Time Machine performed incremental backups to the same drive.
Today I disconnected the drive from the USB port and connected it my Airport Extreme, which is its usual home. But Time Machine wants to do a full backup now, instead of an incremental one. (I stopped the backup when I realised this.)
How can I make Time Machine continue making incremental backups?
you can't. the problem here is not snow leopard but the fact that remote backups are stored differently. they are stored inside sparse bundles while directly attached ones are stored directly in a folder on the drive. your only option is to let TM do a full backup. if you don't want double backups you can erase the drive first. but DO NOT try deleting old backups from finder. -
Hi Friends,
i have a FI report, Main Cash Vocher Printing, the report is very slow so to check its performance i have done the SQL Trace in ST05.
in SQL trace i have found all the DB tables used and time taken to execute the select statement.... in that list i also found and Cluster Table RFBLG , but i did not used these cluster table in the program.
and i also found more than 500 entries of Obj.NameRFBLG in that ...
Though its duration is small , ,, can we control that so that my report performance van be increased
its Urgent...
Useful reply will be awarded maximum
Regards
Kumat MHi Kumat,
RFBLG is the Cluster table of the logical table BSEG. That means the table BSEG stores its rows in the database table RFBLG. If the access to RFBLG is fast enough, you could ignore those entries and concentrate on red lines in the trace.
Regards
Ralph Ganszky -
Regarding Performance pbl in SQL query.
hey guys,
Could somebody help me over this posting.
I have created TAX report. which retrieved records from BSIS and BSAS table to calculate consumption tax.
From SE30 and SQL trace i found that loop at BSIS and BSAS takes round trip
for each Input Period value.
could you please give me best coding alternate to my below coding part.
*Main code--
loop at itab_t001.(itab_t001-bukrs is company code list,for each company code)
WK_MONAT = '01'.
DO.
IF WK_MONAT = P_MONAT. "p_monat is parameter input for period
FLG_CUR_PERIOD = CNS_TRUE.
ENDIF.
PERFORM FRM_READ_DATA. " RETRIEVE DATA FROM BSIS AND BSAS
WK_MONAT = WK_MONAT + 1.
IF WK_MONAT > P_MONAT.
EXIT.
ENDIF.
ENDDO.
END of Main code----
Read FI documents from table BSIS/BSAS
FORM FRM_READ_DATA.
Select data from table BSIS
SELECT BELNR BUZEI BLART MWSKZ HKONT SHKZG DMBTR
INTO CORRESPONDING FIELDS OF TABLE ITAB_BSIS
FROM BSIS WHERE BUKRS = itab_t001-BUKRS AND GJAHR = P_GJAHR AND MONAT = WK_MONAT AND
( MWSKZ <> ' ' AND MWSKZ <> '**' ).
Select data from table BSAS
SELECT BELNR BUZEI BLART MWSKZ HKONT SHKZG DMBTR
APPENDING CORRESPONDING FIELDS OF TABLE ITAB_BSIS
FROM BSAS WHERE BUKRS = itab_t001-BUKRS AND GJAHR = P_GJAHR AND MONAT = WK_MONAT AND
( MWSKZ <> ' ' AND MWSKZ <> '**' ).
Select data from table BSIS that includes non-consumption tax accounts
SELECT BELNR
INTO TABLE ITAB_NO_TAX_DOC
FROM BSIS WHERE BUKRS = itab_t001-BUKRS AND GJAHR = P_GJAHR AND
MONAT = WK_MONAT AND HKONT IN S_NT_ACC.
Select data from table BSAS that includes non-consumption tax accounts
SELECT BELNR APPENDING TABLE ITAB_NO_TAX_DOC
FROM BSAS WHERE BUKRS = itab_t001-BUKRS AND GJAHR = P_GJAHR AND
MONAT = WK_MONAT AND HKONT IN S_NT_ACC.
...Proceeded with ABOVE fetched internal tables.
ENDFORM.
Note:
I found that BSIS and BSAS table have 10000s of records it takes 3hrs time to run this report(if i give 12months period). (for each month(ie 01month report takes 15minutes to execute.)
so i think instead calling BSiS twice, calling BSIS ones is wise.
could you pls help me how can i modify the code and should i have
to created any index here(if so mention how and which field)
pls feel free to ask if any addition code is required.
could you pls confirm.
ambichan.
Message was edited by: ambi chanHi Ambichan,
Few things that can be done to the below code.
1. Dont put select queries inside the "loop at itab_t001....endloop" statement.
Instead use <b>FOR ALL ENTRIES</b> IN itab_t001 for the queries. Then you can use READ stmt to get the values.
NOTE: Make sure that you select all <b>key fields</b> from the databse when using FOR all Entries.
<i>This will avoid hitting of the DB table multiple time.</i>
2. Avoid "INTO CORRESPONDING FIELDS OF TABLE" in select queries. Modify the internal table to suit the strucutre of the databse table.
<i>This will make the query faster</i>
3. Make sure that the fields in the select query are in the same order as that in DB table.
<i>This will also make the query faster</i>
Try these changes and performance should increase.
Regards,
Saji. -
Hi All,
Q1) How Do we Do the Performance in XI ????
Q2) What we have to do to Improve the Performance in XI ????
Please let me Know
Regards
Vamsi1. Do u mean Monitor Performance?
U can do this through Runtime Workbench -> performance Monitoring
2. See these
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/489f5844-0c01-0010-79be-acc3b52250fd
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/defd5544-0c01-0010-ba88-fd38caee02f7?prtmode=navigate
/people/prasad.illapani/blog/2007/04/27/performance-tuning-checks-in-sap-exchange-infrastructurexi-part-iii
Regards,
Prateek -
Regarding Performance of the Index
Hi all,
Generally Index should increase the performance of the search, but i got the reverse of that when i was accessing the data from a table with and without index.
I have seen that the query performed more faster without index. What is the situation of the data base to perform like this. Can anybody explain.
SQL> set autotrace on explain
SQL> select * from emp where empno = 7934;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7934 MILLER CLERK 7782 23-JAN-82 1300 10
Elapsed: 00:00:00.18
Execution Plan
Plan hash value: 2949544139
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 37 | 1 (0)| 00:00:01 |
| 1 | TABLE ACCESS BY INDEX ROWID| EMP | 1 | 37 | 1 (0)| 00:00:01 |
|* 2 | INDEX UNIQUE SCAN | PK_EMP | 1 | | 0 (0)| 00:00:01 |
Predicate Information (identified by operation id):
2 - access("EMPNO"=7934)
SQL> alter table emp disable primary key;
Table altered.
Elapsed: 00:00:01.53
SQL> select * from emp where empno = 7934;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7934 MILLER CLERK 7782 23-JAN-82 1300 10
Elapsed: 00:00:00.15
Execution Plan
Plan hash value: 3956160932
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 37 | 3 (0)| 00:00:01 |
|* 1 | TABLE ACCESS FULL| EMP | 1 | 37 | 3 (0)| 00:00:01 |
Predicate Information (identified by operation id):
1 - filter("EMPNO"=7934)Regards,
Sri Ram.
Edited by: Sri Ram on Jun 19, 2011 9:52 PM
Edited by: BluShadow on 20-Jun-2011 10:33
added {noformat}{noformat} tags. 86 posts and you still don't know how to post code/data? Please read {message:id=9360002}SQL> alter table emp disable primary key;
Table altered.
Elapsed: 00:00:00.15
SQL> select * from emp where empno =7566;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7566 JONES MANAGER 7839 02-APR-81 2975 40
Elapsed: 00:00:00.17
Execution Plan
Plan hash value: 3956160932
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 37 | 3 (0)| 00:00:01 |
|* 1 | TABLE ACCESS FULL| EMP | 1 | 37 | 3 (0)| 00:00:01 |
Predicate Information (identified by operation id):
1 - filter("EMPNO"=7566)
SQL> alter table emp enable primary key;
Table altered.
Elapsed: 00:00:00.14
SQL> select * from emp where empno =7566;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7566 JONES MANAGER 7839 02-APR-81 2975 40
Elapsed: 00:00:00.17
Execution Plan
Plan hash value: 2949544139
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 37 | 1 (0)| 00:00:01 |
| 1 | TABLE ACCESS BY INDEX ROWID| EMP | 1 | 37 | 1 (0)| 00:00:01 |
|* 2 | INDEX UNIQUE SCAN | PK_EMP | 1 | | 0 (0)| 00:00:01 |
Predicate Information (identified by operation id):
2 - access("EMPNO"=7566)Edited by: BluShadow on 20-Jun-2011 10:34
added more {noformat}{noformat} tags. See, it's really not that difficult, but I'm not going to do it all the time for you. -
Hi All,
I am doing the performance analysis using SE30.
I got the results as follows ::
ABAP - 80%
Database and System - 15%
I understand database should be as low as possible.
I wish to know about the ABAP.
Its 80% so is it good or not good.
What steps can we take to get it down if required.
regardsHi Sachin,
ABAP 80% denotes the program is too good.
Generally ABAP should have more percentage than SYSTEM and DATABASE.
ABAP 80% denotes you are utilizing application server as 80%.
If helps plz reward points.
Regards
Bhupal Reddy -
Can anybody share pure BI Performance document of DB02, St02,RSRST analysis does purpose.
Can anyone share it., Thanks in advance.HI,
check below links
http://www.sap-press.de/download/dateien/1049/sappress_bw_performance_optimization_guide_080.pdf
http://wiki.sdn.sap.com/wiki/display/BI/Aggregates--SAPBWQueryPerformance
http://sap.seo-gym.com/performance%20tuning%20for%20queries.pdf
Click on search button in SDN and Google you can find lots of docs
Regards
KP -
Regarding performance impact if I do DB accessing coding in comp Controller
Hi ,
This is my project requirement, I have to use some com compoment which in turn fetches data from the database. I am using a java com bridge tool to do this. This tool is generating the java proxy classes for the VB com component.
I am using java proxy classes( This class files are using JNI to connect to VB COM compnent and fetch the data from DB) in my webdynpro component controller.
The architecture is aas below
WEBDYNPRO >> JAVA Classes object( generated by the JAVA- COM bridge tool ) >> JAVA-COM bridge tool >> VB COM+ Component >> SQL server.
The issue
Performance :- first time it is OK but for Consecutive calls the application is going down very visibly and after 4 iteration it hangs . When I look at the log I am getting this
Message : Exception occured during processing of Web Dynpro application com/oreqsrch/com.oreqsrchapp.OReqSrchApp.
The causing exception is nested.
[EXCEPTION]
com.sap.tc.webdynpro.services.session.LockException: Thread SAPEngine_Application_Thread[impl:3]_36 failed to acquire exclusive lock on client session ClientSession(id=(J2EE9536400)ID1120562150DB11245826542790956137End_1159630423). Existing locks: LockingManager(ThreadName:SAPEngine_Application_Thread[impl:3]_36, exclusive client session lock:
ClientSessionLock(SAPEngine_Application_Thread[impl:3]_9), shared client session locks: ClientSessionSharedLockManager([]), app session locks: ApplicationSessionLockManager([]), current request: com/oreqsrch/com.oreqsrchapp.OReqSrchApp).
Hint: Take a thread dump of the server node to find the blocking thread that causes the problem.
Is this issue because I have return the code data access code in the component controller rather wrting in some beans ?
My questions regarding
What would the performance impact if write the DB access code in the webdynpro component controller rather than writing in a bean or an EJB?( I know ideally DB access code has to write in Bean or EJB ).
Please address this with respedct to performance point of view .
thanks
pkiranHi Both,
Thanks for the reply.
Yes they are closed and set it to null;
Connection max and mini properties are controlled at COM+ components in VB.
Since I am using COM - JAVA bridge, I am just invoking the methods defined ijn the VB code thru the bridge tool. all the objects which are retrieving the data are closed and nullify it.
My question is
if I write DB access code in component control instead in EJB or Java bean, will there be any performance issue ?
regards
pkiran -
Regarding performance issue in time dependent hierarchie.
hai
we are loading time dependent hierarchies from flatfile to bw,it is weekely load,we have nearly one million records loaded,we got an issues regarding change of these hierarchies timely.when ever there occurs a change in hierarchy a new row is added to the table,it is degrading the performance,can any one of you please suggest how to over come performance related issues regarding time dependent hierarchies.
Regards
Srinivas.Ghello deven,
if you are only focusing on your application's performance
on the aspect of usability i.e. less waiting time, fast
response UI, i would personally suggest you to use AJAX.
put some processing part on the browser side and making
data retrieval from MI asynchronous... this way, your user
don't have to wait for all data to be presented, but rather
could work on the data presented in pieces (i.e. asynchronously).
anyway try googling for AJAX...
regards
jo -
Regarding Performance It is Urgent.
hi
I have one statement move-corresponding gt_bkpf to post_tab.
In gt_bkpf Internal Table 10 fields are there. Post_tab is another Internal Table.
In performance issue you need to use ASSIGN instead of move-corresponding.
How can i do it. Plz Reply.
Regards
Rami ReddyHi!
Field to field assignment means the following:
MOVE: gt_bkpf-bukrs TO post_tab-bukrs,
gt_bkpf-belnr TO post_tab-belnr,
gt_bkpf-gjahr TO post_tab-gjahr.
It's a very little bit faster that move-corresponding, but if you need a new field, you have to code that also, against move-corresponding, which handles it automatically (if their names are identical).
Regards
Tamá -
Regarding performance of a report
Hi friends,
In the loop statement I am using modify statement for updating the data in the internal table .
I have to improve the performance of a report.
is there any alternative for Improving teh performance.,
Regards,
JayanHI
If u r modifying Ztable no probelm because we will be having small amount of data .
IF u r updating standard table Do like below .
First collect all the records which you want to update to table into one internal table .
Then update the table with that internal table ..
IT will be better when you are updating standard table .
I think this will help you ..
If u r not understood copy paste ur code i can solve ur probelm ... -
Dear All,
I have
8 GB Ram
800 Hard Disk
itanium2 1.40Ghz
RAID 5 i.e 146*5
but our sap performance is poor.
is it correct configuration?
please help the how i improve the performance of system.
thanks in advance.
regards,
AbhijeetHi,
Did you scheduled archiving jobs and also fine tuning steps in your PI server
Check this How to guide if not checked already.
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2016a0b1-1780-2b10-97bd-be3ac62214c7
HTH
Rajesh
Maybe you are looking for
-
PLEASE HELP - Service provider fault - how to get...
We are at breaking point!!!! My lovely 81 year old Dad has tried to switch to BT infinity. He had a regular BT service before, but as of the 30th April he was meant to have BT infinity. HOWEVER, this is not the case. I spent last weekend there to try
-
New MacBook Aluminum - daughter installed OS Install Disk then cancelled it
My daughter got her new MacBook yesterday - had it up and running, on wireless connection, etc, was in applications, etc - got home and for some reason decided to put the Install OS X Disk thinking that there was more to install - then realized she h
-
Retrieve Image from SQL Server and Store in Oracle
Hi All I want to retrieve the image stored in sql server as a image type and store that image to oracle as a BLOB type. I tried to retrive the image from sqlserver using getBytes and when storing to Oracle i have to type cast the byte array to BLOB t
-
Problems restoring partition after bootcamp failure
Hi! I'm using a new MacBook Pro (Retina, 15") with OS X 10.10.2 where I tried to install Windows 8.1 with the help of the Bootcamp-assistant. Everything went well to set up the partitions and I decided to set aside 50 GB for my Windows partition. But
-
Compressor dont work on macbook pro intel "outside"
Compressor dosn't allow new job, other windows appearse, settings, preview etc. but dosn't open any files, dosn't submit any process or job, i try reinstall FCS2 any times but the result is the same, FCS2 on mi G5 PPC works fantastic, may be the inte