OSIsoft PI 时序数据库核心技术_第1页
OSIsoft PI 时序数据库核心技术_第2页
OSIsoft PI 时序数据库核心技术_第3页
OSIsoft PI 时序数据库核心技术_第4页
OSIsoft PI 时序数据库核心技术_第5页
已阅读5页,还剩43页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

OSIsoftOverview,DevelopmentsinthePISystemFamilyofProductsGreggLeBlancPISystemProductManager,WhyScalability?,MoredatacanbetrackedeverydayPhoneshaveGPSlocationdataReal-timemonitoringinthehomeElectricalusageSecuritysystemsFire/FlooddetectionITApplicationsEverymachineonanetworkneedsmonitoringExample:700,000homesx10datapoints=7,000,000points,Benefits,ITMonitoringcandetectIntrusionsImpendinghardwareproblemsDiagnosesoftwareproblemsVirustrafficExample:BecauseWiredCitycoulddetectandrecordtheamountofinboundtrafficfromtheNimdaworm,theygotarefundfromMCIWorldcom,WhereisPIToday?,100,000+DataStreams100sofsimultaneousclients300+Interfaces6,500+Customers1,000sofeventsrecorded/sec,IssuesWithinScalability,AscalablesystemhasseveralaspectsUsersservedCalculationsandanalysisIntegrationissuesDatacapacityDatathroughputSecurityInfrastructure,UserLoad&Integration,UsersneedfastaccesstothedataClient/ServerusersStatelessUsersClient/ServerusersconnectdirectlytoPIStatelessUsersBroaderaudiencePIICEWebservicesandintegration,ServerManager(PISDK),SafelyexposesPIdataThePITrustTableretainspointbypointsecurityConnectionmanagementbalancesuserrequests,InternetInformationServer(IIS),Browser,SecurityinICE,PIWebService,PISDK,SOAPMessages,PIEnterpriseServer,PIPointSecurity,WindowsAuthentication,(AggregatedQueries),PITrustTable,ConnectionsinICE,Elvispidemo,Nortonpiadmin,Alicepialice,Rickypiadmin,PISystem,Lucypidemo,ICE,Norton,Ricky,Alice,Elvis,Lucy,PISDKServerObjects1peruniquePIuser,1TCP/IPConnectionperserver,PISDK,SessionManager,UnderlyingWebServiceStructure,PIICEWebServicesLayer,ICEWebParts,ICEWebParts,ICEWebParts,ICEWebParts,PISDK,PIServer,OtherHistorians,RelationalDatabases,DCSSCADALIMS,LooselyCoupledApplications,TightlyCoupled,WebServicesLayer,LooselyCoupledComputing,TheideaofWebservicesAllowsforcomputinginanenvironmentthatis:AsynchronousStatelessPlatformindependentGeographicallyindependentWillreplacesome“tightlycoupled”computing,TightlyCoupledComputing,Infrastructure-leveltiesbetweensystemsUsesAPIcallsUsuallyproprietaryNotasflexibleExamples:PIInterfacestootherinformationsystemsOLEDB/ODBCconnectorsPoint-to-Point,Middleware,andotherintegration,WebServiceIntegration,LooselycoupledapplicationsbuiltonWebServiceIntegrationSpace,TraditionalTightlyCoupledIntegrationSpace,ICE,KPI,Reports,Auditing,ERP,Quality,WebServices,PIBatchWebservices,RelationalDBWebservices,PIAuditingWebservices,ERPWebservices,PIICEWebservices,WebServicesIntegrationSpace,Infrastructure,OSIsoftismovingto.NETOlderapplicationswillmigrateNewapplicationswillleveragethe.NETFrameworkManagementtoolswilluse.NETNewtoolscomingforSMT(SystemsManagementTools)PartsofthePISystemwillbeaccessiblethrough.NET,DistributedAnalysis,ServerBasedPerformanceEquationsDesktopBasedSpreadsheetsbasedonDataLinkDistributedCalculationsPIACEServerloadreducedCalculationscanbereused,SecurityConcerns,IsntMicrosoftavulnerability?Overthelastyear26vulnerabilitiesinApache22inMicrosoftsIISKeyissue:systemmaintenanceWhataboutNimda?250,000systemsin9hoursAtleast$2.4BindamagesInfectionstartedJuly13,2001PatchwasavailableJune18,2001(MS01-033),SecurityResponse,Moreaccountability:MicrosoftNIPC(NationalInfrastructureProtectionCenter)workswithNERCandMicrosofttodevelopsecurityproceduresandstandardsKeyprecautionsstillremainGuardagainstsocialengineeringSystemmaintenanceUnknownvulnerabilitiesWiFi,wardrivingUnprotectedmodemlinesusedforsupport,OSIsoftSecurity,PIPointSecurityTrustTableSingledirectionPItoPItransfersAuditingAnewdatabasethatrecordschangestoPIPointsValuesModulechanges,WhatsBeenCovered,HandlinguserloadCalculationsIntegrationdemandSecurityInfrastructureMillionpointPISystems,HistoryoftheHistorian,PI11983HP-10001985Vax-VMS1988PINetClient/ServerArchitecturePI21992Vax-VMS1994Alpha-OpenVMSPI31993DesignWork,HistoryoftheHistorian,PI3Big4UnixHP-UXIBM-AIXDec-OSF/1Sun-SolarisWindowsNT3.51DevelopmentLanguageC+,HistoryoftheHistorian,PI3KeyconceptsofPI2wereusedSnapshotCompressionArchivecacheArchivenavigationPINet,HistoryoftheHistorian,PI3KeynewconceptsMulti-processRPCBasedInter-processcommunicationPISDKHistorizationofmanydifferentdatatypesDoublesStringsBLOBsCommoncodebaseforallplatforms64bitsupport,PI3OriginalRelease,PI3.0ReleasedNovember19951,000to100,000+PointsUpto2000eventsperseconds,PI3.0toPI3.3,Howmuchcanyoudoin7years?ConcentratedonfeaturesAlarmACETotalizerPISDKBatchDatabaseModuleDatabaseAuditNTSecurityCOMConnectorsDevelopmentInfra-structureAutomatedbuildsandtestingBugfixes(justafew),Scaling,1996Typicalsystem100KpointsDatarates2000Events/Second2002Manysystemsapproaching150KpointsUpto10,000Events/Second,Scaling,1995IntelPentiumProProcessor2P200MHz2002IntelXeonProcessor4P1.6GHz,Scaling,ThePIdataratesreflectincreaseinprocessorspeed.PointCountdoesnot.Limitationisnotprocessorspeed.,LimitationsinPI3.3,Memory2GBofvirtualmemoryperprocessArchivecacheInter-processcommunicationCompressedeventsfromsnapshottoarchiveSerializationofRPCsArchivesub-systemhandlesonecallatatime,Memory,PIDatabasesarememoryresidentPointdatabaseModuledatabaseSnapshotPIArchiveCache,PI3.3CacheMemoryIssues,Cacherecordcanbequitelarge.AddingasingleeventrequiresentirecacherecordSystemsreceivingdataformostpointswillhavealargememoryfootprintLotsofcacheactivityPushingrecordsoutofmemoryReadingrecordsintomemory,PI3.4ArchiveCache,TypicalPISystemMajorityofpointsreceivedataregularlyAddeventsNeweventsreceivedinorder,andnearcurrenttime,ThePI3.4Cache,AddressesMemoryIssuesSmallermemoryfootprintMoreefficienthandlingofneweventsSameefficiencyreadingdataDesignTradeoffsMorecomplicated,3.3SnapshotArchiveInter-processCommunication,CurrentMechanismEventreceivedisprocessedbythecompressionalgorithm.Ifpassescompressioneventisaddedtoin-memoryeventqueueEventsinqueuearepackagedandsentviaanRPCtothearchiveprocess,3.3SnapshotBuffering,ArchiveunabletoprocesscompressedeventsBackupsExtremelyhighdataratesSystemproblemsSnapshotmustwriteto“eventqueue”fileArchivemustreadfromtheSnapshoteventqueueResult2physicaldiskI/Oshappenonsamefile,3.4SnapshotArchiveInter-processCommunication,ChangedphysicalfiletomemorymappedfileFilesystemfeatureMappedbySnapshotandArchiveSnapshotwritescompressedeventsto“file”Archivereadscompressedeventsfrom“file”SynchronizationtechniquesrequiredtopreventcorruptionBufferingcasehandledbyfilesystem,Limitation3:RPCSerialization,PI3.3allsub-systemsaresinglethreadedRequeststosub-systemsareserializedArchiveexample3simultaneouscallsArchiveSummaryPlotvaluesCompressedvalues,RPCSerializationSolution,MultipleThreadsThreadsaretheobviousapproachUnixandNThaveverypowerfulandeasytousethreadingmodelsConceptuallySimpleBut,easytowritebugs,Multi-ThreadinginPI3.4,PI3hadsomethreadingsincetheoriginalreleasePINetManagerSub-systemsuseathreadforreadingmessagesPI3.4Sub-systemLevelthreadmodelMain“housekeeping”threadReadthreadMessagepumpPoolofworkerthreads,Multi-ThreadinginPI3.4,PI3.4Sub-systemLevelthreadmodelEverysub-systemismulti-threadedSub-systemmustimplementlocksforoptimalperformanceWorkerthreadpoolisconfigurableRuntimeKillthreadsSuspendthreadsChangepriorityAddworkerthreadsDeleteworkerthreads,Multi-ThreadinginPI3.4,Whatdoesthisgetus?Thearchivecallfrom.Wontkillyoursystem.Whatwill10archivecallsform.dotomysystem?Longtime1=100Longtime2=1134289piar_summary(1023453,&time1,&time2,&rval,&pctgood,ARCTOTAL),PIon64BitWindows,Oneadvantage:largeraddressablememory32bit:2GB64bit:16128GBXP-64:16GB.NetEnterpriseServer:64GB.NetDataCenter:128GB,PIon64BitWindows,Disadvantages:SlowerVerysensitivetoproperlyoptimizedcodeServersonly64bitWindowsisnotintendedtoreplace32bitdesktops.O

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论