Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Denormalizing for Performance.

Author  Topic 

ramdas
Posting Yak Master

181 Posts

Posted - 2002-08-29 : 22:06:03
Hi Folks,
I have a query which has a a large number of joins. This was giving slow performance. Hence the tables were denormalized. Is this the only strategy to improve performance is by denormalizing the tables?
What other factors need to be considered befor denormalizing tables?
Thank you
Bye
Ramdas

Ramdas Narayanan
SQL Server DBA

simondeutsch
Aged Yak Warrior

547 Posts

Posted - 2002-08-29 : 22:22:49
Did you try creating views? They gave my queries, which also involved many joined tables, a tremendous performance boost.

Sarah Berger MCSD
Go to Top of Page

timmy
Master Smack Fu Yak Hacker

1242 Posts

Posted - 2002-08-29 : 23:05:03
Try running an execution plan on the query to see where the bottlenecks are. You can then tune your indexes (indices?) to achieve better performance.
Views will help a bit, mainly because the server doesn't have to work out an execution plan every time it runs the query.

Tim

Go to Top of Page

smccreadie
Aged Yak Warrior

505 Posts

Posted - 2002-08-30 : 09:40:16
The other strategies mentioned should be tried first. You may also either denormalizing or consider writing reporting tables that are populated periodically. It depends on if you need absolute real time queries or not.



Go to Top of Page

ramdas
Posting Yak Master

181 Posts

Posted - 2002-08-30 : 09:56:37
Hi folks,
Thanks a lot for your inputs. I will try out the strategies mentioned.
Bye
Ramdas

Ramdas Narayanan
SQL Server DBA
Go to Top of Page

Page47
Master Smack Fu Yak Hacker

2878 Posts

Posted - 2002-08-30 : 11:20:44
Some reading on "Denormalizing for Performance"...

http://dmreview.com/master.cfm?NavID=193&EdID=5251
http://dmreview.com/master.cfm?NavID=55&EdID=5337
http://www.dbdebunk.com/fp5a.htm
http://www.pgro.uk7.net/normal_science.htm


Jay White
{0}
Go to Top of Page
   

- Advertisement -