question

Katie 1 avatar image
Katie 1 asked

Performance gain from the Large tables

All, Partitioning is the best option considered when talking about gaining performance. But partitioning is not availble in sql server 2008 starndard. I read about the partioned views, but it appears that these views are not updatable. I am not sure if there is enough budget for upgrading sql server standard to enterprise, what otherway can i achive this performance.not needding to make changes how the frontend application is accessing the data right now. Thanks,
sql-server-2008partitioningstandard
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Grant Fritchey avatar image Grant Fritchey ♦♦ commented ·
One thing worth noting, partitioning is frequently of only marginal value for performance. It's primarily a tool to enhance data management, not performance tuning.
0 Likes 0 ·
Cyborg avatar image
Cyborg answered
You can do [Horizontal partitioning][1] your tables into your tables into different filegroups and disk, this will also improve performance as the data sperad across multiple disk. [1]: http://msdn.microsoft.com/en-us/library/ms178148.aspx
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

JohnM avatar image
JohnM answered
You can also look at the data and archive what you don't need. If you don't need the entire table, archive off the data and make it smaller, thus getting a potential performance increase. Are you seeing specific performance issues? Is the performance issue with just certain queries or is the entire server slow? Any missing indexes? Is your SAN disk blocks sized correctly? There are a slew of things that you might be able to tweak that might help. Of course, you can always throw hardware at it. If the server is memory bound, that might be a quick (and sometimes much cheaper) fix than upgrading the server license. Just throwing out additional ideas.
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Chris shaw avatar image
Chris shaw answered
I agree with John, You might want to take a step back and look at what is being stored, and do you need all that data. Look at the way that data is being accessed, one of the things that I did recently for a client that was not able to use all of the features of SQL Server was to generate them a pre-aggregated table with results that were much smaller than the source table, but it was the way that they looked at the data. Is there a way that you can move the data around, split it up, and create some indexed views, or maybe in a federated database. I think you have a lot of options.
2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Katie 1 avatar image Katie 1 commented ·
But to access those tables, there needs to be code changes in the application level right, is there any slightest way of not having to change much?
0 Likes 0 ·
Chris shaw avatar image Chris shaw commented ·
It really depends on how your application accesses the data, if it is all in stored procs and views, then you have a layer between that you can move around in. If there is direct table access from the app then you are right, there is no abstraction layer and you may have to change the app.
0 Likes 0 ·
Zahid avatar image
Zahid answered
Agree with John. Just there could be couple of things to check for better performance. Like: Index (Clustered and Non-Clustered), Index fragmentation (both internal & External), Statistics; Memory configuration (setting maximum memory for SQL Server) this has very large affect in performance( experienced), Paging; More spindle in the disks. loads on your SAN disk i/o, number & type of processor (hardware), also code; I think table partitioning could be the last option.
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Dave Morrison avatar image
Dave Morrison answered
I think John hit this one on the head, perf tuning is a pretty wide topic. You need to consider what your perf challenges are before you look for a solution. I'm sure you have already done this, if so please share :)
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.