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*

iON Cloud七月促销适合稳定不折腾的用户,云服务器新购半年付8.5折,洛杉矶/圣何塞CN2 GT线路,可选Windows系统

iON Cloud怎么样?iON Cloud今天发布了7月份优惠,使用优惠码:VC4VF8RHFL,新购指定型号VPS半年付或以上可享八五折!iON的云服务器包括美国洛杉矶、美国圣何塞(包含了优化线路、CN2 GIA线路)、新加坡(CN2 GIA线路、PCCW线路、移动CMI线路)这几个机房或者线路可供选择,有Linux和Windows系统之分,整体来说针对中国的优化是非常明显的,机器稳定可靠,比...

酷番云78元台湾精品CN2 2核 1G 60G SSD硬盘

酷番云怎么样?酷番云就不讲太多了,介绍过很多次,老牌商家完事,最近有不少小伙伴,一直问我台湾VPS,比较难找好的商家,台湾VPS本来就比较少,也介绍了不少商家,线路都不是很好,有些需求支持Windows是比较少的,这里我们就给大家测评下 酷番云的台湾VPS,支持多个版本Linux和Windows操作系统,提供了CN2线路,并且还是原生IP,更惊喜的是提供的是无限流量。有需求的可以试试。可以看到回程...

DogYun(300元/月),韩国独立服务器,E5/SSD+NVMe

DogYun(中文名称狗云)新上了一批韩国自动化上架独立服务器,使用月减200元优惠码后仅需每月300元,双E5 CPU,SSD+NVMe高性能硬盘,支持安装Linux或者Windows操作系统,下单自动化上架。这是一家成立于2019年的国人主机商,提供VPS和独立服务器租用等产品,数据中心包括中国香港、美国洛杉矶、日本、韩国、德国、荷兰等。下面分享这款自动化上架韩国独立服务器的配置和优惠码信息。...

lotus domino为你推荐
查看端口在电脑上怎么查看端口手游运营手册剑三的方士使开启阴阳之力凝聚而成的魂匣怎么做啊 有详细说明吗会声会影12下载哪里有会声会影12好看视频素材下载bbsxpbbsxp 2008 无法创建数据库怎么样免费装扮qq空间如何免费装扮qq空间ps抠图技巧ps中怎么抠图?中小企业信息化中小企业信息化途径有哪些网易公开课怎么下载如何将网易公开课下载到电脑上?创维云电视功能创维新出的4K超高清健康云电视有谁用过,功能效果怎么样?idc前线求电影敢死队电影里的歌曲!
虚拟主机试用30天 动态域名 vps代理 美国vps评测 vpsio webhostingpad mediafire下载 gitcafe 彩虹ip cpanel空间 日本bb瘦 cdn加速是什么 香港新世界中心 上海服务器 免费网页申请 四核服务器 中国电信宽带测速器 学生服务器 测试网速命令 博客域名 更多