Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. v18 SQL query stopped working after applying Service Pack 864-1117

    v18 SQL query stopped working after applying Service Pack 864-1117

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Additional Information
    • Article Type: General
    • Product: Aleph
    • Product Version: 18.01

    Description:
    I have an SQL query that checks for patrons with fines who do not have a type 02 ID record, and thus can't be exported to our financial systems.

    It runs twice a month, and until now hasn't been a problem. But since last week, it won't run anymore. We've left it processing for at least 3 hours with no results. It just sits there eating up 25% CPU.

    The embedded subquery runs quickly by itself, just a couple seconds. And it returns only 3 results. If I type in those 3 keys, instead of using the subquery, then the main query does run in a few seconds.

    I've tried removing all the SUBSTR and using the full z305_rec_key. It doesn't help. I've also rebuilt the z305_id index twice.

    The only thing I can think of that changed since it last ran successfully is that I've installed version 18 service pack 864-1117 (March - Sept. 2007). Several changes in that range worked on Oracle statistics and performance issues. Could that be related to the problem?

    Resolution:
    Making the changes described in the document "Oracle_Optimizer_Changes_for_Aleph_update_apr_30_2007.doc" corrected this problem.

    This document was distributed as an attachment to the email sent to the SysAdmin list on March 31, 2007, with the Subject, "Oracle Analyzed Tables / Statistics / Cost-Based Optimizer with ALEPH 18 / Oracle 10". It was referenced in the entry for SKB 8192-3980 in that email. It is also included as an attachment to the CRM SKB 8192-3980 itself.

    Additional Information

    faq


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • v18 SP 1184 - "Could not find gcc prefix. Exiting"
      • V18 to V20: do we need to install or have the same architecture of a v19?
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 18.01
      2. contype:kba
      3. Prod:Aleph
      4. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved