摘 要:隨著數(shù)據(jù)庫技術(shù)的不斷發(fā)展,在各行各業(yè)中數(shù)據(jù)庫都得到了應用,但當下的技術(shù)難以滿足人們對數(shù)據(jù)精準度的要求。在當今的企業(yè)集群中,Linux虛擬服務器(LVS)作為一種負載均衡技術(shù),已經(jīng)得到了廣泛的應用,但由于現(xiàn)實條件的約束,Linux虛擬服務器僅僅對Web服務器集群負載均衡性能展開了研究,忽視了Linux虛擬服務器在特定的情況下,可以實現(xiàn)與數(shù)據(jù)庫集群的對接,本文基于當前的研究現(xiàn)狀,以負載均衡算法的數(shù)據(jù)庫集群為對象,運用HP LoadRunner來對其進行負載均衡性能的實驗,構(gòu)建Linux虛擬服務器下數(shù)據(jù)庫集群負載性能測試的具體方案。
關(guān)鍵詞:Linux虛擬服務器;數(shù)據(jù)庫集群;負載均衡;性能測試分析
中圖分類號:TP311.13 文獻標識碼:A 文章編號:2096-4706(2018)03-0075-03
Load balancing Performance Test and Analysis of Database Cluster Based on LVS
ZHANG Xuhong
(Ningxia Polytechnic,Yinchuan 750004,China)
Abstract:With the continuous development of database technology,database have been applied in all walks of life,but the technology is difficult to meet the requirements of the data precision,in today's enterprise cluster,the Linux virtual server(LVS)as a load balancing technology,has been widely used,but due to the real conditions of constraint,the Linux virtual server only on the properties of the Web server cluster load balancing for research,Ignored the Linux virtual server in certain cases,to achieve docking with the database cluster,this article is based on the current research status,to load balance algorithm for object,database cluster use HP LoadRunner to carry on the experiment,the performance of load balancing built under the Linux virtual server database cluster load performance testing.
Keywords:Linux virtual server;database cluster;load balancing;performance test analysis
0 引 言
大數(shù)據(jù)時代的到來為人們的生產(chǎn)生活帶來了極大的便利,但隨著越來越多的數(shù)據(jù)產(chǎn)生,傳統(tǒng)的數(shù)據(jù)庫難以滿足人們?nèi)找娑鄻踊男枨蟆C鎸@一現(xiàn)狀,對高性能的技術(shù)的需求顯得十分迫切,而數(shù)據(jù)庫集群的發(fā)展使這一問題得到了改善,作為數(shù)據(jù)庫集群中的中心技術(shù),提高集群負載均衡性能是使數(shù)據(jù)庫得到根本優(yōu)化的關(guān)鍵。基于Linux虛擬服務器支持TPC請求做負載均衡虛擬IP,因此,可以利用Linux虛擬服務器架構(gòu)來對數(shù)據(jù)庫集群做負載均衡,從目前的研究現(xiàn)狀來看,LVS的算法性能主要是以Web為基礎(chǔ)的,缺少對數(shù)據(jù)庫集群的負債均衡算法做出分析,為了解決這一問題,本文將通過設計數(shù)據(jù)庫集群負載均衡性能測試,來探尋數(shù)據(jù)庫集群所對應的最高效的負載均衡算法。……