Need to take monthly report for SQL statements...Is there any possiblity?

Hi,
We have a requirement to find out the list of expensive sql statements in our ECC 6.0 system.
I am aware that we can see expensive sql statements which are being executed online in the TCode ST04 or DB02old.
But I want the list of statements on a monthly wise.
Is there any possibility to find out the list of expensive sql statements for the previous 3 to 4 months?If so, how do we do that?
Any report or Tcode with navigations.
Please help.
Regards,
Sudheer.

Hi,
> We have a requirement to find out the list of expensive sql statements in our ECC 6.0 system.
nice.
> I am aware that we can see expensive sql statements which are being executed online in the TCode ST04 or DB02old.
expensive SQL in DB02, really?
> But I want the list of statements on a monthly wise.
> Is there any possibility to find out the list of expensive sql statements for the previous 3 to 4 months?
> If so, how do we do that?
Up to now there is no transaction available with such information. The databases partially offer solutions.
These are switched on by default of have to be setup before they could be used. So it depends on the
database and the database version which are you using.
On ORACLE 10g for example we have the AWR (Automatic Workload Repository) which should be switched on by default (depends again on the license). On ORACLE 9i statspack is available but has to be activated first.
On DB6 (latest database and SAP release) we have the so called performance warehouse.
On other databases there might be solutions too.
Besides that you can always built your own solution and grab the top 10 SQL statements from the SQL cache and
persist them in regular intervals. I have seen such solutions as well.
Kind regards,
Hermann

Similar Messages

  • Can we take standard report for all sales orders based on the condition typ

    Hi all,
    Based on the condition type, we need to take a report for sales orders on the particular date.
    Thanks and Regards.....VM

    Hello again.
    Searching for a solution, I found a Logical Database for sales orders, that have all the information that you need.
    Using like reference the post of Bhagavatula, in the same transaction SQVI you can use, instead of the suggested join, you can select a logical database called VAV in Data source.
    This logical database links the tables, VBAK, VBAP, VBUK and KONV that is the central point of the question.
    You can list the information of logical database using the transaction SLDB.
    In 'Logical Database' inform VAV.
    Press F8 to list all the fields.
    More information about logical database in:
    Link: [SAP Logical Database|http://help.sap.com/saphelp_46C/helpdata/EN/9f/db9b5e35c111d1829f0000e829fbfe/content.htm]

  • How to take a report for the assigned transaction and activity in a role

    Hi Colleagues,
    I want to take a report for the assigned transaction with activity for all roles, which are assigned to the users,
    Transaction list for a role i can able to take it from SUIM but not able to take the ACTVT for the role.
    Please suggest how to take this information.
    BR,
    Jai

    Hi Jaikumar from the post :
    I think you have reached the state of finding the USER to ROLE relationship
    Take the output to an excel,
    COPY just the roles column exactly in order do not rearrange , use AGR_1251 like other experts have mentioned
    insert the roles copied from you buffer and execute, the output will have multiple entries for each role take the output to an EXCEL again , make it unique and match the outputs between both the EXCELS.
    It will be a little tricky to do this, but I think you are proficient in MS EXCEL.
    This is one of the ways to do , there are many other ways to do it.

  • Date formats for SQL statements used by recordset object

    Hi,
    Date formatting appears to be quite problematic for Business One.  I did a forum search for date issues and I don't think I saw any of them with an "answered" status.  I have an issue with formatting a date for the creation of an SQL statement that the DI sends to SQL Server 2005.  I need to format a date so that the localization parameters don't matter for either the client machine or SQL Server's machine.  We don't have a problem as long as our machines are localized as USA.
    I have PL 22 and I have a form - ours - where I use the Today() function to fill a date field.  So this is a date that is not entered by the user.  The result of this function is consistent with the localization parameters on my machine.  We have two other date fields on the form where the user must type in the date. 
    As a test, I changed my machine to the UK parameters.  I then set up the language parameters of Business One for English(United Kingdom).  I changed the date format specifications in Business One so that its format is dd/mm/yy.  I then brought up the form and the field that is formatted by the above function arrived in the form's field as dd/mm/yy.  I then typed in the two other dates in the same format and added the record to the database.  The form's table is user-defined. 
    I dismissed the form then brought it back up loaded with the new record.  The date that was entered by the function appeared in USA format (mm/dd/yy).  The dates that were typed in appeared in the Business One format (dd/mm/yy).  This of course is not consistent.
    When I looked at what got into the database, the formats were the opposite.  Weird!  To make matters really confusing, I run an SQL statement within SQL Server Mgt Studio, and use the WHERE clause to filter on the date that was based on the function.  It didn’t matter what format I used for the WHERE clause, the record came up.  Does anyone have any idea about how I can ensure that I always use the correct date format for SQL statements passed by Business One to SQL Server regardless of where in the world the application is being run?
    Thanks,
    Mike

    Ian,
    Here's what I'm concerned about:  I’m using the date in a “WHERE” clause.
    Assume the date is Aug 3, 2007.
    "SELECT * FROM Table WHERE StartDate > ‘8/3/2007’"
    OR
    "SELECT * FROM Table WHERE StartDate > ‘3/8/2007’"
    If the client machine is set up as USA, the today function will provide the date as formatted in the first query.  If the database server is setup as let’s say the UK, I believe that SQL Server query parser will interpret the date as Mar 8, 2007.
    If the client machine is set up as UK, the today function will provide the date as formatted in the second query.  If the database server is setup as let’s say USA, I believe that SQL Server query parser will also interpret the date as Mar 8, 2007.
    In both cases it would be wrong.
    I know I could use the DATEPART function to get the three parts and this will make the code indifferent to the localization specs of the client machine.  I need to then be able to concatenate those date parts for the “WHERE” clause so that the localization specifications of the database server don’t matter.
    Thanks,
    Mike

  • Need java 1.6.0_4 for SQL developer 3.2 64bit, Win 7

    Hi All
    I Need java 1.6.0_4 for SQL developer 3.2 64bit, Win 7.
    SQL developer behaves weirdly sometimes. It frequently drops connection, doesn;t show compile button when i open a procedure and certain other things.... I found ver 3.0 quiet stable.
    I think it may be because of my incorrect java version (1.6.0). Please tell me how can I get this Java version 1.6.0_4. I checked oracle.com, version 35 is available there....
    Can you please help me by providing this ?
    Thanks

    >
    I Need java 1.6.0_4 for SQL developer 3.2 64bit, Win 7.
    I think it may be because of my incorrect java version (1.6.0). Please tell me how can I get this Java version 1.6.0_4.
    Can you please help me by providing this ?
    >
    No - we can't provide it. You have to download it yourself. If you have trouble with the download you should report the problem to Oracle.
    >
    I checked oracle.com, version 35 is available there....
    >
    If you checked at the Java SE Downloads page
    http://www.oracle.com/technetwork/java/javase/downloads/index.html
    Then you should have seen the 'Previous Releases' link jus above the download Icons near the top of the page.
    http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jre-6u1-oth-JPR
    All of the available prior versions are available at that link.
    But I strongly suggest you heed the advice given to use the latest 1.6 version of Java available unless you have a very good reason not to.

  • Buffer size for SQL statement using JDBC calls

    I need to find out the buffer size for SQL statements in jave/JDBC because I need to insert or update a field that could be up to 4KB in size.

    I'm not sure that I follow the question; I'm not sure which buffer size you're referring to.
    If you have a field that can store up to 4k worth of data, you would create a VARCHAR2(4000) column in the Oracle database (assuming it is character data) or a BLOB column (if the data is binary). Either of those two fields can be populated from JDBC.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • SAP Note 1614681 - ESI monthly report for filing details of ESIable employe

    Any one implemented this SAP Note
    While doing the manual steps mentioned in SAP Note 1614681 - ESI monthly report for filing details of ESIable employees .
    we found some difficulties.
    Please let me know the steps that you followed while implementing this.
    Note Summary
    Symptom
    As per the new rule introduced by ESIC authorities, an organization is liable to file details of employees eligible for ESI contribution during a particular period/month. Details are to be uploaded on the ESIC website in the format prescribed by the ESIC authorities. Currently, as a part of SAP standard delivery, ESI Form5 and Form6 are provided which are used to report ESI contribution for a period of six months. However, there is no such provision to generate monthly ESI details in system and report it to the ESIC authorities.
    Other terms
    HINCESI0, PC00_M40_ESIF, ESI , Employee State Insurance, ESI Monthly report, IT0588, ESIC.
    Reason and Prerequisites
    Legal Change.

    Hi,
         We tried to apply the manual steps mentioned along with the note. We were able to do first two steps that is inserting the messages in message class and creating new text elements..
    When we tried for the 3rd step, we are facing the problem..
    When we gave the name ''HR_IN_ESI_MON_DET '' in SE18 and and try to create it asked for the package...since it is SAP standard we gave PC40( since all ESI badi is saved in this package i gave this) for the package name.....and it got created and each time it was asking for Access key...( After providing access key in each step it got created)
    Now when i check in SE80 this enhancement is there....but if i check in SE18 it says Enhancement spot doesn't exist.  
    check the screen shot:
    http://www.mypicx.com/10052011/ESI_manual_Steps/

  • Need a Leather Messenger bag for 17" Macbook Pro .. any suggestions?

    Need a Leather Messenger bag for 17" Macbook Pro .. any suggestions?
    I cant seem to find a nice one .. I am traveling soon and would like to have it before I go away ....
    I would like something with some protection and ... something stylish  ...
    I have had a hard time finding a nice one ...

    There is a difference technically between this iStorage unit and the Cal Digit stuff. Cal Digit includes a hardware raid controller, and removable drives. The iStorage Pro unit relies on your computer's CPU to control the raid... so will tax things like render times... plus just to play a software raid can take as much as 30% of your CPU's cycles to do it...
    That said, it may not matter if you're working in lower resolution files, or lower data rate stuff, either company makes great gear though. Both are intended for use with video systems. But ya do get something for the extra money on the CalDigit gear.
    But if all you want to use it for is backup of data... anybody's drives would do this... doesn't have to be a raid either. Single FW drives will certainly hold the data as backup even if they won't play it without dropping frames.
    OH, and Colorado... join the Denver FCP User Group... http://www.dfcpug.com We meet at the Colorado Film School in Denver on a monthly basis.
    Jerry
    Message was edited by: Jerry Hofmann

  • I forgot my password for my mac book retina which I just bought 1 1/2 months ago. Is there any possibility to reset it?

    Hi, I forgot my password for my mac book retina which I just bought 1 1/2 months ago.
    Is there any possibility to reset it? I guess (not sure) the operating system is os x.

    Forgot Your Account Password
    For Snow Leopard and earlier
         Mac OS X 10.6- If you forget your administrator password
    For Lion/Mountain Lion
        Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         When the menubar appears select Terminal from the Utilities menu.
         Enter resetpassword at the prompt and press RETURN. Follow
         instructions in the dialog window that will appear.
         Or see Reset a Mac OS X 10.7 Lion Password and
         OS X Lion- Apple ID can be used to reset your user account password.
    If you are unable to boot from an installer DVD:
    (these will only work on Leopard or earlier)
      1. Boot to Safe Mode by restarting and after the chime press and hold down
          the COMMAND-S keys until a black screen with white type appears.
      2. At the prompt, type the following commands pressing return after each
          command line:
         /sbin/fsck -yf
         If you do not receive a "Filesystem OK" message then repeat this command
         until you do.  If after seven tries you still do not receive a "Filesystem OK"
         message, then the system is corrupted and needs to be reinstalled.
         mount -uw /
         cd /private/var/db/netinfo
         mv local.nidb local.old
         rm ../.AppleSetupDone
         shutdown -r now
    The second-to-last command above will cause OS X to think that the operating system is newly installed, and when the new owner starts up the computer it will send him/her to the startup wizard where he/she can start a new user without reinstalling.
    This last method does not actually change a password. It simply removes the user accounts and lets you create an initial admin account as if the computer were new out of the box.
    Reset Admin Password Using The Terminal
    You can reset the password by printing out (or writing down) and carefully following these steps.
    First, find the short name of the admin user on the machine. The easiest way of doing this is by looking at what the directory is called in the Users folder.
    Now, start in Single-user Mode. It should boot into a command line.
    Enter these exact lines. Press RETURN after each.
    mount -uw /
    ifconfig lo0 up
    cd /var/db/netinfo
    netinfod -s local
    Now you'll need that short name. Enter "passwd", a space, and the short name of the admin. For example, if the admin was rather prosaically called "imadmin", you would enter "passwd imadmin".
    The computer will now prompt you to change the password for "lmadmin" (or whatever the short name was). Go ahead and enter a new password.
    Now, enter:
    sync
    reboot
    and the machine will reboot. The admin password should now be changed.

  • I just got my daughter a new macbook pro. She currently shares my wires apple id for iTunes on her iTouch. I need to set up an email account for her. Is there any way to set up a new iCloud email account but still use my wires apple id for iTunes?

    I just got my daughter a new macbook pro. She currently shares my wifes apple id for iTunes on her iTouch. I need to set up an email account for her. Is there any way to set up a new iCloud email account but still use my wifes apple id for iTunes?

    No it's not stealing. They have an allowance that you can share with so many computers/devices. You'll have to authorize her computer to play/use anything bought on your acct. You can do this under the Store menu at top when iTunes is open on her computer.
    As far as getting it all on her computer....I think but I am not sure (because I don't use the feature) but I think if you turn on Home Sharing in iTunes it may copy the music to her computer. I don't know maybe it just streams it. If nothing else you can sign into your acct on her computer and download it all to her computer from the cloud. Not sure exactly how to go about that, I haven't had to do that yet. I wonder if once you authorize her computer and then set it up for automatic downloads (under Edit>Preferences>Store) if everything would download. Sorry I'm not much help on that.

  • Is there any possibility for extraction of statutory reports in std sap....

    hi sap gurus,
    good afternooon toall,
    is there any possibility for extraction of statutory reports in std sap r/3 with out any customization
    is there any possibility ?
    for eg:
    the reports which will be given for internal audit purpose.
    like tax, lst,vat reports
    plz let met know
    regards,
    balaji.t
    09990019711

    Dear balaji
    check j1i2
    thanks
    G. Lakshmipathi

  • Hi, I would like to create a database from my numbers spreadsheet and create reports (like SQL). Is there a way?

    Hi, I would like to create a database from my numbers spreadsheet and create reports (like SQL). Is there a way?

    Numbers is a lightweight spreadsheet.  If you know sql you will know that it can handle many queries and is a real databases that can handle many thousands of records.  Number is not the correct tool.  You can make something that does something like a query but it is not truly a query.
    Can you share anything about the specific application and how much information there is in each record?  How many records (rows)?

  • My Macbook Pro is 3 months old and recently it has been making quite a loud fan noise whenever i play music/video or even turning up the volume. I haven't been playing music/ video for ages. Is there any solution?

    My Macbook Pro is 3 months old and recently it has been making quite a loud fan noise whenever i play music/video or even turning up the volume. I haven't been playing music/ video for ages. Is there any solution?

    Try resetting the SMC  http://support.apple.com/kb/HT3964

  • Hi i have SE R300 mobile,i need to copy my contacts and sms messages to pc but i don't find pc suite for my mobile.As i ve have some sentimental msgs i need them to be stored in my pc.Is there any alternate softwares to connect my mobile to pc.

    hi i have SE R300 mobile,i need to copy my contacts and sms messages to pc but i don't find pc suite for my mobile.As i ve have some sentimental msgs i need them to be stored in my pc.Is there any alternate softwares to connect my mobile to pc.

    Hey @piyali, I wanted to inform you that your phone doesn't have a software to transfer that information. But for you to know when you transfer the messages to the computer it will just appear a regular notepad document, so basically, you could just copy the information from the text message into a notepad in your computer and you can keep those important memories for yourself.

  • I own CS5 and want to upgrade to CS6 but don't want to pay a monthly fee for the Cloud.  Is it possible to purchase a non-Cloud upgrade?  If so, where and how much?

    I own CS5 and want to upgrade to CS6 but don't want to pay a monthly fee for the Cloud.  Is it possible to purchase a non-Cloud upgrade?  If so, where and how much?

    Creative Suite 6
    Mylenium

Maybe you are looking for

  • How to find out the BI Publisher Version from the Excel output file

    Hi, Can any one tell me How to find out the BI Publisher Version from the Excel output file generated using BI publisher.

  • Path, classpath, java build path???

    I am happy with what path and classpath does but what is java build path for? could someone point me in the direction of where I can find more info?

  • Airport Extrem not finding networks

    I have an Ibook G4 with an airport extrem card. For about 6 months I used it with several public wirless networks , at university and cafes around town. One fine day, after not using it for about a month, it simply stopped finding networks. I turn it

  • InDesign v 3.0 -- Linked files & Edit Original command problems

    I am running InDesign v 3.0 and Photoshop CS5 on a new Mac Pro.  When I use the Links pallet, after having selected a linked image with the black arrow, and choose "Edit Original", the image file will open in Apple Preview, rather than in Photoshop C

  • Having issues with KIK & AnyVideo for KIK with IOS7

    Can anyone give advice on any user end fixes for KIK? I am on iPad2 and KIK no longer has the AnyVideo icon and the camera function in KIK does not allow to switch from front to rear cameras. Other apps have similar issues and some just will no longe