Sign Up

Sign Up to our social questions and Answers Engine 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 Engine 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

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6132475
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:06:25+00:00 2026-05-23T17:06:25+00:00

Using Oracle 10g. The original Oracle designer for this project has moved on and

  • 0

Using Oracle 10g. The original Oracle designer for this project has moved on and those of us remaining are reasonable developer’s for Oracle but we need some tuning and planning assistance.

We have compartmentalized procedures in ‘like’ packages, some (many) of which have grown in size to include many (50 ish) procedures of varying complexities.

At this point several small procedures (select ID from Contract where Item = ‘xyz’) in these larger packages take much longer ‘than expected’ to execute from inside a these packages (from TOAD, SQL Developer, or from .NET Oracle Provider) than it does if the proc is compiled on its own or into a smaller package. (Tables are indexed)

Should there be a performance cost for using such large packages even when calling relatively simple individual procedures or is there some ‘other’ factor we should be looking for?

(note: upgrade to Oracle 11 is planned but not ‘imminent’)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T17:06:26+00:00Added an answer on May 23, 2026 at 5:06 pm

    The first time any method in a package is invoked, the entire package needs to be read into memory. In general, that is supposed to be an advantage on the assumption that if you are calling one method in a package, it’s likely that many related methods will be called either by the one procedure you called or by subsequent application calls. But it does mean that the first execution is potentially slowed by loading much more code may strictly be necessary for the simple function. That penalty should disappear, however, once the package has been loaded into memory. It doesn’t sound like you’re talking about a problem with the performance of the first call of a procedure, though, which would tend to rule this out.

    Is there any code in the package’s initialization block that would run before the small procedure was executed that might be skewing the results?

    How are you determining how long it takes to call these small procedures and what does “much longer” mean? Are you calling them a handful of times and measuring some small number of elapsed milliseconds and seeing, say, a 30% increase in execution times? Or are you calling them thousands of times and seeing a 1000% increase in execution times?

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

Sidebar

Related Questions

Using Oracle 10g, I need to rename a bunch of FK constraints which all
I am using oracle 10g express edition. It has a nice ui for db
I am using oracle 10g and wrote a query like this: SELECT presenttime, employeeid
I have been using Oracle(10g.2) as a PHP programmer for almost 3 years, but
We are using Oracle 10g database, NHibernate, WCF and Silverlight 3.0 in our project
I'm using Allround Automation PL/SQL Developer with Oracle 10g, and today I've noticed that
I'll preface this question by stating that I'm using Oracle 10g Enterprise edition and
I'm using Oracle 10g and need to use a variable in a where clause
I'm using Oracle 10g and I'm trying to stack the conditions in a CASE
I am using Oracle 10g at the moment. I want to search through all

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

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.