tips for optimizing a read-only sql database

后端 未结 7 2203

I have a mid-sized SQL Server 2008 database that has actuarial data in it. All of the use cases for it are read-only queries. Are there any special optimizations I should cons

7条回答
  •  旧巷少年郎
    2021-02-08 11:42

    1. Denormalize the data.
    2. Apply the appropriate indexes.
    3. Precalculate aggregations.
    4. Implement the database atop a striped disk.
    5. I've never seen this done but if you could somehow load the entire thing into memory (RAM disk???) that would be super fast, right?

提交回复
热议问题