Sign Up

Sign Up to our social questions and Answers to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In


Have an account? Sign In Now

Sign In

Login to our social questions & Answers to ask questions, answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Sorry, you do not have permission to add post.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Oraask Logo Oraask Logo
Sign InSign Up

Oraask

  • Write
    • Add A New Post
    • Ask A Question

Oraask Navigation

Search
Ask A Question

Mobile menu

Close
  • Categories
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Dev Tools
    • Online Compiler
    • Base64 Converter
  • Wiki
    • SQL Tutorials
    • Java Tutorials
    • Python Tutorials
    • JavaScript Tutorials
Home/ Questions/Q 77466
Next
In Process

Oraask Latest Questions

Question
moniz2u
  • 0
  • 0
moniz2uExplorer
Asked: January 17, 20222022-01-17T18:50:19+03:00 2022-01-17T18:50:19+03:00In: Oracle E-Business Suite

Peformance of CST_CG_COST_HISTORY_V view too much slow

  • 0
  • 0

Dear All

When i get the data from CST_CG_COST_HISTORY_V view its performance too much slow . From this view i need to get the last price of Item at specific inventory org. for one item it is working fine , but when i am running for all active item it take too much time .

Regards

Zulqarnain

 

ebsoracle apps r12oracle ebsscm
1
  • 1 1 Answer
  • 321 Views
  • 0 Followers
  • 0
Answer
Share
  • Facebook

    Related Questions

    • How to Initialize Oracle APPS session using SQL Developer
    • Return to Vendor Tables in Oracle APPS R12
    • API to close workflow notifications in Oracle APPS R12
    • Query to Get Supplier Details in Oracle APPS R12
    • Query to get posted AP invoice in Oracle APPS R12

    1 Answer

    • Voted
    • Oldest
    • Recent
    1. Hassan AbdElrahman
      Hassan AbdElrahman Master Oracle ACE Pro ♠ | Oracle Senior ERP Technical Consultant
      2022-01-18T19:56:19+03:00Added an answer on January 18, 2022 at 7:56 pm

      Hello Zulqarnain,
      The slowness you are facing is because of the vast amount of data inside the mtl_material_transactions table. In such cases, there is one check you can do before getting into the solution to avoid scanning all the data inside the table above.
      1- Check the statistics whether it’s up to date or not. To check this, run the query below:

      SELECT NUM_ROWS, LAST_ANALYZED
      FROM DBA_TABLES
      WHERE TABLE_NAME = 'MTL_MATERIAL_TRANSACTIONS';

      compare the total number of rows on the table with the number returned from this query and check the last analyzed date.

      Suppose you found the number of rows so little than the current one or last analyzed date is old; ask the DBA to submit a concurrent program called “Gather Table Statistics” to update the statistics. Then you can try your query again.

      2- The second action is a workaround to avoid accessing all the data on the table MTL_MATERIAL_TRANSACTIONS by converting the column of the last price to be a subquery within your main query or to creating a function to return the last price for each inventory item within an organization. As you said, you are selecting only the price for each item.

      I hope this answer helped you or gave you an insight.
      Hassan

        • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Forgot Password?

    Need An Account, Sign Up Here

    Sidebar

    Adv 250x250

    Explore

    • Categories
    • Questions
      • New Questions
      • Trending Questions
      • Must read Questions
      • Hot Questions
    • Dev Tools
      • Online Compiler
      • Base64 Converter
    • Wiki
      • SQL Tutorials
      • Java Tutorials
      • Python Tutorials
      • JavaScript Tutorials

    Footer

    Oraask

    About

    Oraask is a website for developers and software engineers who want to learn new skills, share their knowledge, and solve their coding problems. Oraask provides free content on various programming languages and topics, such as Oracle, Python, Java, etc. Oraask also allows users to ask questions and get answers from other members of the community.

    About Us

    • About Us
    • Contact Us

    Legal Stuff

    • Privacy Policy
    • Terms & Conditions

    Follow

    Oraask is licensed under CC BY-NC-SA 4.0Oraask CopyrightOraask CopyrightOraask CopyrightOraask Copyright

    © 2019 Oraask. All Rights Reserved
    With Love by Oraask.

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.