Hi all,I am getting a performance issue that is slowing my server to a crawl, I have a view on the frontpage of my site that seems to be causing some performance issues, my site has recently started getting between 10 - 20k hits a day. My friend suggested I put the view in a stored proc then insert the data into a table - this could be ran when the view was updated. What do you think?view:SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOALTER view [dbo].[frontpageSpecials] asselect top 7 * from (select departuredate = convert(varchar, departuredate, 3),departureairportname,duration,country,resort,boardshort,price,pricebasedon,id,rating,'/holiday/special-offer/?id=' as tablename from vholiday where frontpage = 1union allselect departuredate = convert(varchar, departuredate, 3),departureairportname,duration,country,resort=city,boardshort,price,pricebasedon=pricefor,id,rating,'/city/special-offer/?id=' as tablename from vcitybreaks where frontpage = 1union allselect departuredate = convert(varchar, availablefrom, 3),departureairportname,duration,country,resort=city,boardshort,price,pricebasedon=pricefor,id,rating,'/travel/special-offer/?id=' as tablename from vluxury where frontpage = 1 ) as u1 order by 1 desc
I want to build a spaceship with ligthspeed capabilities and I don't even know what a wrench is.