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. Performance problems with ADM-bib SQL queries involving Z103

    Performance problems with ADM-bib SQL queries involving Z103

    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: 20
    • Relevant for Installation Type: Dedicated-Direct; Direct; Local;


    Sometimes SQL queries across libraries -- such as item ADM queries getting title information from the bib library via the Z103 -- will run for 1/2 hour or and hour and then get an error such as:

    ERROR at line 1:
    ORA-01652: unable to extend temp segment by 128 in tablespace TEMP

    or:

    snapshot too old: rollback segment number 2 with name 'R01' too small

    Resolution:
    We have found that, in some cases, changing:

    substr (z103_rec_key_1,6,9)

    to:

    to_char(substr (z103_rec_key_1,6,9),'FM000000000')

    improves the performance dramatically.

    Also, adding "DYNAMIC SAMPLING", as described in KB 16384-25265 (see link in Additional Information below).

    Additional Information


    KB 16384-25265:  SQL queries slow in Aleph 18-up **MASTER record**

    Category: System management


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Performance problem with publish-04
      • Performing calculations on fields (such as z31_sum ) with CHAR datatype
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 20
      2. contype:kba
      3. Dedicated-Direct
      4. Direct
      5. Local
      6. Prod:Aleph
      7. System management
      8. 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