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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T04:57:07+00:00 2026-05-18T04:57:07+00:00

MarketPlane table contains more than 60 million rows. When I need the total number

  • 0

MarketPlane table contains more than 60 million rows.

When I need the total number of plane from a particular date, I execute this query which takes more than 7 min. How can I reduce this time ?

SELECT COUNT(primaryKeyColumn) 
FROM   MarketPlan 
WHERE  LaunchDate > @date

I have implemented all things mentioned in your links even now I have implemented With(nolock) which reduce response time is to 5 min.

  • 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-18T04:57:08+00:00Added an answer on May 18, 2026 at 4:57 am

    You will have to create an index on the table, or maybe partition the table by date.

    You might also want to have a look at

    SQL Server 2000/2005 Indexed View Performance Tuning and Optimization Tips

    SQL Server Indexed Views

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

Sidebar

Related Questions

I have the following XML from Amazon's Marketplace API. I need to sum all
After android installs an application from the Marketplace, does it keep the .apk file?
I was wondering what the most effective way of preventing people from stealing my
I've installed Maven from the Marketplace , and I'm trying to create a new
Is there a way to open the Windows Phone 7 marketplace from a page
How do you link to an app in the Windows Phone marketplace from within
When I removed my App from wp7 marketplace, what does it mean? - app
I am building a marketplace app for a client and need to be able
I would like to link to Android Marketplace from within my app so I
I have installed Eclipse CDT and CDT Visual C++ Support (from the Yoxos Marketplace).

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.