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

  • SEARCH
  • Home
  • 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 123813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T04:20:45+00:00 2026-05-11T04:20:45+00:00

Do you have any formal or informal standards for reasonably achievable SQL query speed?

  • 0

Do you have any formal or informal standards for reasonably achievable SQL query speed? How do you enforce them? Assume a production OLTP database under full realistic production load of a couple dozen queries per second, properly equipped and configured.

Personal example for illustrative purposes (not a recommendation, highly contingent on many factors, some outside your control):

Expectation:

Each transactional unit (single statement, multiple SQL statements from beginning to end transaction boundaries, or a single stored procedure, whichever is largest) must execute in 1 second or less on average, without anomalous outliers.

Resolution:

Slower queries must be optimized to standard. Slow queries for reports and other analysis are moved to an OLAP cube (best case) or a static snapshot database.

(Obviously some execution queries (Insert/Update/Delete) can’t be moved, so must be optimized, but so far in my experience it’s been achievable.)

  • 1 1 Answer
  • 1 View
  • 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. 2026-05-11T04:20:46+00:00Added an answer on May 11, 2026 at 4:20 am

    I usually go by the one second rule when writing/refactoring stored procedures, although my workplace doesn’t have any specific rules about this. It’s just my common sense. Experience tells me that if it takes up to ten seconds or more for a procedure to execute, which doesn’t perform any large bulk inserts, there are usually serious problems in the code that can easily be corrected.

    They way most common problem I encounter in SP:s with poor performance is incorrect use of indexes, causing costly index seek operations.

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

Sidebar

Related Questions

Is there any tool that can parse/conver xml files to this format? I have
I was wondering if there's any way to have a scipy.sparse.csc_matrix format for mlpy
Anyone have any experience yet getting Radiant CMS extensions to actually make it onto
Anyone have any ideas what I can do? Please reserve commenting about using 1.1
Anyone have any idea how to connect to their FTP server? I am using
Anybody have any ideas? The situation is like this: I have a primary rails
Does any one have any idea why this would be happening? This is some
Anyone have any ideas on a good way to model the following scenario in
Anyone have any suggestions on how to make randomized colors that are all greenish?
Does ** have any special meaning in C? Like this: static intparse_one (int argc,

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.