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 8275877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T08:12:32+00:00 2026-06-08T08:12:32+00:00

I have a performance issue. We have a table which goes in to a

  • 0

I have a performance issue.

We have a table which goes in to a couple of million records and we are serving up a web page which hits this table 100’s of times every second (a select). The query is covered by a non-clustered index (wrapped in an SP as well)

My question is for a specific scenario we want to improve the performance, would it be wise for us to create a view which would always yield 300 rows for this scenario and index the view and query the view, or will it make no difference if I query the existing 2M plus table with the covered query?

  • 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-06-08T08:12:34+00:00Added an answer on June 8, 2026 at 8:12 am

    You can create a view that matches your query as much as possible and index it. As I understand it you only want to apply a where clause. This will work and it will cut the runtime cost of the where to zero. It will also remove all IO of rows which don’t qualify. This is a good idea.

    However, you can just use a filtered (covering) index, which is much simpler.

    Fetching a range from a covering index is as fast as it gets. It is incredibly fast. There is no improvement possible.

    The real problem seems to be that you are querying the database 100’s of times! Can’t you fold those queries into one or very few bigger queries? You can use table valued parameters to submit multiple query inputs at once, so to speak.

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

Sidebar

Related Questions

Just like in this topic , I have a performance issue in dev mode
I have this big table which I want to have fulltext search, so I
In my Java application I have found a small performance issue, which is caused
I have several performance issue in my website. I'm using asp.net mvc 2 and
i have a performance issue in my tableview my cellForRow looks like that: if
I've got an performance issue in my application using a MSSQL DB. I have
I have just migrated to mysql 5.5.20 and I had a performance issue with
I have problem with my widget related to performance and memory: Issue : My
I have a jQueryMobile site/app where performance is an issue. I am reading a
I have performance Issues when trying to load a list of contacts. this is

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.