DIFFERENCE BETWEEN ASSESSMENT AND DISTRIBUTION

Dear Friends,
What is the main difference between Assesment and Distribution?
Thanks in advances.

Hello,
Please follow the forum rules
1. No capital letters
2. Search before posting
DISTRIBUTION =========== Distribution was created for transfer primary costs from a sender cost center to receiving controlling objects. During distribution, only cost centers or business process can be used as sender. A distribution receiver can be a cost center, WBS element, internal order, cost object, or a business process. You can restrict the number of receiver categories in customizing. Primary Postings (such as, energy costs) are collected on a cost center, and allocated at the end of the period by means of the user-defined key. You can only distribute primary costs. During this process, the original cost element remains the same. Line items are posted for the sender as well as for the receiver, enabling the allocation to be recorded exactly. You can reverse distributions as often as required. You use the Cycle-Segment method to define sender-receiver relationships. PERIODIC REPOSTING ================= Differences between periodic reposting and distribution are due to information content and performance. For periodic reposting, no separate credit record is written on the sender for the cost element in the summary report. Instead, the totals record for the cost element is reduced on the debit side, which means that the original debit amount can no longer be checked there (u201Cunclean creditu201D). However, during distribution, the system writes a totals record for the credit (u201Cclean creditu201D). The information on the receiver is the same for periodic reposting and distribution (u201Cclean debitu201D). Compared with periodic reposting, during distribution, the system also updates the partner in the totals record for the sender. This means that the partner can be displayed in the information system on the totals record level. As fewer totals records are written during periodic reposting, performance is better than during distribution. ASSESSMENT =========== Assessment was created to transfer primary and secondary costs from a sender cost center to receiving controlling objects. During assessment, cost center or business processes can be used as senders. The receivers for an assessment can be a cost center, WBS element, internal order, cost object, or a business process. You can restrict the number of receiver categories in customizing. Primary and secondary posting are allocated at the end of the period by the user-defined key. During assessment, the original cost elements are summarized into assessment cost elements (secondary cost element category = 42). As the system writes fewer total records, the assessment has a better performance than periodic reposting and distribution. The system does not display the original cost elements in the receivers. Therefore, assessment is useful if the cost drilldown for the receiver is not important. Similar to distribution, the partner is updated in the totals record during distribution You can reverse assessments as often as required. You use the Cycle-Segment method to define sender-receiver relationships. Regards, Ravi

Similar Messages

  • Diff between assessement and distribution

    hi
    sap gurus
    can any bady clearly tell me about the difference between ASSESSEMENT AND DISTRIBUTION?
    THANK YOU
    VENKATAREDDY

    hai venkt:-
    Assement is can be used in both elements, means primary cost elements and secondary cost elements.assessment is a allocate the cost element from sender cost center to reciver cost center.under  the assessment cost element, Here we are not trace out orignal cost element. and also no of recivers is restricted for  the customization,reciver may be  as acost center, IO(internal order,)WBS and settle order.line item can be posted as a sender as well as reciver.
    Distribution:-
    Distribution can be used in only primary cost elements, here we are trace out the orginal cost element. means from sender to reciver cost center. reciver may be  as acost center, IO(internal order,)WBS and settle order.line item can be posted as a sender as well as reciver.
    may be it useful
    assinge the points

  • Difference between Assessments and distribution

    Hi co experts,
    As per our knowledge the Difference between Assessments and distribution is distribution allocates primary cost elements and an assessment allocates both primary and secondary coat elements.
    My doubt is, Apart from the above sentence is there any other difference between assessments and distribution.
    Regards
    venkataswamy

    Hi,
    I just want to make one correction from  Dublin statement for cost element category. Actually the concept he explained is correct.
    @ Distribution: The data use are for primary cost element only, and the cost are record on receiver side using original  
                            cost element.
    @ Assessment: We can use either Primary cost Element or Secondary cost Element. The cost recorded on receiver side is
                            using Assessment Cost Element (Cost element category 42) not the cat 43, the cat 43 is for cost allocation.
    Hope this help you.
    Regards,
    Iie

  • Difference between Assessment and Training ?

    HI folks,
    Im using Captivate 5 and wondering what is the difference between the two. I have spent ages on a Training file and so far Im thinking that if it is only the captions then I can delete them from Training and use it as assessment?
    please advise..

    As far as the recording options go, the only difference between the two is that Training adds a Hint caption to the interactive objects.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • What is the difference between acessment and distribution

    want

    Hi Narayana,
    Distribution uses the original cost element for allocating cost to the sender cost center. Thus on receiving cost center we can see the original cost element from the sender cost center. Distribution only allocates primary cost.
    Assessment uses assessment cost element to allocate cost. Thus various costs are summarized under a single assessment cost element. In receiver cost center the original cost breakup from sender is not available. Assessment allocates both primary as well as secondary cost.
    Assign points if useful
    Regards
    Genie

  • DIFFERENCE BETWEEN BAPI AND ALE

    HI
    COULD ANYBODY TEL ME
    DIFFERENCE BETWEEN BAPI AND ALE

    Hi Kalyan
    ALE is a SAP specific method how to distribute data from and to SAP. It uses the asynchronous calls based on IDOC structures.
    However in the distribution modell of ALE can also be used BAPIs. They will then automatically converted into IDOC structures. After creating the IDOCs they will be passed over to the receiver using the tRFC protocol.
    Wheras the BAPIs are using the sRFC protocol.
    fir more information please check this:
    http://www.sap-img.com/abap/ale-bapi.htm
    regards
    Srinivas

  • Differences between rfc and ale/idoc.

    hi ..
           will u please send the differences between rfc and ale/idoc's.

    Hi,
    Please reward with points if helpful................
    ALE is SAP proprietary technology that enables data communications between two or more SAP R/3 systems and/or R/3 and external systems. There are three layers in ALE system: application services, distribution services, and communication services.
    For communication services, ALE performs a Remote Function Call (RFC) using the port definition and RFC destination specified by the customer model. RFC is used to communicate between applications of different systems in the SAP environment includes connections between SAP systems as well as between SAP systems and non-SAP systems. Remote Function Call (RFC) is the standard SAP interface for communication between SAP systems. The RFC calls a function to be executed in a remote system.
    Means of creating and operating distributed applications.
    The purpose of Application Line Enabling is to guarantee a distributed, but integrated, R/3 installation. This involves business-controlled message exchange with consistent data across loosely linked SAP applications.
    Application integration is achieved not via a central database, but via synchronous and asynchronous communication.
    Application Link Enabling comprises the following three layers:
    application services
    distribution services
    communication services
    Two Development Models
         Distribution using BAPIs
         Distribution using Message type
    The programming model "Distribution using message types" contains the definitions of message types and IDoc types and the ABAP code for processing inbound and outbound IDocs.
    Defining message types and IDoc types:
    If you want to create message type enhancements for master data distribution, you also have to create a new message type for each enhancement.
    The ALE interface does not allow you to create different segment data for different IDoc types for the same message type.
    Writing ABAP code:
             Outbound Processing
               Inbound Processing
    You can find information on other ALE functions under:
                                   Master Data Distribution
                                  Communicating with Non-R/3 Systems
    1. The Remote Function Call facility allows you to call an R/3 Function module on a “remote” machine.
    2.  To communicate between two R/3 Systems and also with an External System.  External Application program also can call these function module for integration.
    3. RFC or sRFC  - Synchronous RFC
                     aRFC - Asynchronous RFC
                      tRFC - Transactional RFC
                      qRFC - Queued RFC (I.e. Serialization of tRFC)
    Types of RFC Call
    Synchronous
    CALL FUNCTION Func Destination Dest
    CALL FUNCTION func DESTINATION 'NONE' ...
    CALL FUNCTION func DESTINATION ’BACK' ...
    Asynchronous
    CALL FUNCTION func … STARTING NEW TASK taskname
    PERFORMING form ON END OF TASK
    RECEIVE RESULTS FROM FUNCTION func
    Thanks
    sivaparvathi

  • What is the difference between ALE and EDI

    Hi,
    Can any one please explain what is the difference between ALE and EDI ?
    Thanks in advance.
    Ramana

    Hi Ramana
    ALE: used to trnasfer IDOC with in the R3distributed system.
    EDI: used to transfer IDOC from R3system to nonsap system
    IDOCS:
    IDOCS are intermediary documents which are like CARRIERS of the data
    IDOCs are safe to transfer data, but less volume of data. User is not allowed to access (modify) the data like PSA. IDOCs have 3 parts.
    1. Control Record - SOURCE & TARGET details,
    EDI
    EDI concept in SD: the EDI concept is intended to realize the sales and distribution process completely automatically with the help of electronical documents. These documents are sent from one customer to another, are processed mostly on the background and give a possibility to realize the sales process extremely efficiently.
    While IDocs have to be understood as a data exchange protocol, EDI and ALE
    are typical use cases for IDocs. R/3 uses IDocs for both EDI and ALE to
    deliver data to the receiving system.
    check these links also
    EDI document
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci983331,00.html
    http://searchsap.techtarget.com/loginMembersOnly/1,289498,sid21_gci879631,00.html?NextURL=http%3A//searchsap.techtarget.com/ateQuestionNResponse/0%2C289625%2Csid21_gci879631%2C00.html
    http://sapabap.iespana.es/sapabap/sap/faq/ale_idocs_bapi.htm
    Reward all helpfull answers
    Regards
    Pavan

  • Can anyone please let me know the differences between EDW and BI 7 if any

    Can anyone please let me know the differences between EDW and BI 7 if any.

    hi,
    As such their is no diff  between the to
    The Enterprise Data Warehouse (EDW) is a service offered by the Data Services Department of the Information Services and Technology Division.  EDW consolidates data from multiple sources in support of campus wide decision making and related information needs such as reporting, analysis, and planning.
    The vision for the EDW is to provide information that is secure, accurate, timely, consistent, integrated, appropriately detailed, well-organized, and easy to obtain so that people throughout the campus -- staff, faculty, researchers, and executive-level administrators -- will be better able to assess their needs, set priorities, understand the impact of change, and fulfill their programmatic responsibilities more efficiently.
    The major components of the existing Enterprise Data Warehouse are:
      BAIRS Financials
    BAIRS HRMS
    BIS
    Legacy BIS
    Student Data Warehouse Pilot 
    AND BI 7 is the latest version of the EDW which is currently in used in full fledged everywhere with lots of added functionality.
    Assign points if helpful.
    Regards,
    Amit

  • Difference between FD01 AND XD01 ?

    HI,
    Difference between FD01 AND FD02 ?

    hi
    good
    vd01; used for sales and distribution related master records.
    xd01: used for accounting related and over all master data related maintainance .
    Its better u use xd01 TCODE if ur maintaning accounts related settings also.
    thanks
    mrutyun^

  • Activity System status: differences between u0093Openu0094 and u0093In processu0094 status

    Dear Experts,
    What’s the difference between “Open” and “In process” system status? In help.sap.com it: “There are four system statuses that represent the life cycle of the business transaction:
    • Open: has been recently created and not yet processed (for example, contract from the Internet)
    • In process: administrator is clearing up questions”
    But, how does the system assumes the “In Process” status ?? I‘ve tested business activities creation with different employees assigned and, when editing and saving the business activities with these BP’s the system status does not change.
    However, in other “unknown” situations the status system is changed to “in Process”.
    Any ideas about the meaning of the “In Process” status? And when the business activity switches to that?
    Thanks in advance,
    Joao

    Hi,
    These four system statuses that represent the life cycle of the business transaction:
    ·        Open: has been recently created and not yet processed (for example, contract from the Internet)
    ·        In process: administrator is clearing up questions
    ·        Released: contract is complete and legal. Follow-up processes can be started (printing, billing, distribution, releases and so on)
    ·        Completed: All actions directly linked to contract are completed
    ·        Closed: all actions indirectly linked to the contract are closed (for example, from R/3: batch run to actual costs)
    Each status having its own control at the configuration level. If you observe the following process you may understand the importance of various statuses.
    For example in any transaction by default status would be Open. Once the transaction opened by the respective responsible person he will change the status as In Process, Once the assigned task is completed he will change the status as Completed.
    Please notice the configuration settings in the following navigation path:
    SPRO->IMG->CRM->Transactions->Basic Functions->Status Management-> Change Status Profile for User Status->Select Quotation->Double click on the different status. You can observe the difference.
    Hope I convinced.
    Best Regards,
    Johnny.
    Reward if it helps.

  • Can any one tell me the difference between VK11 and MR21

    Hi Folks,
    I have changed price of a material using VK12.
    When I go to the transaction MR21, it is still showing the old price.
    Can any one help what is the difference between VK11 and MR21.
    And i which scenarios these two were used?
    Thanks in Advance
    Gopi Krishna

    Hii,
    VK11: This is price master record to determine the sale price or discounts or freight or taxes which we going to charge to the final customer.  Through this transaction we will determine the price automatically either in sales or billing document.  These transaction is only applicable for sales & distribution module for determining the pricing for customers.
    The price determined through this we use in revenue realisation.
    MR21: Through this trnsaction Finance or Cost users upload the cost of the material.  The cost is
    Standard Cost or Moving average cost.
    Cost= Raw Material CostProcessing Cost(product process cost )Overheads(employee salaries)
    This cost is maintained at each material master in accounting view either standard cost or moving average cost.
    These cost is determined for every material movement within the company.
    Example: Production, transfer posting, goods issue- system post the quantity and at the same time system create an inventory entry i.e accounting entry for the transaction.  In this accounting entries, system consider the values from material master for generating accounting entry.
    If you upload production for 10 MT of material A and in material master if kept the cost of the material as 1000 then the accounting entry in production time as
                  Finish Goods Dr          10000
                            To Cost of Production Cr        10000
    These cost also determined sales transaction through VPRS condition type.
    Rewards if it helps
    Regards
    Goutham

  • Difference between CRM and R/3

    can anyone clarify on these...
    What is difference between CRM and R/3
    Also about CRM sales order vs R/3 Sales order why we go crm in this case .

    First, it is expedient to state that both SAP Business One and SAP R/3 are built on the concept of client/server architecture. So how do they differ? Let's first understand the relationship in a client server setup. A client server is a computer system design standard in which the client machines requests and gets back information from a distribution machine called the server.
    SAP Business One as said earlier is based on client/server architecture, howbeit a "2 tier": strictly, clients and server. This technology is often referred to as a fat client. This is because all processing and business logic are carried out on the client.
    SAP R/3 is based on a three tier client/server technology. Typically, it is made up of three functionally distinct layers namely: the user interface, business logic and database.
    The user interface, which is otherwise known as the presentation server displays the interface for users' communication with the SAP system. It is often referred to as the SAP GUI. As a matter of fact, it is a program called sapgui.exe. The application server is where the business logic and data manipulation takes place. Data processing, SAP administration tasks and client request/feedback management are handled within the business layer. The database layer is synonymous to the database server and it typically acts as a data repository for tables and other database objects and structures.
    Ideally, an R/3 system is composed of one database server, one or more application servers and one or more presentation servers. SAP Business One on the other hand is composed of a database server and one or more presentation servers.

  • MAIN DIFFERENCES BETWEEN PARALLEL AND SEQUENTAIL PRCESSING???

    HI PALS,
    I WANT THE COMPLETE DIFFERENCES BETWEEN PARALLEL AND SEQUENTIAL PROCESSING!
    IN THE CONTEXT OF RFC.

    Hi
    Parallel Processing
    To achieve a balanced distribution of the system load, you can use destination additions to execute function modules in parallel tasks in any application server or in a predefined application server group of an SAP system.
    Parallel-processing is implemented with a special variant of asynchonous RFC. Itu2019s important that you use only the correct variant for your own parallel processing applications: the CALL FUNCTION STARTING NEW TASK DESTINATION IN GROUP keyword. Using other variants of asynchronous RFC circumvents the built-in safeguards in the correct keyword, and can bring your system to its knees
    Details are discussed in the following subsections:
    ·        Prerequisites for Parallel Processing
    ·        Function Modules and ABAP Keywords for Parallel Processing
    ·        Managing Resources in Parallel Processing
    Prerequisites for Parallel Processing
    Before you implement parallel processing, make sure that your application and your SAP system meet these requirements:
    ·        Logically-independent units of work:
    The data processing task that is to be carried out in parallel must be logically independent of other instances of the task. That is, the task can be carried out without reference to other records from the same data set that are also being processed in parallel, and the task is not dependent upon the results of others of the parallel operations. For example, parallel processing is not suitable for data that must be sequentially processed or in which the processing of one data item is dependent upon the processing of another item of the data.
    By definition, there is no guarantee that data will be processed in a particular order in parallel processing or that a particular result will be available at a given point in processing. 
    ·        ABAP requirements:
    ¡        The function module that you call must be marked as externally callable. This attribute is specified in the Remote function call supported field in the function module definition (transaction SE37).
    ¡        The called function module may not include a function call to the destination u201CBACK.u201D
    ¡        The calling program should not change to a new internal session after making an asynchronous RFC call. That is, you should not use SUBMIT or CALL TRANSACTION in such a report after using CALL FUNCTION STARTING NEW TASK.  
    ¡        You cannot use the CALL FUNCTION STARTING NEW TASK DESTINATION IN GROUP keyword to start external programs. 
    ·        System resources: 
    In order to process tasks from parallel jobs, a server in your SAP system must have at least 3 dialog work processes. It must also meet the workload criteria of the parallel processing system: Dispatcher queue less than 10% full, at least one dialog work process free for processing tasks from the parallel job.
    Function Modules and ABAP Keywords for Parallel Processing
    You can implement parallel processing in your applications by using the following function modules and ABAP keywords:
    ·        SPBT_INITIALIZE: Optional function module. 
    Use to determine the availability of resources for parallel processing. 
    You can do the following:
    ¡        check that the parallel processing group that you have specified is correct.
    ¡        find out how many work processes are available so that you can more efficiently size the packets of data that are to be processed in your data.
    ·        CALL FUNCTION Remotefunction STARTING NEW TASK Taskname DESTINATION IN GROUP:
    With this ABAP statement, you are telling the SAP system to process function module calls in parallel. Typically, youu2019ll place this keyword in a loop in which you divide up the data that is to be processed into work packets. You can pass the data that is to be processed in the form of an internal table (EXPORT, TABLE arguments). The keyword implements parallel processing by dispatching asynchronous RFC calls to the servers that are available in the RFC server group specified for the processing.
    Note that your RFC calls with CALL FUNCTION are processed in work processes of type DIALOG. The DIALOG limit on processing of one dialog step (by default 300 seconds, system profile parameter rdisp/max_wprun_time) applies to these RFC calls. Keep this limit in mind when you divide up data for parallel processing calls. 
    ·        SPBT_GET_PP_DESTINATION: Optional function module. 
    Call immediately after the CALL FUNCTION keyword to get the name of the server on which the parallel processing task will be run. 
    ·        SPBT_DO_NOT_USE_SERVER: Optional function module. 
    Excludes a particular server from further use for processing parallel processing tasks. Use in conjunction with SPBT_GET_PP_DESTINATION if you determine that a particular server is not available for parallel processing (for example, COMMUNICATION FAILURE exception if a server becomes unavailable).
    ·        WAIT: ABAP keyword
    WAIT UNTIL
    Required if you wish to wait for all of the asynchronous parallel tasks created with CALL FUNCTION to return. This is normally a requirement for orderly background processing. May be used only if the CALL FUNCTION includes the PERFORMING ON RETURN addition.
    ·        RECEIVE: ABAP keyword
    RECEIVE RESULTS FROM FUNCTION Remotefunction
    Required if you wish to receive the results of the processing of an asynchronous RFC. RECEIVE retrieves IMPORT and TABLE parameters as well as messages and return codes.
    Managing Resources in Parallel Processing
    You use the following destination additions to perform parallel execution of function modules (asynchronous calls) in the SAP system:
    In a predefined group of application servers:
    CALL FUNCTION Remotefunction STARTING NEW TASK Taskname
    DESTINATION IN GROUP Groupname
    In all currently available and active application servers:
    CALL FUNCTION Remotefunction STARTING NEW TASK Taskname
    DESTINATION IN GROUP DEFAULT
    Sequential Processing
    In the following cases, the system chooses sequential (non-parallel) processing:
    ●      In table RSADMIN, entry QUERY_MAX_WP_DIAG has value (column value) 1.
    ●      The entire query consists of one sub-access only.
    ●      The query is running in a batch process.
    ●      The query was started from the query monitor (transaction RSRT) using various debug options (for example, SQL query display, execution plan display). See, Dividing a MultiProvider Query into Sub-Queries.
    ●      The query requests non-cumulative key figures.
    ●      Insufficient dialog processes are available when the query is executed. These are required for parallel processing.
    ●      The query is configured for non-parallel processing.
    ●      You want to save the result of the query in a file or a table.
    In Release SAP NetWeaver 7.0, the system can efficiently manage the large intermediate results produced by parallel processing. In previous releases, the system terminated when it reached a particular intermediate result size and proceeded to read data sequentially. This is no longer the case. Therefore, the RSADMIN parameter that was used in previous releases for reading a MultiProvider sequentially is no longer used.
    Reward If Helpfull,
    Naresh

  • What is the difference between tkprof and explainplan

    Hi,
    what is the difference between tkprof and explainplan.

    Execution Plans and the EXPLAIN PLAN Statement
    Before the database server can execute a SQL statement, Oracle must first parse the statement and develop an execution plan. The execution plan is a task list of sorts that decomposes a potentially complex SQL operation into a series of basic data access operations. For example, a query against the dept table might have an execution plan that consists of an index lookup on the deptno index, followed by a table access by ROWID.
    The EXPLAIN PLAN statement allows you to submit a SQL statement to Oracle and have the database prepare the execution plan for the statement without actually executing it. The execution plan is made available to you in the form of rows inserted into a special table called a plan table. You may query the rows in the plan table using ordinary SELECT statements in order to see the steps of the execution plan for the statement you explained. You may keep multiple execution plans in the plan table by assigning each a unique statement_id. Or you may choose to delete the rows from the plan table after you are finished looking at the execution plan. You can also roll back an EXPLAIN PLAN statement in order to remove the execution plan from the plan table.
    The EXPLAIN PLAN statement runs very quickly, even if the statement being explained is a query that might run for hours. This is because the statement is simply parsed and its execution plan saved into the plan table. The actual statement is never executed by EXPLAIN PLAN. Along these same lines, if the statement being explained includes bind variables, the variables never need to actually be bound. The values that would be bound are not relevant since the statement is not actually executed.
    You don’t need any special system privileges in order to use the EXPLAIN PLAN statement. However, you do need to have INSERT privileges on the plan table, and you must have sufficient privileges to execute the statement you are trying to explain. The one difference is that in order to explain a statement that involves views, you must have privileges on all of the tables that make up the view. If you don’t, you’ll get an “ORA-01039: insufficient privileges on underlying objects of the view” error.
    The columns that make up the plan table are as follows:
    Name Null? Type
    STATEMENT_ID VARCHAR2(30)
    TIMESTAMP DATE
    REMARKS VARCHAR2(80)
    OPERATION VARCHAR2(30)
    OPTIONS VARCHAR2(30)
    OBJECT_NODE VARCHAR2(128)
    OBJECT_OWNER VARCHAR2(30)
    OBJECT_NAME VARCHAR2(30)
    OBJECT_INSTANCE NUMBER(38)
    OBJECT_TYPE VARCHAR2(30)
    OPTIMIZER VARCHAR2(255)
    SEARCH_COLUMNS NUMBER
    ID NUMBER(38)
    PARENT_ID NUMBER(38)
    POSITION NUMBER(38)
    COST NUMBER(38)
    CARDINALITY NUMBER(38)
    BYTES NUMBER(38)
    OTHER_TAG VARCHAR2(255)
    PARTITION_START VARCHAR2(255)
    PARTITION_STOP VARCHAR2(255)
    PARTITION_ID NUMBER(38)
    OTHER LONG
    DISTRIBUTION VARCHAR2(30)
    There are other ways to view execution plans besides issuing the EXPLAIN PLAN statement and querying the plan table. SQL*Plus can automatically display an execution plan after each statement is executed. Also, there are many GUI tools available that allow you to click on a SQL statement in the shared pool and view its execution plan. In addition, TKPROF can optionally include execution plans in its reports as well.
    Trace Files and the TKPROF Utility
    TKPROF is a utility that you invoke at the operating system level in order to analyze SQL trace files and generate reports that present the trace information in a readable form. Although the details of how you invoke TKPROF vary from one platform to the next, Oracle Corporation provides TKPROF with all releases of the database and the basic functionality is the same on all platforms.
    The term trace file may be a bit confusing. More recent releases of the database offer a product called Oracle Trace Collection Services. Also, Net8 is capable of generating trace files. SQL trace files are entirely different. SQL trace is a facility that you enable or disable for individual database sessions or for the entire instance as a whole. When SQL trace is enabled for a database session, the Oracle server process handling that session writes detailed information about all database calls and operations to a trace file. Special database events may be set in order to cause Oracle to write even more specific information—such as the values of bind variables—into the trace file.
    SQL trace files are text files that, strictly speaking, are human readable. However, they are extremely verbose, repetitive, and cryptic. For example, if an application opens a cursor and fetches 1000 rows from the cursor one row at a time, there will be over 1000 separate entries in the trace file.
    TKPROF is a program that you invoke at the operating system command prompt in order to reformat the trace file into a format that is much easier to comprehend. Each SQL statement is displayed in the report, along with counts of how many times it was parsed, executed, and fetched. CPU time, elapsed time, logical reads, physical reads, and rows processed are also reported, along with information about recursion level and misses in the library cache. TKPROF can also optionally include the execution plan for each SQL statement in the report, along with counts of how many rows were processed at each step of the execution plan.
    The SQL statements can be listed in a TKPROF report in the order of how much resource they used, if desired. Also, recursive SQL statements issued by the SYS user to manage the data dictionary can be included or excluded, and TKPROF can write SQL statements from the traced session into a spool file.
    How EXPLAIN PLAN and TKPROF Aid in the Application Tuning Process
    EXPLAIN PLAN and TKPROF are valuable tools in the tuning process. Tuning at the application level typically yields the most dramatic results, and these two tools can help with the tuning in many different ways.
    EXPLAIN PLAN and TKPROF allow you to proactively tune an application while it is in development. It is relatively easy to enable SQL trace, run an application in a test environment, run TKPROF on the trace file, and review the output to determine if application or schema changes are called for. EXPLAIN PLAN is handy for evaluating individual SQL statements.
    By reviewing execution plans, you can also validate the scalability of an application. If the database operations are dependent upon full table scans of tables that could grow quite large, then there may be scalability problems ahead. On the other hand, if large tables are accessed via selective indexes, then scalability may not be a problem.
    EXPLAIN PLAN and TKPROF may also be used in an existing production environment in order to zero in on resource intensive operations and get insights into how the code may be optimized. TKPROF can further be used to quantify the resources required by specific database operations or application functions.
    EXPLAIN PLAN is also handy for estimating resource requirements in advance. Suppose you have an ad hoc reporting request against a very large database. Running queries through EXPLAIN PLAN will let you determine in advance if the queries are feasible or if they will be resource intensive and will take unacceptably long to run.

Maybe you are looking for

  • Getting error message when starting Photoshop CS3

    I am getting the following error message when starting CS3: "This application has failed to start because CML4.dll was not found." The window title is, "Photoshop.exe - Unable to Locate Component" Of course, the only button to push is the "OK" button

  • MBP Mid 2014 Bootcamp windows 8.1 installation fails

    Hi, three days ago, my new MBP 15" retina arrived, switching from my "old" 13.3 early 2013 one. After setting up mac system, I had to install bootcamp with windows 8.1 again. This combination Yosemite vs. Windows 8.1 (from exact same media) worked wi

  • PSE 7 won't launch in Vista 64

    I recently got a new PC with Vista 64. I loaded my PSE 7 using the "Windows XP" mode and everything seemed to go well. The desktop icon looked different and the program would not launch. I got the "can't find the file" Looking at the program file, th

  • Min-max report

    Hi, I have place a order for a item. Ordered quantity is 10. Order is closed. But when I run min-max report; i found that on-hand quantity is not change and also the demamd quantity 10 is not reflecting. It is showing some different number 8, i.e ite

  • Auth by Profit Center for FAGLB03

    I am looking to limit the info that can be pulled from FAGLB03 by profit center.  I have tried adding profit center auth objects and SU24- turning on K_PCA from No to Yes. The user is still able to pull all data.  Please assist.