I'm facing performance issue while accessing the PLAF Table
Dar all,
I'm facing performance issue while accessing the PLAF Table.
The START-OF-SELECTION of the report starts with the following select query.
SELECT plnum pwwrk matnr gsmng psttr FROM plaf
INTO CORRESPONDING FIELDS OF TABLE it_tab
WHERE matnr IN s_matnr
AND pwwrk = p_pwwrk
AND psttr IN s_psttr
AND auffx = 'X'
AND paart = 'LA' .
While executing the report in the Quality system it does not face any performance issue...
When it comes to Production System the above said select query itself it is taking 15 - 20 minutes time to move further.
Kindly help me to over come this problem...
Regards,
Jessi
Hi,
"Just implement its primary Key
WHERE PLNUM BETWEEN '0000000001' AND '9999999999' " By this you are implementing the Primary Key
This statement has nothing to do with performance, because system is not able to use primary key or uses every row.
Jessica, your query uses secondary index created by SAP:
1 (Material, plant) which uses fields MANDT MATNR and PLWRK.
but it is not suitable in your case.
You can consider adding new one, which would containt all fields: MANDT, MATNR, PWWRK, PSTTR AUFFX PAART
or - but it depends on number of rows meeting and not meeting (auffx = 'X' AND paart = 'LA' ) condition.
It could speed the performance, if you would create secondary index based on fields MANDT, MATNR, PWWRK, PSTTR
and do like Ramchander suggested: remove AUFFX and PAART from index and where section, and remove these unwanted rows
after the query using DELETE statement.
Regards,
Przemysław
Please check how many rows in production system
Similar Messages
-
Performance issues while accessing the Confirm/Goods Services' transaction
Hello
We are using SRM 4.0 , through Enterprise Portal 7.0.
Many of our users are crippled by Performance issues when accessing the Confirm/Goods Services tab( Transaction bbpcf02).
The system simply clocks and would never show the screen.
This problem occurs for some users all the time, and some users for some time.
It's not related to the User's machine as others are able to access it fast using the same machine.
It is also not dependent on the data size (i.e.no . of confirmations created by the user).
We would like to know why only some users are suffering more pronouncedly, and why is this transaction generally slower than all others.
Any directions for finding the Probable cause will be highly rewarded.
Thanks
KedarHi Kedar,
Please go through the following OSS Notes:
Note 610805 - Performance problems in goods receipt
Note 885409 - BBPCF02: The search for confirmation and roles is slow
Note 1258830 - BBPCF02: Display/Process confirmation response time is slow
Thanks,
Pradeep -
Performance issue while accessing SWwLOGHIST & SWWHEAD tables
Hi,
We have applied workflow function in Purchase Order (PO) for release strategry purpose. We have two release levels.
The performance issue came while user who tried to update the existing PO in which the PO had already released. because after user amend the PO and then they pressed "SAVE" button in PO's screen, the release strategry will reset and it tried to read the SWwLOGHIST table, it took few seconds to minutes to complete the save process.
My workflow's schedule job details as below:
SWWERRE - every 20 minutes
SWWCOND - every 30 minutes
SWWDHEX - every 3minutes
Table Entries:
SWWHEAD - 6mil entries
SWwLOGHIST - 25mil entries
Should we do data archiving on the above workflow tables?
Is it only the solution?
Kindly advice,
Thanks,
Regards,
ThomasHi,
The sizes for both tables as below:-
SWWLOGHIST - 3GB
SWWWIHEAD - 2GB
I've a REORGchk_alltables in weekly basis, in DB2/DB6 (DB) do I need to manually reorg of the tables or rebuild the indexes?
You can refer the attached screenshots for both tables.
Thanks,
Regards,
Thomas -
Performance issue while opening the report
HI,
I am working BO XI R3.1.there is performance issue while opening the report in BO Solris Server but on window server it is compratively fast.
we have few reports which contains 5 fixed prompt 7 optional prompt.
out of 5 fixed prompt 3 prompt is static (it contains 3 -4 record only )which is coming from materlied view.
we have already use many thing for improve performance in report like-
1) Index Awareness
2) Aggregate Awareness
3) Array fatch size-250
3) Aray bind time -32767
4) Login time out -600
the issue is that before refresh opening the report iteslf taking time 1.30 min on BO solris server but same report taking time in BO window server 45 sec. even we import on others BO solris server it is taking same time as per old solris server(1.30 min).
when we close the trace in solris server than it is taking 1.15 sec time.it should not be intial phase it is not hitting more on database.so why it is taking that much time while opening the report.
could you please guide us where exectly problem is there and how we can improve performance for opening the report.In case the problem related to solris server so what would be and how can we rectify.
Incase any further input require for the same feel free to ask me.Hi Kumar,
If this is happening with all the reports then this issue seems to be due to firewall or security settings of Solaris OS.
Please try to lower down the security level in solaris and test for the issue.
Regards,
Chaitanya Deshpande -
Performance issue while wrapping the sql in pl/sql block
Hi All,
I am facing performance issue in a query while wrapping the sql in pl/sql block.
I have a complex view. while quering the view using
Select * from v_csp_tabs(Name of View I am using), it is taking 10 second to fetch 50,000 records.
But when I am using some conditions on the view, Like
Select * from v_csp_tabs where clientid = 500006 and programid = 1 and vendorid = 1, it is taking more then 250 secs. to return the result set.
now the weird part is this is happening only for one programID, that is 1
I am using Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
Any one please suggest what are the things i need to check..
I am sorry, I could not provide you the explain plan, because this is in production and I do not have enough prevelage.
Thank you in advance.
Thnx,
BitsBits wrote:
I have a complex view. while quering the view using
Select * from v_csp_tabs(Name of View I am using), it is taking 10 second to fetch 50,000 records.
But when I am using some conditions on the view, Like
Select * from v_csp_tabs where clientid = 500006 and programid = 1 and vendorid = 1, it is taking more then 250 secs. to return the result set.That's one problem with views - you never know how they will be used in the future, nor what performance implications variant uses can have.
>
now the weird part is this is happening only for one programID, that is 1
Any one please suggest what are the things i need to check..
I am sorry, I could not provide you the explain plan, because this is in production and I do not have enough prevelage.I understand what you are saying - I have worked at similar sites. HiddenName is correct in suggesting that you need to get execution plans but sometimes getting privileges from the DBA group is simply Not Going To Happen. Its wrong but that's the way it is. Follow through on HiddenName's suggested to get help from somebody who has the privleges needed
Post the query that view view is executing. Desk checking a query is NOT ideal but is one thing we can do.
I don't suppose you can see V$ views on production - V$SQL and V$SQL_PLAN (probably not if you can't generate plans, but its worth a thought) -
MDS issue while accessing the application
Hi,
We are using Webcenter Portal Application PS3 application. Application is deployed successfully but while trying to access the application we are getting the following errors:
<oracle.webcenter.lifecycle.listener.LifecycleServletContextListener> <BEA-000000> <
oracle.webcenter.lifecycle.LifecycleException: MDSException while creating an export set import lock
at oracle.webcenter.lifecycle.operation.LockUnit.doImportExportSet(LockUnit.java:359)
weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Caused By: oracle.mds.exception.ReadOnlyStoreException: MDS-01273: The operation on the resource /oracle/webcenter/lock/exportsetImport/exportsetImport.xml failed because source metadata store mapped to the namespace / BASE DEFAULT is read only.
<oracle.webcenter.portalframework.sitestructure> <BEA-000000> <oracle.adf.rc.exception.DefinitionNotFoundException: cannot find resource catalog using MDS reference /oracle/webcenter/portalapp/navigations/default-navigation-model.xml Root Cause=[MDS-00013: no metadata found for metadata object "/oracle/webcenter/portalapp/navigations/default-navigation-model.xml"] [Root exception is oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/webcenter/portalapp/navigations/default-navigation-model.xml"]>
Note : Our current application is a simple adf application, it doesnt contain taskflow and also we not using any customization.
Weblogic Server Version : 10.3.4.0
Webcenter Version : 11.1.1.4.0
Please advice.Hi,
did you check on the WebCenter forum ?
WebCenter Portal
Frank -
Performance Issue while Joining two Big Tables
Hello Experts,
We've the following Scenario, wherein we need to have Sales rep associated for a Sales Order. This information is available in VBPA table with Sales Order, Sales Order Item and Partner Function being the key.
NOw I'm interested in only one Partner Function for e.g. 'ZP'. This table is having around 120 million records.
I tried both options:
Option 1 - Join this table(VBPA) with Sales Order Item table(VBAP) within the Data Foundation Layer of the Analytic View and doing the filtering on Partner Function
Option 2 - Create a Attribute View for VBPA having filtering on Partner Function and then join this Attribute View in the Logical Join Layer with the Data Foundation table.
Both these options are killing the performance.
Is there any way out to achieve this ?
Your expert opinion is greatly appreciated!!
Thanks & regards,
JomyHi,
Lars is correct. You may have to spend a little bit more time and give a bigger picture.
I have used this join. It takes about 2 to 3 seconds to execute this join for me. My data volume is less than yours.
You must be have used a left outer join when joining the attribute view (with constant filter ZP as specified in your first post) to the data foundation. Please cross check once again, as sometimes my fat finger inadvertently changed the join type and I had to go back and fix it. If this is a left outer join or a referential join, HANA does not perform the join if you are not requesting any field from the attribute view on table VBPA. This used to be a problem due to a bug in SP4 but got fixed in SP5.
However, if you have performed this join in the data foundation, it does enforce, the join even if you did not ask any fields from the VBPA table. The reason being that you have put a constant filter ZR (LIPS->VBPA join in data foundation as specified in one of your later replies).
If any measure you are selecting in the analytic view is a restricted measure or a calculated measure that needs some field from VBPA, then the join will be enforced as you would agree. This is where I had most trouble. My join itself is not bad but my business requirement to get the current value of a partner attribute on a higher level calculation view sent too much data from analytic view to calculation view.
Please send the full diagram of your model and vizplan. Also, if you are using a front end (like analysis office), please trap the SQL sent from this front end tool and include it in the message. Even a straight SQL you have used in which you have detected this performance issue will be helpful.
Ramana -
Performance Issue while access reports through Infoview.
Users run reports( Webi ,Crystal ) through Infoview u2013 Accessed by Categories , while navigating between categories( we have different categories : Sales, Purchasing..Etc ) in the Infoview is fine ,it takes time to show all the reports within the categories ,which takes around 3 u2013 5 mins , but run time of the each reports are quick and as expected.
In CMS , while navigating between categories and time taken to show all the reports within the categories are fine . couldnu2019t not understand why this is happening in infoview only.
Would like to know if any one have similar issues. Is there any settings needs to made on the tomcat server or CMS or Infoview. Searched for OSS notes and found a note : 1206095 but it is for Enterprise XI release2.
Product Details :
BOE XI3.1 SP3 .
Any info will be helpfull.Hello,
- Is Tomcat installed on the same server as BOE? If not, did you use wdeploy to deploy the WAR files? https://bosap-support.wdf.sap.corp/sap/support/notes/1325139
- Do you have more than one Tomcat server, and is it fronted by a load balancer. If it is, try bypassing the load balancer and access InfoView directly without going thru the load balancer.
There is a CMS command-line options that might help you improving performances in your environment.
That switch is named -maxobjectsincache which allows you to increase the maximum number of objects that the CMS stores in its memory cache. Increaseing the number of objects reduces the number of databases calls required and can improve CMS performance.
The default value for this option is 10000 and the maximum value is 100000. Please keep in mind it is not recommended to exceed 100,000 as too many objects in memory will result in the CMS degradation. I would suggest testing with 60,000.
Regards,
Wallie -
Performance issue while saving the sales order
Hi Guys,
I am facing some problem in creation of sales order with 100 line items while i tried to save, it is taking too much of time to save the order. I had taken the trace and found that method Call M." /SAPSLL/CL_CUHD=>GET_OBJECT_PK" is taken 43.9 % of Net value. can any body tell me that what is the purpose of this method..??
CAll : Call M. /SAPSLL/CL_CUHD=>GET_OBJECT_PK
Number : 6,321
Gross: 37,042,153
Net:37,042,153
gross(%) : 43.9%
NET(%):43.9%
Program called: /SAPSLL/CL_CUHD===============CP
<< Moderator message - Please do not promise rewards>>
Thanks in advance..
Mak.
Edited by: Rob Burbank on Jun 2, 2011 9:44 AMplease run the SE30 again, first switch on everything in measurement restrictions including internal tables.
Then measure 3 (!!) times. Do you always get the same time for the gross time? Or is there some variance?
The net time should be reduced because I would assume internal tables to need some or most of the time. If so then I would guess that you have a suboptimal internal table processing, quadartic coding. -
Issue while accessing the SharePoint site - SharePoint 2010 - after Password update
SharePoint site is working until we update the password(as it is expiring, we have created a new password) .
We have updated the password in central admin.
After password update, getting the below
error.
Exception
Details: System.InvalidOperationException: Operation is not valid due to the
current state of the object.
[InvalidOperationException: Operation is not
valid due to the current state of the object.]
Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext
context) +26890024
Microsoft.SharePoint.Utilities.SPUtility.DetermineLayoutsUrl(SPWeb overrideWeb,
HttpContext context, Boolean includeLCID, Boolean doNotInitWeb) +252
Microsoft.SharePoint.Utilities.SPUtility.DetermineRedirectUrl(String
urlProposed, SPRedirectFlags flags, HttpContext context, SPWeb overrideWeb,
String queryString, String& urlRedirect) +616
Microsoft.SharePoint.Utilities.SPUtility.Redirect(String url, SPRedirectFlags
flags, HttpContext context, String queryString) +98
Microsoft.SharePoint.Utilities.SPUtility.HandleAccessDenied(HttpContext context)
+1077
Microsoft.SharePoint.IdentityModel.SPFederationAuthenticationModule.OnEndRequest(Object
sender, EventArgs args) +693
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
+80
System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously)
+171
We have gone through different articles and did below steps but there is no resolution for us
1) Verified all the SharePoint services in central admin and configured the updated service account to all the services.
2) Removed the SharePoint content DB and attached it again.
Could you please provide any pointers?
Marulasiddappa SB (Swamy)Hi,
Please refer to Justin’s blog and see if it helps:
http://www.justinkobel.com/post/2012/04/30/SharePoint-2010-Claims%E2%80%93Operation-is-not-valid-due-to-the-current-state-of-the-object.aspx
As suggested by Alex, please provide more information about your process of changing password.
Here is an article for updating passwords on SharePoint 2010:
http://blogs.technet.com/b/seanearp/archive/2011/01/25/updating-passwords-on-sharepoint-2010.aspx
Regards,
Rebecca Tu
TechNet Community Support -
Performance issue while updating the custom infotype records
Hi All
i have the info type with 80,000 records my requirement is to change the infotype wage type value to the certain hard coded values .
after populating the final internal table , in loop i am passing the records and updating the info type by using the hr_infotype_operation function module
i have done the coding like bellow .
loop at lt_infotype assigning < x>
at new pernr.
bapi_employee_enquee
endat.
hr_infotype_operation
at end of pernr .
bapi_employee_dequee.
endat.
end loop.
but it is taking nearly 15 hours to update all the records .please suggest me better solution for reducing the execution time .
Thanks & Regards ,
pramodh.mThe delay problem can be solved with HR_INFOTYPE_OPERATION by using it with another FM i.e. HR_PSBUFFER_INITIALIZE the delay happens because of buffer problem. Use HR_PSBUFFER_INITIALIZE inside the loop just before you call HR_INFOTYPE_OPERATION and you wont see that much delay.
-
While accessing the WAS, Application cannot be started! is getting.
Hi All,
I am facing this issue while accessing the WAS. I started the WAS and it is running. When i am accessing http://<hostname>:50000/, I am getting 503 error Service Unavailable Error.
Here are the details.
Details: com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException: Error in starting application sap.com/com.sap.engine.docs.examples.
at com.sap.engine.services.servlets_jsp.server.container.StartAction.prepareStart(StartAction.java:97)
at com.sap.engine.services.servlets_jsp.server.container.WebContainer.prepareStart(WebContainer.java:379)
at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:349)
at com.sap.engine.services.deploy.server.application.StartTransaction.prepareLocal(StartTransaction.java:371)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesLocal(ApplicationTransaction.java:370)
at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:118)
at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesLocalAndWait(ParallelAdapter.java:219)
at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationLocalAndWait(DeployServiceImpl.java:4323)
at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationsInitially(DeployServiceImpl.java:2456)
at com.sap.engine.services.deploy.server.DeployServiceImpl.clusterElementReady(DeployServiceImpl.java:2332)
at com.sap.engine.services.deploy.server.ClusterServicesAdapter.containerStarted(ClusterServicesAdapter.java:41)
at com.sap.engine.core.service630.container.ContainerEventListenerWrapper.processEvent(ContainerEventListenerWrapper.java:141)
at com.sap.engine.core.service630.container.AdminContainerEventListenerWrapper.processEvent(AdminContainerEventListenerWrapper.java:19)
at com.sap.engine.core.service630.container.ContainerEventListenerWrapper.run(ContainerEventListenerWrapper.java:101)
at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:134)
Caused by: java.lang.NoClassDefFoundError: com/sap/engine/services/servlets_jsp/server/runtime/context/ApplicationContext
at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.createDefaultContext(WebContainerHelper.java:483)
at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.createContext(WebContainerHelper.java:524)
at com.sap.engine.services.servlets_jsp.server.container.StartAction.prepareStart(StartAction.java:50)
... 16 more
Can anybody help me.
Thanks in advance.
Regards
Chiranjeevi AWhat kind of DNS settings should I try to change?
I already tried the "DNS Configuration for BSP Applications Under Windows 2000" since I'm working with Windows 2000 http://help.sap.com/saphelp_bw31/helpdata/en/9f/fc9c3b122efc6ee10000000a114084/content.htm
But it didn't work. I keep getting the same error. -
Performance issue while generating Query
Hi BI Gurus.
I am facing performance issue while generating query on 0IC_C03.
It has a variable as (from & to) for generating the report for a particular time duration.
if the variable (from & to) fields is filled then after taking a long time it shows run time error.
& if the query is executed without mentioning the variable(which is optional) then the data is extracted from beginning to till date. the same takes less time in execution.
& after that the period has to be selected manually by option keep filter value. please suggest how can i solve the error
Regards
RitikaHI RITIKA,
WEL COME TO SDN.
YOUHAVE TO CHECK THE FOLLOWING RUN TIME SEGMENTS USING ST03N TCODE:
High Database Runtime
High OLAP Runtime
High Frontend Runtime
if its high Database Runtime :
- check the aggregates or create aggregates on cube and this helps you.
if its High OLAP Runtime :
- check the user exits if any.
- check the hier. are used and fetching in deep level.
If its high frontend runtime:
- check if a very high number of cells and formattings are transferred to the Frontend ( use "All data" to get value "No. of Cells") which cause high network and frontend (processing) runtime.
For From and to date variables, create one more set and use it and try.
Regs,
VACHAN -
Hello All,
Facing this issue while opening the ProjectOverview report in Browers or in Excel 2013.
Snapshot is attached for furthur reference.
Error in Excel when clicking on Refresh All, it shows the information to retieving the data but after few moments it prompt this error.
Second snapshot occurs while opening the report in browser.
Kindly help.
REGARDS DANISH DANIEDear Paul,
1st Query,
Ans: As I'm using Project Server Permission mode and im logged with the user who is the member of admin group and in administrator group 'Access
Project Server Reporting Service' is ticked on. So, the concern regarding permission is resolved.
2nd Query,
Ans: Im unable to find Project Web App Permission for Excel Web App Refresh' feature in site setting
of PWA.
Snapshot is attached when trying to open report in browser.
to resolve this followed below mentioned URL but unsuccessfull result
http://support.microsoft.com/kb/2769345/en-us
Still facing same issue, issue is not resolved kindly help/suggest.
Note: Im using Project Server 2013 not Project Online 2013. -
Issue while fetching the file through *.extension by FTP sender file adapte
Hello Experts,
I am facing a issue while fetching the data through sender File adapter with ' *.file extension' .I am illustarting the scenario as below .
It is a simple scenarion of File to File inboumd scenarion.Here file is getting picked up from a third party system
through FTP sender chanel and stored in a temp folder of PI through NFS rceiver file adapter .
The problem is however I am getting, while picking the file with file name as "*.exo"(where exo is the file extension).
But while fetching the file with particular name like"abcd_10032011*.exo"(file naming has been done by combination of abcd(always same)_currentdate(change according to current date)),file picked successfully .
So here ,in the prior case file not getting picked up,but in later case it dose .
Can anyone please let me know what might be the issue?Hi Sunit,
Connect from your PI System to 3rd Party System (where are placed the Source Files)
FTP <PartySystemHostName>
eg. FTP 10.2.3.456 (then insert Username & Password to Login)
Go to source directory
cd \<SourceDirectory>
eg. cd \donaldduck\directory\
Execute a File List command
ls -la *.<extension>
eg. ls -la *.exo
In this way you should be able to view all files with this extension (*.exo), the same action that Sap XI perform to pickup the file.
Then, try to copy that file to your Local PI System (to check if there're some permissions issue):
mget <filename>.exo
eg. mpget File1_01012011.exo
Maybe you are looking for
-
Urg:Executing SQL From Java App using Jdbc Driver
Hi I am using JDBC Driver version 9.0.1.1.0. I am running this in Thin Client Mode My Code Snippet Looks Like This:= ========================================================== String url = "jdbc:oracle:thin:@localhost:1521:VpDb"; String userName = "s
-
Does a new iPhone 4 with verizon insurance come with iOS 6
Ok so i currently have a iphone 4 with ios 7 and is a little laggy but it also has a cracked screen, So if i have Verizon Insurance and they send me a new iphone 4 will it come with ios 6?, which runs alot better on the iphone 4.
-
Hello. Is there a way to check what folders have been made accessible for others in the network since system installation? I want to make sure that none of my private folders has ever been shared. I can only see the current status, can I look back?
-
Which lgical d/b is used for reporting on Travel Management? PNPCE/PCH/PNP/PAP Regards Anshu
-
Dreamweaver CS5 with Joomla! Tutorials?
I know that the new CS5 has Joomla! Code support - but I have not found any complete documentation on how to fully use it. Has anyone written a book? Is there a tutorial? Anything that goes from A to Z on how to fully use this? Thanks