特级做A爰片毛片免费69,永久免费AV无码不卡在线观看,国产精品无码av地址一,久久无码色综合中文字幕

sql server 數(shù)據(jù)庫管理系統(tǒng)上的sql查詢優(yōu)化.doc

約21頁DOC格式手機打開展開

sql server 數(shù)據(jù)庫管理系統(tǒng)上的sql查詢優(yōu)化,本文共計21頁,20000余字摘要人們在使用sql時往往會陷入一個誤區(qū),即太關(guān)注于所得的結(jié)果是否正確,而忽略了不同的實現(xiàn)方法之間可能存在的性能差異,這種性能差異在大型的或是復(fù)雜的數(shù)據(jù)庫環(huán)境中(如聯(lián)機事務(wù)處理oltp或決策支持系統(tǒng)dss)中表現(xiàn)得尤為明顯。不良的sql往往來自于不恰當(dāng)?shù)乃饕O(shè)計、不充份的連接條件和不可優(yōu)化...
編號:15-18238大小:139.00K
分類: 論文>計算機論文

內(nèi)容介紹

此文檔由會員 bshhty 發(fā)布

本文共計21頁,20000余字
摘要
人們在使用SQL時往往會陷入一個誤區(qū),即太關(guān)注于所得的結(jié)果是否正確,而忽略了不同的實現(xiàn)方法之間可能存在的性能差異,這種性能差異在大型的或是復(fù)雜的數(shù)據(jù)庫環(huán)境中(如聯(lián)機事務(wù)處理OLTP或決策支持系統(tǒng)DSS)中表現(xiàn)得尤為明顯。不良的SQL往往來自于不恰當(dāng)?shù)乃饕O(shè)計、不充份的連接條件和不可優(yōu)化的where子句。在對它們進(jìn)行適當(dāng)?shù)膬?yōu)化后,其運行速度將有比較明顯的提高。
為了最有效地優(yōu)化 Microsoft SQL Server 的性能,您必須明確在哪些方面性能可以得到最大程度的改進(jìn),并集中分析這些方面。否則,您在這些問題上可能花費大量的時間和精力,而并不能得到明顯的性能上的提高。
設(shè)計一個應(yīng)用系統(tǒng)似乎并不難,但是要想使系統(tǒng)達(dá)到最優(yōu)化的性能并不是一件容易的事。在開發(fā)工具、數(shù)據(jù)庫設(shè)計、應(yīng)用程序的結(jié)構(gòu)、查詢設(shè)計、接口選擇等方面有多種選擇,這取決于特定的應(yīng)用需求以及開發(fā)隊伍的技能。
關(guān)鍵詞:SQL Server數(shù)據(jù)庫 性能優(yōu)化 查詢 數(shù)據(jù)查詢 查詢效率 安全性



ABSTRACT

People will often fall into a ill idea while using SQL, namely it is correct to pay close attention to the result to the income very much, and has neglected the performance difference that may exist between different implementation methods , this kind of performance difference behaves particularly obviously in the large-scale or complicated database environment (such as on-line transaction processing OLTP or DSS ). I find bad SQL come from appropriate index design , fill connection terms and where clause that can't be optimized of copy often among working practice. After carrying on proper optimization to them, its speed of operation improves obviously!
In order to optimize the performance of Microsoft SQL Server most effectively, you must define in which respects performance can get maximum improvement , concentrate on analysing these respects. Otherwise, you are on these questions may spend a large amount of time and energy , but can not receive the improvement on obvious performance .
It seems easy to design a application system, but it is not an easy thing to want to make the system reach the performance optimized most. Respect of choosing on developing instrument , database design , structure , inquiry design , interface of the application program etc. has excellent choices, this depends on specific application demand and develops the skill of the team .
Keyword: SQL Server database Performance optimizing Inquiry Data inquiry Inquire about efficiency Security






目 錄
摘 要-------------------------------------------------------------------------------------------1
ABSTRACT-----------------------------------------------------------------------------------2
第一章 綜述 (緒論) ------------------------------------------------------------------------4
1.1 引言----------------------------------------------------------------------------------4
1.2 數(shù)據(jù)庫優(yōu)化概述---------------------------------------------------------------------8
第二章 設(shè)計數(shù)據(jù)庫-------------------------------------------------------------------------8
2.1 熟悉業(yè)務(wù)系統(tǒng)----------------------------------------------------------------------- 9
2.2 規(guī)范化與逆規(guī)范化------------------------------------------------------------------10
2.3 選擇數(shù)據(jù)類型---------------------------------------------------------------------------------10
2.4 選擇索引---------------------------------------------------------------------------------------14
第三章 查詢優(yōu)化----------------------------------------------------------------------------15
3.1 主鍵---------------------------------------------------------------------------------------------15
3.2 通配符------------------------------------------------------------------------------------------19
3.3 視圖---------------------------------------------------------------------------------------------19
3.4 存儲過程---------------------------------------------------------------------------------------20
第四章 總結(jié)----------------------------------------------------------------------------------21
致謝-------------------------------------------------------------------------------------------- 21


第一章 綜述
SQL Server 是一個后臺數(shù)據(jù)庫管理系統(tǒng),他功能強大、操作簡便,日益為廣大數(shù)據(jù)庫用戶所喜愛,越來越多的開發(fā)工具提供了與SQL Server 的接口。了解和掌握SQL Server 的功能,對于一個數(shù)據(jù)庫開發(fā)管理人員來說非常必要。
SQL Server是一種高性能的大型關(guān)系型數(shù)據(jù)庫管理系統(tǒng),廣泛的應(yīng)用在C/S和B/S體系結(jié)構(gòu)的數(shù)據(jù)庫系統(tǒng)中。
評價系統(tǒng)性能優(yōu)化的標(biāo)準(zhǔn)有:吞吐量、響應(yīng)時間、并行能力等。本文主要探討如何優(yōu)化SQL,取得最快的系統(tǒng)響應(yīng)速度。
1.1引言
在一個大型的數(shù)據(jù)庫中,性能成為人們關(guān)注的焦點之一,如何讓數(shù)據(jù)庫高效有效的運行成為廣大數(shù)據(jù)庫管理人員和開發(fā)人員必須要考慮的問題。
何謂“好性能”。。。。。。。。。。。。。。。。
。。。。。。。。。。。。。。。。。。。。。。。
致謝
在本次畢業(yè)設(shè)計中,我從指導(dǎo)老師老師身上學(xué)到了很多東西。楊老師認(rèn)真負(fù)責(zé)的工作態(tài)度,嚴(yán)謹(jǐn)?shù)闹螌W(xué)精神和深厚的理論水平都使我收益匪淺。他無論在理論上還是在實踐中,都給與我很大的幫助,使我得到不少的提高這對于我以后的工作和學(xué)習(xí)都有一種巨大的幫助,感謝他耐心的輔導(dǎo)。
另外,在系統(tǒng)開發(fā)過程中同學(xué)也給于我很大的幫助,幫助解決了不少的難點,使得系統(tǒng)能及時開發(fā)完成