databaseUselotus

lotus domino  时间:2021-02-20  阅读:()
IBMLotusDominoServerandApplicationPerformanceintheRealWorldAndrewPollack,PresidentNorthernCollaborativeTechnologiesandrewp@thenorth.
comhttp://www.
thenorth.
comWhoAmIAdministrator&Developersinceversion2.
0IBMLotusBeaconAwardWinnerServicesSitePerformanceReviewsLegalCaseConsultingApplicationDevelopmentAdministrativeOverhaulSecurityReview&PenetrationTestingProductsNCTSearchNCTComplianceSearchNCTSimpleSignOnStructuralFirefighterKeyFocusPointsPerformancewithaBigPictureapproachDefiningPerformanceInUserTermsKeyPerformanceChokePointsGeneralConsiderationsCommonGeneralTweaksMakeYourWebSiteFaster!
Developers,Developers,DevelopersServersandSANSandVMs–ohMy!
VirtuallyPerfectionWhengoodINIsettingsgoBad!
FindingYourOwnChokePointsSummaryCanPreventPerformanceProblemsPERFORMANCEWITHABIGPICTUREAPPROACHBigPicture:ThereIsNoMagicNoSingleINIVariable--#1ServerFixFocusOnTheBasics!
NoSuperStorageNetworkNoUltimateNetworkSwitchNoOmnipotentThirdPartyApplicationNober-ConsultantNotEvenMe!
BigPicture:SmallIssuesStackUpPerformanceProblemsArelikesnowflakesIndividually,theydon'tmattermuchatallYounoticethemonlyoncetheystackupForexample:PoorlyPerformingDiskI/O+AgentsChangingManyDocuments+ManyViews(orBADviews)toUpdate==VerySlowSystemThesekindsofproblemscreateafeedbackloop,whichamplifiestheproblemsBewareofINIChangesMyNumberOneServerCrashResponseINIChangesComeFromWellmeaningtipsLowleveltech-supportToomuchtimeonpublicforumsHowtofixmostservercrashesCleanoutALLnon-defaultINIsettingsUnlessyoucanspecificallydocumentwhyit'scriticalCleanoutALLnon-shippingCodeGetridofthosefix-packsthatdidn'tfixtheproblemYes,therearesomegoodchangestomaketotheINIfileDEFININGPERFORMANCEINUSERTERMSIt'snothowyoufeel,itshowyoulook.
Darling,youlookmarvelous!
BillyCrystalPerformanceinUserTermsIftheusermustwaitforsomething,itwillalwaysseemslow–nomatterhowfastyoumakeit.
Nothingisworsethananhourglasscursorandabarslowlymovingacrossthescreen…ExceptNOThavingthebarPerformanceinUserTerms:TipsMoveanythingnotimmediatelyrequiredbytheusertoabackgroundprocessBatchprocessupdatesofdatathatusersdonotneedinstantlyCacheCommonlyReferencedDataHowoftendoyourcommonlookupschangeCountryNamesEscalationLevelsDocumentCategoriesLookuponcewhenthedatabaseisopened,andstorethevaluesasenvironmentvariableslocallyDon'tpop-upmodaldialogboxeswithnochoices!
KEYPERFORMANCECHOKEPOINTSWe'regoingthewrongway,butwe'remakingexcellenttime!
ChokePoints:TheNetworkBandwidthvs.
LatencyBandwidthHowbigaroundisthepipeLatencyHowlongisthepipefromendtoendEvenlighttakesseveralminutestoreachusfromtheSun.
Latencyimpacts"Chatty"connectionsNotesDatabaseOpenMultipleViewLookupsAJAXonWebApplicationsWheredoesLatencyComefromPingtimeslargerthan100msare"high"latency.
WANlinks,Satellitelinks,Modems,andVPN'sareallpronetolatencyissuesMulti-HopconnectionsacrossbufferedroutersandfirewallscanintroducelatencyEncryptionsoftwarecanintroducelatencyDealingwithHighLatencyAvoidopeningandclosingmanydocumentsAvoidDBLookupsbycachingcommonvaluesExample:UseadbopenscripttowritecommonlookupvaluestoalocalenvironmentvariableeachtimetheuseropensthedatabaseUse"RunOnServer"tomovecomplexagentworktotheserver,thereadtheresultfromaprofiledocumentConsiderJSONembeddedonthedocumentinsteadofAJAXlookupsStopusing"NoCache"onyourDBLookupsChokePoints:DiskI/OThisisthe#1,#2,and#3RootperformanceproblemonDominoServerNearlyanyotherperformanceproblemismademanytimesworseiftheDiskI/OisoverwhelmedMostDominoServersarenotwelloptimizedforDiskI/OCommonSourcesofDiskPerformanceProblemsFailuretouseDAOS!
One"Data"driveisusedfortoomuchdatabases,indexrebuilds,temporaryfiles,swapfiles,andeventransactionloggingPoorSANconfigurationforDominovolumesTooheavyarelianceonStorageAreaNetworksPoorchoiceofRAIDconfigurationsForFSMSake,StartUsingDAOS!
DAOSissafe.
Itwilllikelysaveyou50%ormoreofyourstoragespaceReally-Itissafe.
Thatmeans50%ormoresavingsinDISKI/OaswellIt'snotlike"SharedMail"–IpromiseItalsomeans50%lessspaceoneverybackupAndit'ssafe,too!
InthenewestserverversionsitwillalsosavenetworktrafficWheneverPossibleUseMultipleDrivesPutyourtransactionloggingfilesonaseparatedriveMoveyourviewindexingtemporaryfilestoanotherdriveConsidermovingdisk-intensiveapplicationstotheirowndriveIfyoumusthavememoryswapping,giveititsowndriveActiveLogFilesforWebServers,SMTP,etc.
canalsobeoffloadedtotheirowndrivesNotEverythingNeedsItsownDriveThingsthatloadonceandarenotre-accessedfrequentlydonotneedtobeonhighperformanceresourcesTheOperatingSystemApplicationProgramFilesArchivedLogFilesUniqueDrivelettersmaynotbedifferentdrivesInVirtualizedenvironmentsandonaSAN,multiplevirtualdrivesonthesamephysicalvolumedonothelpOneDiskmayhavemultiplepartitionsDifferentpartitionsareNOTdifferentspindlesAllthepartitionsonthesamedrive,sharethesameread-writeheadandareimpactedbydataaccessasasingleentity.
MultipledrivesinaRAIDarraydon'tcountARAIDarrayistreatedbythesystemasasingledrive.
Bydefinition,dataiswrittenacrossthewholearrayThe"Best-Case"ismultipledrivesondifferentdrivecontrollersTooheavyarelianceonStorageAreaNetworksTheSANisnotEvil–Butitisn'tperfecteitherHighSpeed,butHighLatencyASANisaCompromiseTradesthespeedandsimplicityoflocaldrivesforenterprisemanageabilityandflexibilityGoodforBackupDataGoodforBig,SequentialFilesMediaFilesInstallationKitsArchivalDataChokepointforactivedatabaseworkDominowithaSANConsiderthebenefitsofaSANHighlyredundantstorageSinglebackuppointConsolidatedfreespacePerformanceIhaveyettoseeaSANthattrulyoutperformslocalhighspeeddisksNotallDominoDataneedsthesefeaturesTransactionLogs–ConsiderlocalRAIDifpossibleIndexingScratchSpace–UseCheap,Local,FastDrivesIfyou'realreadyclusteringDomino,onlyoneoftheclusteredmachinesmayneedtobeontheSANIfyoudouseaSANWorkwiththeSANteamtoconfigureyourvolumesDedicatedLUN&Disksforeachoftheseifpossible:DominoDataTransactionLogsTempSpaceforviewindexrebuildingOperatingsystem"TEMP"variableNotes.
INI"View_Rebuild_Dir="TelltheSANteamtotreatitlikearelationaldatabaseHighlyReadIntensiveWherecanyoucompromiseCheaplocaldrivesforlow-riskuseMemorySwapFileTemporaryScratchSpaceforViewRebuildsWebServerCacheFilesLogFilesVirtualizationandDominoDominorunsjustfineinVMWARESomeofmybestfriendsarevirtualserversAllmyproduction&developmentserversareinVMsPerformanceissuesareVERYsimilartoSANsDiskI/OisagaincriticaltoDominoperformanceVirtualenvironmentsoftensharediskresourcesVirtualenvironmentsoftenutilizeSANsFollowtheguidelinesforusingDominoonaSANLocal,dedicatedstoragespindleswhereverpossibleDedicatedLUN&DiskswhereveryoucanPoorchoiceofRAIDconfigurationsRAIDisnotALWAYSthebestperformancechoiceSomeCommonTypesofRAIDRAID0Increaseperformance,DecreaseReliability(xnumberofdrives)RAID1IncreaseReliability,NoPerformanceDifferenceRAID5(TheMostCommon)–Uses3ormoredrivesBalanceofredundancyplussomeperformancegainRAID1+0(akaRAID10)TwopairsofRAID1readasaRAID0(Hybrid)RAID0+1TwopairsofRAID0writtenasRAID1(Hybrid)WhyRAIDisn'tALWAYSthebestwayCompetitionforResourcesAnoverallperformancegainwithRAID5of30%(typically)isspreadacrossallthediskI/Oontheserver.
YouaresmarterthanRAIDYoucanputhighlyintensiveresourcesonspecificdrivesorarrays,balancingtheloadmoreeffectivelyMultipleRAIDArraysarenotalwayspossibleExpensiveMultipleDriveBaysPowerHungryDrivesDiskI/O:RethinkingRAIDMostRAIDarraysareconfiguredtoimproveredundancy,notnecessarilyspeed.
NotalldatarequiresredundancyLossofsomedataisverylowriskMemorySwapFilesIndexingscratchspaceTemporaryfilesCachefilesInexpensiveSATAdrivescanbeusedforarealperformancegainSolidStateDrives–VeryfastbutoftennotideaSolidStateDrives(SSD)Alsoknownas"FLASH"drivesGettingmorecommononLaptops,NetbooksReliabilityIssuesareLargelyResolvedVERYFastREADTimesWritePerformanceQuicklyDegradesThisischangingquickly,butstillthecaseformostusesWindows7&WindowsServer2008R2Support"TRIM"http://en.
wikipedia.
org/wiki/TRIMGoodforProgramFiles,JavaLibrariesBadforNSFDatabases,Indexing,TranslogsChokePoints:SystemResourcesTheseshouldbeobviousMoreRAMisbetter–UptowhatissupportedDependingontheOS,youmayneedtopartitionyourservertotakefulladvantageDriveCache–IfyourOSletsyoumanageit,youshouldworktoreallyoptimizethisMostAnti-VirusSoftwareisEVILwhenitrunsagainstDominoDatabasesMakesureyourAVisDominoaware!
DoyoureallyneedAVsoftwarerunningonaDominoServerHint:No,youusuallydon'tMAKEYOURWEBSITEFASTER!
Fasterfaster!
Thelightsareturningred…LetthebrowsercachecommonitemsResourcesthatdon'tchangefrequentlycanbecachedJPGPNGGIFMOVMP3MSIMPGZIPEXEAPPLICATIONDESIGNSTRATEGIESDevelopersreallyLOVEwhenadministratorsgivethemfeedbackChokePoints:ViewsForapplicationperformancetuning,viewsarethefirst,second,andthirdplacetolookViewindexingisverydiskintensive–andcanamplifydiskI/OshortcommingsToupdateaview,afulldatabasescanoftenneedstohappen.
ThatcanbeveryveryslowonlargedatabasesAnyviewperformanceproblemgrowsexponentiallywiththevolumeofdataTheseproblemsareoftennotcaughtintestWHENGOODVIEWSGOBADWhatKillsViewPerformanceUsethe"ManageViews"AdminClientFeatureBadViewDesign:TooMuchDataSwitch@Responesesto@AllDescendantsNOvisibibledifferencetousersCanreduceviewsizesdrasticallyCanYouSetaCUTOFFdateForm="Request"&@ModifiedDominoConfigurationTunerDeliveredasadatabasetemplate(DCT.
NTF)Availableforfree–downloadfromIBMhttp://www-01.
ibm.
com/support/docview.
wssuid=swg24019358EvaluatestheserverandcomparestoknownbestpracticesMakesrecommendationsforchangesRecommendationsaregenerallygood–butnotuniversalDonotfollowblindly–UnderstandtherecommendationfirstDocumentanychangesyoumakesotheycanbeundoneIfsomethingshould"alwaysbeset"acertainway,itwouldbethedefault.
INISETTINGTWEAKSYoureallycameherelookingforcoolINIsettingslikeDominoRunFaster=11Remember–Manyofthesehavebecomethedefaultovertime.
YouareusuallyBetteroffusingthedefaultsettings.
Beespeciallycarefulofoldinisettingsafteryouhaveupgradedtheservertoanewversion.
ObsoleteINIsettingsHURTperformanceSomeNOTES.
INItweaksCOMMENTNOTES.
INIChanges!
Here'ssomethatIuseMailLeaveSessionsOpen=1Forbusymailservers,canspeedupdeliveryUpdate_Fulltext_Thread=1Movefulltextindexingtoitsownthread,distinctfromtheindexer–Thisistheclosestto"runfaster"IhavefoundFtg_use_sys_memory=1UsememoryoutsidetheDominoserverHttpQueueMethod=2LikehavingonelineformultiplecashregistersDefaultin8.
5.
1andlaterAfewmorenotes.
initweaksUseTheseTogether:SERVER_NAME_LOOKUP_NO_UPDATE=1TellstheservertousetheoldindexwhilethenewonecatchesupStartingwith8.
0thisshouldbethedefaultDEBUG_ENABLE_UPDATE_FIX=8191FinetuneswhenthedirectoryindexesgetrefreshedStartingwith8.
0.
1thisshouldbethedefaultSERVER_MAX_CONCURRENT_TRANS=-1Defaultasof8.
03and8.
0–usedtobe20SERVER_POOL_TASKS=100Defaultasof7.
03an8.
0isnow40Usedtobe2timesserver_max_concurrent_trans100isusedinIBMPerferformanceTestingSetlowerifprocessorismaxedAndofcourse…NSF_Buffer_Pool_Size_MBNSF_Buffer_Pool_Size_MB=Verypowerful,butverycomplexChecktheLotusNotesKnowledgebaseStartsataround300NotascriticalasitusedtobeDocumentationSaysitisnowsetAUTOMATICALLYfornon-partitionedServersMyTestingSaysitisalsonowsetAUTOMATICALLYevenforpartitionedServersin8.
5.
xCheckyoursuccesswiththisconsolecommandshowstatdatabase.
database.
b*Don'tchecktoosoonafterachange,itsonlyvalidovertimeNotes8ClientTweakTomaketheEclipsebasedclientloadfasterOpenthisfolder:{NotesProgramDirectory}\framework\rcp\deployPriorto8.
5.
1usethisfolderinstead:{NotesProgramDirectory}\framework\rcp\eclipse\plugins\com.
ibm.
rcp.
j2se.
{Version}Editthefile:jvm.
propertiesChangetheline:vmarg.
Xmx=-Xmx256mSothatitreads:vmarg.
Xmx=-Xmx512mNote:Youcansetithigher,butaimfornomorethanhalfofyouravailableRAMReadersonmyblogoverwhelminglyreportfantasticresultswiththisoneSummaryRepeatAfterme:ThereisNo"RUN_FASTER=1"IwillcleanupmyNOTES.
INIIwillCOMMENTmyNOTES.
INIchangesPerformanceIsn'tMagic,itsPlanningSavetheDiskI/O,SavetheServerLatencyisascriticalasBandwidthWhenindoubt,BlamethedeveloperQuestionsAsknow,don'twaitfortheendandaskquietlyatthepodiumThemostuptodatecopyofthispresentationwillbeonmyblogsite:http://www.
thenorth.
com/apblogAndrewPollack–NorthernCollaborativeTechnologiesandrewp@thenorth.
comhttp://www.
TheNorth.
com*

SugarHosts糖果主机圣诞节促销 美国/香港虚拟主机低至6折

SugarHosts 糖果主机商我们算是比较熟悉的,早年学会建站的时候开始就用的糖果虚拟主机,目前他们家还算是为数不多提供虚拟主机的商家,有提供香港、美国、德国等虚拟主机机房。香港机房CN2速度比较快,美国机房有提供优化线路和普通线路适合外贸业务。德国欧洲机房适合欧洲业务的虚拟主机。糖果主机商一般是不会发布黑五活动的,他们在圣圣诞节促销活动是有的,我们看到糖果主机商发布的圣诞节促销虚拟主机低至6折...

瓜云互联:全场9折优惠,香港CN2、洛杉矶GIA高防vps套餐,充值最高返300元

瓜云互联怎么样?瓜云互联之前商家使用的面板为WHMCS,目前商家已经正式更换到了魔方云的面板,瓜云互联商家主要提供中国香港和美国洛杉矶机房的套餐,香港采用CN2线路直连大陆,洛杉矶为高防vps套餐,三网回程CN2 GIA,提供超高的DDOS防御,瓜云互联商家承诺打死退款,目前商家提供了一个全场9折和充值的促销,有需要的朋友可以看看。点击进入:瓜云互联官方网站瓜云互联促销优惠:9折优惠码:联系在线客...

云俄罗斯VPSJusthost俄罗斯VPS云服务器justg:JustHost、RuVDS、JustG等俄罗斯vps主机

俄罗斯vps云服务器商家推荐!俄罗斯VPS,也叫毛子主机(毛子vps),因为俄罗斯离中国大陆比较近,所以俄罗斯VPS的延迟会比较低,国内用户也不少,例如新西伯利亚机房和莫斯科机房都是比较热门的俄罗斯机房。这里为大家整理推荐一些好用的俄罗斯VPS云服务器,这里主要推荐这三家:justhost、ruvds、justg等俄罗斯vps主机,方便大家对比购买适合自己的俄罗斯VPS。一、俄罗斯VPS介绍俄罗斯...

lotus domino为你推荐
打开网页出现错误为什么打不开网页,出错中国论坛大全有谁知道国内人气最高的论坛排行榜?如何建立一个网站怎样能创建一个网站天天酷跑刷金币天天酷跑如何刷分刷金币?mate8价格华为mate8市场价多少二层交换机什么是三层交换机?什么是二层叫交换机?有什么区别?网站优化方案几种常用的网站优化方法三星s8什么时候上市三星s8什么时候上市 三星s8上市时间如何清理ie缓存怎么清除IE缓存.声母是什么什么是声母
广西虚拟主机 个人域名备案流程 域名抢注工具 东莞电信局 香港加速器 enzu 视频存储服务器 60g硬盘 网通代理服务器 本网站在美国维护 架设服务器 165邮箱 炎黄盛世 183是联通还是移动 双线主机 lol台服官网 100m独享 傲盾官网 国外ip加速器 怎么建立邮箱 更多