Table performance in azure SQL database

NIKHIL KUMAR 101 Reputation points
2024-07-02T17:20:01.2366667+00:00

We have a azure DWH table of around 60TB, with daily load of around 1GB of data, what would be the best approach to apply data retention policy on the table and improve performance of table at the same time.

Azure SQL Database
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. hossein jalilian 7,055 Reputation points
    2024-07-02T18:25:53.2233333+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    To implement an effective data retention policy and boost performance, consider these actions:

    • Partition the table based on a date column, this allows for efficient data management and query performance improvements.
    • Keep a fixed number of partitions in the active table. this approach helps maintain a consistent table size and query performance.
    • Use columnstore compression to reduce storage requirements and improve query performance
    • Schedule regular index maintenance and statistics updates to ensure optimal query performance.

    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful

    0 comments No comments

  2. Oury Ba-MSFT 19,101 Reputation points Microsoft Employee
    2024-07-03T22:26:24.0566667+00:00

    @NIKHIL KUMAR Thank you for reaching out. From my understanding you are looking to apply a data retention policy and improve performance of a table in azure DWH.

    these are the points you can look at in term of performance of an azure SQL database table.

    For retention policy, see https://video2.skills-academy.com/en-us/azure/azure-sql-edge/data-retention-enable-disable#enable-data-retention-for-a-table

    Regards,

    Oury

    0 comments No comments

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.