Optimizing Query Performance for Large Table

PS 401 Reputation points
2023-10-18T01:02:25.0333333+00:00

I need help with improving performance on a large table with close to 90 million records. The primary key is alphanumeric and the table is hosted in SQL Managed Instance. Any suggestions or advice would be appreciated.

Thank you.

Azure SQL Database
SQL Server | Other
{count} votes

Accepted answer
  1. Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
    2023-10-18T22:09:50.29+00:00

    Partitioning is not really a feature for better performance.

    But we need to see queries, query plans etc to give any assistance. What you have provided is far too little information.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. LiHongMSFT-4306 31,566 Reputation points
    2023-10-18T01:54:53.8866667+00:00

    Hi @PS

    One way is using SQL table and index partitioning.

    Please refer to this doc for more details: Partitioned tables and indexes.

    Best regards,

    Cosmog Hong


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our Documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.