欢迎来到天天文库
浏览记录
ID:5469981
大小:287.50 KB
页数:49页
时间:2017-12-14
《sql server 数据库管理系统上的sql查询优化—免费毕业设计论文》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、SQLServer数据库管理系统上的SQL查询优化摘要人们在使用SQL时往往会陷入一个误区,即太关注于所得的结果是否正确,而忽略了不同的实现方法之间可能存在的性能差异,这种性能差异在大型的或是复杂的数据库环境中(如联机事务处理OLTP或决策支持系统DSS)中表现得尤为明显。不良的SQL往往来自于不恰当的索引设计、不充份的连接条件和不可优化的where子句。在对它们进行适当的优化后,其运行速度将有比较明显的提高。为了最有效地优化MicrosoftSQLServer的性能,您必须明确在哪些方面性能可以得到最大程度的改进,并集中分析这些方面。否则,您在这些问
2、题上可能花费大量的时间和精力,而并不能得到明显的性能上的提高。设计一个应用系统似乎并不难,但是要想使系统达到最优化的性能并不是一件容易的事。在开发工具、数据库设计、应用程序的结构、查询设计、接口选择等方面有多种选择,这取决于特定的应用需求以及开发队伍的技能。关键词:SQLServer数据库性能优化查询数据查询查询效率安全性ABSTRACTPeoplewilloftenfallintoaillideawhileusingSQL,namelyitiscorrecttopaycloseattentiontotheresulttotheincomeverymu
3、ch,andhasneglectedtheperformancedifferencethatmayexistbetweendifferentimplementationmethods,thiskindofperformancedifferencebehavesparticularlyobviouslyinthelarge-scaleorcomplicateddatabaseenvironment(suchason-linetransactionprocessingOLTPorDSS).IfindbadSQLcomefromappropriateinde
4、xdesign,fillconnectiontermsandwhereclausethatcan'tbeoptimizedofcopyoftenamongworkingpractice.Aftercarryingonproperoptimizationtothem,itsspeedofoperationimprovesobviously!InordertooptimizetheperformanceofMicrosoftSQLServermosteffectively,youmustdefineinwhichrespectsperformancecan
5、getmaximumimprovement,concentrateonanalysingtheserespects.Otherwise,youareonthesequestionsmayspendalargeamountoftimeandenergy,butcannotreceivetheimprovementonobviousperformance.Itseemseasytodesignaapplicationsystem,butitisnotaneasythingtowanttomakethesystemreachtheperformanceopt
6、imizedmost.Respectofchoosingondevelopinginstrument,databasedesign,structure,inquirydesign,interfaceoftheapplicationprogrametc.hasexcellentchoices,thisdependsonspecificapplicationdemandanddevelopstheskilloftheteam.Keyword:SQLServerdatabasePerformanceoptimizingInquiryDatainquiryIn
7、quireaboutefficiencySecurity目录摘要-------------------------------------------------------------------------------------------1ABSTRACT-----------------------------------------------------------------------------------2第一章综述(绪论)------------------------------------------------------
8、------------------41.1引言-----------------------
此文档下载收益归作者所有