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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T09:41:51+00:00 2026-06-04T09:41:51+00:00

Starting point : I fill one table with data and in order to compare

  • 0

Starting point:
I fill one table with data and in order to compare the data from run to run, I added a column “run” (Integer).
I keep the last 5 runs. As I keep getting timeouts after 2 runs are in the table, I decided to partition the table on “run”.

What I did:
1. I created the partitioned table with 1000 partitions (I suppose “run” to be from 1 to 1000), maximally only 5 partitions are there, the other 995 are empty and waiting until the moment when the next run gonna be put there.
2. I created partition scheme that uses the partition function described above and keeps all partitions (i.e. 1000) in PRIMARY file group.
3. I partitioned the table on “run”.

Result: no timeout anymore, but the processing time increased by 50%.

Question: which points were suboptimal in my partitioning strategy? Should I have created 5 partitions and changed the way I number the runs?

  • 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-04T09:41:52+00:00Added an answer on June 4, 2026 at 9:41 am

    Partitioning is not a solution for performance issues. You are looking for indexes. Partitioning will slow down processing and the best you can hope for is on-par performance with non-partitioned tables. Partitioning is a good fit for data management scenarios, for fast data move using partition switch (ETL or data expiration).

    You need to investigate why are you getting time outs. An educated guess would indicate table scans (ie. missing indexes). A good methodology is Waits and Queues.

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

Sidebar

Related Questions

So here is the starting point CREATE TABLE #Data ( ID INT IDENTITY(1,1), MyData
I'm newbie in map (or spatial data?) technology. For starting point, I want to
I am looking for some good starting point for developing web-service. I have one
The code bellow is the small starting point for a new way ( for
I am looking for an acceptable starting point for placing applications settings in a
I'm using this code as the starting point to an overhaul of our JavaScript
I have created a simple BuildProvider as a starting point, and althogh I get
I found this question which is a great starting point towards creating embedded widgets
Is there a Rails plugin or a rubygem that gives you a starting point
Iam an F# newbie, I have following starting point: type aB = { ID:

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.