首页 > 编程知识 正文

服务器硬件配置查看命令,数据库服务器配置要求

时间:2023-05-04 00:45:45 阅读:59386 作者:4222

soyouneedtopurchaseanewdatabaseserver,andyoureallydon’tknowwheretostart .

becausetheirmaybedifferentrecommendationsfordifferentos’siamgoingtostickwithlinuxwiththeserecommendations.iwanttosayrighton dwareshouldprobablynotbeafiveminutetask.ithinkyoureallyneedtospendtimereviewingyourapplication it’saccesspatterns,the io cater etc.youjustcan’tdothisinfiveminutesgenerally.butifyourunderthegunandaskedmetospec

asofmarch 10 th 2009 hereiswhatiwouldrecommend (thisaregoingtochangeeveryfewmonthspotentiallywithnewversionsofmysqlnewhardware 333

CPU:

currentlythescalabilityofinnodbbeyond8coresislimited,infactwiththecurrent(unpatched ) )。 releasesyoumayseeaperformanceregressionwithmorethen8cores.wewroteaboutthisbefore.ifyouhavethemoneygowithefastestcpu’sa

Memory:

themorememorygenerallythebetter.hereiwouldshootforanamountofmemorythatwillallow 100 % ofyourhotdatatobeinmemory.ifyoudonotk be hot,agoodguessinmyexperienceis 10-20 % ofthetotaldatabasesize,but that’sgoingtovaryfromapplicationtoapplication.ifyon moreisbetterora 20 % ruleofthumbisbetterthennothing.minimallyplanfor2-4gbofmemorytobeallocatedtotheos.typicallyiwantatatleateal andifihaveareallyactivedatabaseiwantmore (冷艳的银耳汤).When I say 4GB for the OS,thiswillalsobeusedforthemysqlperthreadbufers/thhhhheadbuffers etc.soifyouhavea 24 gbdatabaseandall 24 gbishotorgoingtobeusedfrequentlyimayputin 32 gbofmemoryinmysystemandalllocate 24 GB toi nodbandbandbandation

磁盘:

diskisgoingtobeatoughyin5minutes.youreallyhavetwoconcernshere,diskcapacityiocapacity (think io’sper second ).diskcapacion ineedxgbofdiskspace…mostpeoplecanestimatethisnoproblems.keepinmindwithraidyouwilllosesomerawdiskcapacity (I.e.4160 GB DDD llddyofusablespace ) . a5 minuteanswertoiocapacityisabitmoreofachallenge.oneofthedescisionsyowillneedtomakeifyoucangetbywithinternaldiskoryou nedaryou aboutwhentochooseasan…giveitaread.assumingyourmakingadecisionin5mintesiamgoingtomakeanas sumptionthatyourgoingtolookforinted tsaninmyopinionrequiresalotofthought.soletassumeyouwanttouse nternaldisk.firstifallofyourdatafitsintomemory, itlessonsyourdiskrequirementsabitbutitwillnoteliminatediskio (yourstillgoingtoreadandwritetodisk, but your reads should be lessened ).istronglyurgethatyoukeepthedatabaseandoscompletelyseparate.so that’S2磁盘软件(mirrorotheos . forthedatabaseitypicallyrecommendraid 10 forth edata (raid5maybeokfordatabasewithfewerwrites, I.e. data warehouses ) whichmeansaminimumof4disksforyourdatabase.sothats6diskstostartwith.youcanthenscaleupfromtherereasyourthed withoutmoreanalysisyourgoingtobeguessinghere.intermsofthetypeofdrives, sasorscsiineither 10k or 15 kspeedsareprettystandard.iwouldavoidsatadrivesthatare 10k rpm.ofcoursethiscanallchange,becauseitrer

磁盘控制器:

cacheonyourdiskcontrollerisimportandthemorethebetterinmostcases.makesureyourcontrollerhasabatterybackup,otherwiseitsreatery

网络卡:

purchaseatleasttwonetworkcardsforyoursystem,both full 1g be.typicallyiwouldbondthesetwonicstogethertogivesomeredundancy.alsthed

aquicknoteontheos…makesureyouinstalla 64 bitos!

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。