Number of transactions in the DB

Hello,
How can i find out the number of transactions occurred in a Database. (... for a given day / within 1 hr)
like;
Numbers of inserts/deletes/selects/updates occurred in the db?
Is it possible to get such information.
regards,
Zerandib

> Main idea is to get an idea about the DB
>
> currently in the PRD DB auditing is disabled.
> Im thinking of enabling the DB auditing.
> Therefore i'm looking to get rough idea about, number of transactions that will occur in the DB
>
> audit_sys_operations                 boolean     FALSE
> audit_trail                                    string      NONE
>
> Will enabling auditing, make additional overhead to the database.!
I see.
Just my two cents on this:
- you enable auditing, when there is a requirement for it (business/legal wise), so it isn't really about the technical overhead
- and of course there is overhead. It's just the question whether or not your users will see a increased response time because of that.
> how can i check these stats in DB level. (table/view)
Check V$SYSSTAT and V$SYSMETRIC on Oracle level.
These should contain the information you like to see.
(btw: in my first reply I referred to how easy it is to create these statistic information on DB kernel level )
regards,
Lars

Similar Messages

  • Number of transactions in the current batch input session ...

    Hi,
    How to control a Number of transactions in the current batch input session ...
    for LSMW.
    Pls help. I'm new to LSMW
    Thanks
    Ram

    > Main idea is to get an idea about the DB
    >
    > currently in the PRD DB auditing is disabled.
    > Im thinking of enabling the DB auditing.
    > Therefore i'm looking to get rough idea about, number of transactions that will occur in the DB
    >
    > audit_sys_operations                 boolean     FALSE
    > audit_trail                                    string      NONE
    >
    > Will enabling auditing, make additional overhead to the database.!
    I see.
    Just my two cents on this:
    - you enable auditing, when there is a requirement for it (business/legal wise), so it isn't really about the technical overhead
    - and of course there is overhead. It's just the question whether or not your users will see a increased response time because of that.
    > how can i check these stats in DB level. (table/view)
    Check V$SYSSTAT and V$SYSMETRIC on Oracle level.
    These should contain the information you like to see.
    (btw: in my first reply I referred to how easy it is to create these statistic information on DB kernel level )
    regards,
    Lars

  • Query to retrieve the number of transactions done in every 1 hour for last

    Hi,
    Could anyone help in writing a query to retrieve the number of transactions done in every 1 hour for last month.
    Case:
    I/P
    Cases Timestamp1
    case1 01-01-2008 00:00:01
    case2 01-01-2008 00:01:01
    case3 01-01-2008 01:00:01
    case1 01-01-2008 01:02:01
    case4 01-01-2008 01:10:01
    case5 02-01-2008 02:00:01
    case6 02-01-2008 02:10:01
    case7 02-01-2008 23:00:01
    case.. 31-01-2008 24:00:00
    O/P
    from time to_time cases
    01-01-2008 00:00:00 01-01-2008 01:00:00 2
    01-01-2008 01:00:01 01-01-2008 02:00:00 3
    etc
    Any help really appreciated

    We can do this using analytical functions
    Following is what I did:
    create table timestamp1 (ts date)
    select *from timestamp1
    30/10/2008 15:41:13
    30/10/2008 15:41:05
    30/10/2008 15:40:03
    30/10/2008 14:58:26
    30/10/2008 14:29:45
    30/10/2008 13:17:48
    30/10/2008 08:29:50
    30/10/2008 06:05:51
    30/10/2008 03:41:52
    30/10/2008 02:29:54
    select distinct to_char(ts,'hh24') frmhrs,
    to_char(ts,'hh24')+1 tohrs, count(ts) OVER (order by to_number(to_char(ts,'hh24')) RANGE (1/24) PRECEDING )
    from timestamp1
    where trunc(ts)=trunc(sysdate) -- I added this just to make sure I get for today's data
    order by frmhrs
    FRMHRS     TOHRS     CNT
    02     3     1
    03     4     1
    06     7     1
    08     9     1
    13     14     1
    14     15     2
    15     16     3
    You can customizeas per ur need.

  • Are there any payment gateways that will display the BC invoice number in transaction info?

    MI've been told by BC suppor that this functionality is not available for Paypal, and am wondering if any Payment gateways would support this. My client wants to see the invoice number (from BC) in each transaction in Paypal to be able to easily reconcile orders and payments. Other pamynet info shows up, and it would be great if the invoice number would come through as well.
    Any help?

    Just have a follow up question about this. My client's accounting dept is having some issues with how the funds are deposited into the bank account without any identification to describe where it is coming from. When you say that "BC sends an order number to the gateways," do you mean that once someone places an order the order number is passed to the payment gateway with all the rest of the payment info? So that order number could be seen in PayPal, for example, but once the client deposits those funds into their bank account, that information would not necessarily be submitted along with it, correct? Thanks.

  • AR AUTOINVOICE ignores the checked box "copy document number to transaction

    dear ,
    AR AUTOINVOICE ignores the checked box "copy document number to transaction number"
    I setup the batch source as check "copy document number to transaction number" but when
    I import the invoice by auto invoice I found the transaction number is 2 and
    the document number is 1
    That mean the system ignore the check box in definition of batch "copy document number to transaction number"
    Facts: Navigate -> Setup -> Transactions -> Sources
    Setup Transaction Source with Automatic Transaction Numbering checked and Copy Document Sequence Number to
    Transaction Number checked.
    Navigate - > setup -> system option  tab (transaction & customer)
    Document number generation level: when completed
    Expected Behavior:
    The Expected Behavior is that when I checked the "copy document number to transaction number" in definition of the source
    AR Auto Invoicing must assign the document number to transaction number
    Business impacts :
    There is gaps with the sequence number for the invoice that not accepted from the finance auditor in the last of the year
    thanks

    check have u performed these steps or not.
    you have to do all the necesarry set up steps:
    1) Enable the Sequential Numbering Profile Option
    2) Enable the AR: Document Number Generation Level Profile Option
    3) Check Copy Document Number to Transaction Number box on Transaction Sources
    4) Define Sequences
    5) Assign Sequences to Categories
    In batch source definition for your invoice, there is a flag for 'copy doc num to trx num'. is it ticked?

  • Number of transaction that is run on the database,on spicific table

    i want to know how could i have a statistics of number of transaction that is run on database,on spicific table.

    If your database is running in archive log mode, then you could do the log mining for the given period of time to find out the number of operations against a given table.

  • Create new search criteria by Phone number in transaction BP in the REFX

    Dear All,
    I need help in this issue, I need to  create new Search criteria by Phone number in transaction BP in the REFX.

    Hi,
    Check BADI BUPA_SHLP_CONTROL, which has method FILTER_INCL_SHLP to control search helps in BP.  You can remove the standard search help by deleting corresponding entry from Changing parameters CT_SHLP_TAB of the method .
    You can refer one of the standard implementations for the above BADI , where search helps are removed based on conditions
    one of the Standard implementation: FSBP_SEARCH_HLP_EXIT
    Regards,
    Sid

  • FMor Bapi to get the number of transactions in SM35 for the session name

    Hello All,
    Can you anybody give me a function module or bapi to get the number of transactions in SM35 for the session name.
    Can anybody help me out in this issue.
    Thanks

    Hello Maroz,
    Thanks for the help.But can you provide me a FM or BAPI.
    Thanks

  • There is already a transaction for the systems of this product version(MOPZ)

    Hello All,
    I am trying to configure maintenance optimizer in Solution Manager 7.0
    on Windows 2003 server and SQL 2005 server.
    I am configuring this for SAP CRM 2007 server.
    Created the server, database and system in SMSY
    Created Logical Component in TA code SMSY
    SM59 connection for SAP-OSS is OK.
    S-User is assigned to a User.
    Created a solution using TA code solution_manager.
    Defined the product version for the solution created in the TA code
    solution_manager.
    When creating a Maintenance Optimizer transaction, I select the
    product version and its logical component in the Plan Maintenance
    (Phase) and click on Continue to go to Select Files Phase, I get below
    warning:
    Information Procedure 8000000130 Saved
    Warning: Status was reset by system
    Warning: There is already a transaction for the systems of this
    product version
    I cannot get pass this phase.
    I have deleted and recreated the solution, carried out the same
    activity again but its giving the same Warning
    Warning: Status was reset by system
    Warning: There is already a transaction for the systems of this
    product version
    Any help will be appreciated???
    Regards,
    Satish.

    Hello Ragu,
    Thanks for your response.
    As of now, we do not have ChaRM in place. Secondly, we use a single customer number.
    I would like to let you know that in our landscape we have two CRM server, one ECC sever, one SOLMAN7.0 server.
    I tried to configure MOPZ for CRM, ECC, SOLMAN server to download the respective STACKS.
    I was successful in configuring CRM and SOLMAN.
    But  when I tried to configure in ECC, it failed due to RFC erros.
    So I deleted the transaction for the ECC system and deleted the system itself in Solution Manager.
    Reconfigured the Systems in "SMSY", RFC connections are correctly defined to configure MOPZ between SOLMAN7.0 and ECC6.0.
    When I start configuring the MOPZ, I cannot get pass the first phase and this is when I get an error: There is already a transaction for the systems of this product version.
    Please let me know if you need further information.
    Regards,
    Satish.

  • Getting error Unable to perform transaction on the record.

    Hi,
    My requirement is to implement the custom attachment, and to store the data into custom lob table.
    my custom table structure is similer to that of standard fnd_lobs table and have inserted the data through EO based VO.
    Structure of custom table
    CREATE TABLE XXAPL.XXAPL_LOBS
    ATTACHMENT_ID NUMBER NOT NULL,
    FILE_NAME VARCHAR2(256 BYTE),
    FILE_CONTENT_TYPE VARCHAR2(256 BYTE) NOT NULL,
    FILE_DATA BLOB,
    UPLOAD_DATE DATE,
    EXPIRATION_DATE DATE,
    PROGRAM_NAME VARCHAR2(32 BYTE),
    PROGRAM_TAG VARCHAR2(32 BYTE),
    LANGUAGE VARCHAR2(4 BYTE) DEFAULT ( userenv ( 'LANG') ),
    ORACLE_CHARSET VARCHAR2(30 BYTE) DEFAULT ( substr ( userenv ( 'LANGUAGE') , instr ( userenv ( 'LANGUAGE') , '.') +1 ) ),
    FILE_FORMAT VARCHAR2(10 BYTE) NOT NULL
    i have created a simple messegefileupload and submit button on my custom page and written below code on CO:
    Process Request Code:
    if(!pageContext.isBackNavigationFired(false))
    TransactionUnitHelper.startTransactionUnit(pageContext, "AttachmentCreateTxn");
    if(!pageContext.isFormSubmission()){
    System.out.println("In ProcessRequest of AplAttachmentCO");
    am.invokeMethod("initAplAttachment");
    else
    if(!TransactionUnitHelper.isTransactionUnitInProgress(pageContext, "AttachmentCreateTxn", true))
    OADialogPage dialogPage = new OADialogPage(NAVIGATION_ERROR);
    pageContext.redirectToDialogPage(dialogPage);
    ProcessFormRequest Code:
    if (pageContext.getParameter("Upload") != null)
    DataObject fileUploadData = (DataObject)pageContext.getNamedDataObject("FileItem");
    String strFileName = null;
    strFileName = pageContext.getParameter("FileItem");
    if(strFileName == null || "".equals(strFileName))
    throw new OAException("Please select a File for upload");
    fileName = strFileName;
    contentType = (String)fileUploadData.selectValue(null, "UPLOAD_FILE_MIME_TYPE");
    BlobDomain uploadedByteStream = (BlobDomain)fileUploadData.selectValue(null, fileName);
    String strItemDescr = pageContext.getParameter("ItemDesc");
    OAFormValueBean bean = (OAFormValueBean)webBean.findIndexedChildRecursive("AttachmentId");
    String strAttachId = (String)bean.getValue(pageContext);
    System.out.println("Attachment Id:" +strAttachId);
    int aInt = Integer.parseInt(strAttachId);
    Number numAttachId = new Number(aInt);
    Serializable[] methodParams = {fileName, contentType , uploadedByteStream , strItemDescr , numAttachId};
    Class[] methodParamTypes = {fileName.getClass(), contentType.getClass() , uploadedByteStream.getClass() , strItemDescr.getClass() , numAttachId.getClass()};
    am.invokeMethod("setUploadFileRowData", methodParams, methodParamTypes);
    am.invokeMethod("apply");
    System.out.println("Records committed in lobs table");
    if (pageContext.getParameter("AddAnother") != null)
    pageContext.forwardImmediatelyToCurrentPage(null,
    true, // retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES);
    if (pageContext.getParameter("cancel") != null)
    am.invokeMethod("rollbackShipment");
    TransactionUnitHelper.endTransactionUnit(pageContext, "AttachmentCreateTxn");
    Code in AM:
    public void apply(){
    getTransaction().commit();
    public void initAplAttachment() {
    OAViewObject lobsvo = (OAViewObject)getAplLobsAttachVO1();
    if (!lobsvo.isPreparedForExecution())
    lobsvo.executeQuery();
    Row row = lobsvo.createRow();
    lobsvo.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    public void setUploadFileRowData(String fName, String fContentType, BlobDomain fileData , String fItemDescr , Number fAttachId)
    AplLobsAttachVOImpl VOImpl = (AplLobsAttachVOImpl)getAplLobsAttachVO1();
    System.out.println("In setUploadFileRowData method");
    System.out.println("In setUploadFileRowData method fAttachId: "+fAttachId);
    System.out.println("In setUploadFileRowData method fName: "+fName);
    System.out.println("In setUploadFileRowData method fContentType: "+fContentType);
    RowSetIterator rowIter = VOImpl.createRowSetIterator("rowIter");
    while (rowIter.hasNext())
    AplLobsAttachVORowImpl viewRow = (AplLobsAttachVORowImpl)rowIter.next();
    viewRow.setFileContentType(fContentType);
    viewRow.setFileData(fileData);
    viewRow.setFileFormat("IGNORE");
    viewRow.setFileName(fName);
    rowIter.closeRowSetIterator();
    System.out.println("setting on fndlobs done");
    The attchemnt id is the sequence generated number, and its defaulting logic is written in EO
    public void create(AttributeList attributeList) {
    super.create(attributeList);
    OADBTransaction transaction = getOADBTransaction();
    Number attachmentId = transaction.getSequenceValue("xxapl_po_ship_attch_s");
    setAttachmentId(attachmentId);
    public void setAttachmentId(Number value) {
    System.out.println("In ShipmentsEOImpl value::"+value);
    if (getAttachmentId() != null)
    System.out.println("In AplLobsAttachEOImpl AttachmentId::"+(Number)getAttachmentId());
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    "AttachmentId", // Attribute Name
    value, // Attribute value
    "AK", // Message product short name
    "FWK_TBX_T_EMP_ID_NO_UPDATE"); // Message name
    if (value != null)
    // Attachment ID must be unique. To verify this, you must check both the
    // entity cache and the database. In this case, it's appropriate
    // to use findByPrimaryKey() because you're unlikely to get a match, and
    // and are therefore unlikely to pull a bunch of large objects into memory.
    // Note that findByPrimaryKey() is guaranteed to check all AplLobsAttachment.
    // First it checks the entity cache, then it checks the database.
    OADBTransaction transaction = getOADBTransaction();
    Object[] attachmentKey = {value};
    EntityDefImpl attachDefinition = AplLobsAttachEOImpl.getDefinitionObject();
    AplLobsAttachEOImpl attachment =
    (AplLobsAttachEOImpl)attachDefinition.findByPrimaryKey(transaction, new Key(attachmentKey));
    if (attachment != null)
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    "AttachmentId", // Attribute Name
    value, // Attribute value
    "AK", // Message product short name
    "FWK_TBX_T_EMP_ID_UNIQUE"); // Message name
    setAttributeInternal(ATTACHMENTID, value);
    Issue faced:
    When i run the page for the first time data gets inserted into custom table perfectly on clicking upload button,
    but when clicked on add another button on the same page (which basically redirects to the same upload page and increments the attachment id by 1)
    i am getting the below error:
    Error
    Unable to perform transaction on the record.
    Cause: The record contains stale data. The record has been modified by another user.
    Action: Cancel the transaction and re-query the record to get the new data.
    Have spent entire day to resolve this issue but no luck.
    Any help on this will be appreciated, let me know if i am going wrong anywhere.
    Thanks nd Regards
    Avinash

    Hi,
    After, inserting the values please re-execute the VO query.
    Also, try to redirect the page with no AM retension
    Thanks,
    Gaurav

  • When the user click on the request number it should skip the first screen o

    when the user click on the request number it should skip the first screen of REV track and show the rev track request number details. On click of u201CBacku201D button on this screen the output screen of the report should be displayed again.

    Hello Rohit,
                   What you can do is, when the User Clicks on any particular Request, you use the At Line-Selection Event. In that event, you can set the User Name to default "SY-UNAME" or any other user Name for the specific Request.
                 Again, if you want to check the Owner of the Request, you can use the Table E070 where you can Input the Request Number and get the Owner of the Request. Set the same in the User Name Field and Skip First Screen (SE09 Transaction).
    Hope it was helpful.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • How i can find out number of transaction code created in last 6 month

    Dear Friends,
    How i can find out number of transaction code created in last 6 month and last used date for each transaction code.
    System - ECC 5.0
    Plz help.
    Thanks,
    Regards,
    Sachin

    Hi,
    As per your query you can find out the list of t-code not to use in last time details in suim t-code.
    Anil

  • Number of transactions entered by users

    Is there a report in SAP that will gives the number of transactions that were entered by users for a specific period of time?
    thanks.

    Clay,
    Pease check BKPF table in transaction SE16N.
    or
    Go to FB03, in dynamic selections you have option to selct user name.
    Rgds
    Murali. N

  • Minimize the number of roles using the Bolt-onu2019s

    I read a artical from SDN it discribes the process of maintating Orgnization Authorization in saperate Role. This helps to reduce the no of roles been created. Below is the discribtion. And I tolly agree with the concept . Read below .
    >According to Artical
    >You can make use of the Bolt-on concept to reduce the total number of profiles that need to be built in an implementation. An example will clarify the benefits of its implementation.
    >Letu2019s consider the purchase requisitions. There are two business rules exist for approving the purchase requisitions. One is the plant code, and the other is the Release code. Assume that you company has 10 different Release codes, for various approval ranges. Now, on the other hand, if you have 20 plants, you need to have 20 X 10 = 200 roles. That is 10 roles per plant.
    >By using the Bolt-on concept, this can be achieved by removing the authorization objects which control user status (these objects contain no organizational value component) from the transactional role and placing them within their own unique global role with the plant code. This way, you will end up with creating 10 transaction roles without the plant code and 20 global roles, which will have only the plant code in it.
    >Further, the appropriate combinations can be determined by the business requirements.
    >This approach reduces exponentially the number of roles that need to be built. The end result is that 30 roles are required to achieve the same objective.
    >The same Bolt-on process can be implemented when the authorization check is done on an organization level. However, this process will be viable only when the number of roles that needs to be created are more.
    As of my understanding we need to isolate all Auth objects from a role and make a saperate role specially only for Org structure. And then give combination of those Org Roles to provide access for those Org Units.
    My Question is
    1) how do we Identify all Auth obejcts that give access to a Org unit from a given role.
    2)How to make a role that gives Authorization for a perticular Org Unit only. (And that role should not have any authorization for Tx or activities)
    3)What is recemmended to maintain Org unit Authorization ? Is Bolt-onu2019s mehod suitable to maintain all Org Unit Authorizations?
    Edited by: Hussain Sehorewala on Jul 2, 2008 4:11 PM

    >
    Jurjen Heeck wrote:
    > It is non SAP-standard and I generally advise against them for just that reason. It requires a lot of documentation and checks to make sure no-one destroys the concept just by following SAP guidelines. Also upgrades can cause a lot of problems with bolt-ons.
    >
    > Jurjen
    I agree 100% with Jurjen.  It can work well but in the vast majority of times I have seen them, they have led to reduced control, reduced auditability and basically been a mess.  SecureInfo have a tool which builds roles in this way but it also has appropriate controls in place too.
    If you look at the following scenario:
    You have a functional role and an org role.
    If you have org roles for each func role then you are in the same situation as you are with derived roles.
    If you start to combine auth objects to build a bigger org role then you are assigning additional auth objects over and above what the transactions in the func role require.  We all know that to properly secure something, you need to control by auth object so in this case you are already potentially opening yourself up to giving excess access.
    6 months later you want to remove a tcode from the func role.  If you maintain std SAP method properly then the auth objects will also be removed too if it not shared.   With lots of these objects in the org role then you will need to cross check every single tx in the func role with every object in the org role.  Most people don't bother & that's one of the reasons why this build method can get very, very messy as you lose the link between t-code and object that SU24 provides.
    I've used this method in BW a few times & it works really well, but for R/3 it usually ends up with more trouble than it solves.   There are situations where is can make things easier but I would only use it as a supplement to a standard method role build.

  • How can i get iban number in transaction FDTA

    Hi Abaper,
    How can i get iban number in transaction FDTA ?
    Thanks in advance.
    Regards,
    Sourav

    This is a bit past the last activity of the thread, but I just had an idea, that requires me to get the port number in the init.
    When this particular servlet shuts down, it generates an email. Since there is more than one instance running, I figured, I would put the HOST and PORT in the email.
    The problem with saving this information from a request, is say it gets shutdown before any requests are generated.
    The email then would have the HOST portion, but the port would be null.
    Ideally there would be a way to get the port(s) that the server is listening on.
    Thanks,
    Brent Parsons

Maybe you are looking for

  • Cannot install Windows 8.1 via Boot Camp on MBPr 13" Early 2013; tried almost everything.

    Hi guys, yesterday, I decided to install Windows 8.1 on my Mac using Boot Camp. I tried to install it, but the first attempt ended into booting to the screen, where it says "Cannot find any bootable device" or something like that. So I googled it up

  • The ipod cannot be updated because....

    I got a message this afternoon after adding some songs to my iTunes saying something along the lines of I couldn't fit all the library songs on my iPod so iTunes was going to create a new playlist for me (or something). iPod Select or something. That

  • Need help in matrix report

    <p>Dear fellows,<br> <br> I am designing a matrix report of Rooms those are vacant at certian time and days of week. In this time values are fixed, I have written the mention below query to design the report.<br> <b><br> Table Description is</b> <br>

  • Phone volumn is very low

    When I receive calls I can hardly hear the caller. I have to turn on the speaker, which work fine, to hear. I have the volumn turned up and I have tried reboots.

  • Converting from an old email account to FIOS email

    Can someone recommend a relatively painless way to convert from an old email provider (comcast.net) to Verizon email? TIA