仓酷云

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1065|回复: 10
打印 上一主题 下一主题

[学习教程] MSSQL教程之计划数据堆栈的注重事项(Part II)

[复制链接]
简单生活 该用户已被删除
跳转到指定楼层
楼主
发表于 2015-1-16 22:27:40 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
限制,如果WHERE子句的查询条件里有不等号(WHEREcoloum!=),MySQL将无法使用索引。类似地,如果WHERE子句的查询条件里使用了函数(WHEREDAY(column)=),MySQL也将无法使用索引。计划|数据
EndUsers

Theendusersarewhoyouaredesigningandbuildingthedatawarehousefor?yourcustomers.Theyrelyontheinformationtheyextractfromthewarehouseinordertoworkmoreeffectivelyandefficiently.Theyalsoultimatelydeterminewhetherornotyourdatawarehouseprojectmetitsstatedgoals.Forthesereasons,yourprojectmustbebuiltaroundprovidingtheenduserswiththeinformationtheyneedinauser-friendlyfashion.

Theprimaryendusersfordatawarehouseinformationarereportrecipientsandquerydesigners.Theyprovidetheresultsoftheirworktothedecisionmakerswhodeterminethecourseofyourorganization.

ReportRecipients

Reportrecipientsaretheendusersmostdependentupontheinformationextractedfromthedatawarehouse.Theyincludebusinessanalysts,financialanalysts,mid-levelmanagers,seniormanagersandexecutives.Althoughsomeofthereportrecipientswillhaveparticipatedinthedesignprocess,theywillhavedifferentperspectivesasendusers.Theywillhavethegreatestinterestsinreportcontentformatandrequirements,timeframeandupdatefrequency,adhocquerycapabilitiesanddrilldown/drillthroughrequirements.

Reportcontentandformatrequirementsdefinewhatinformationispresentedandarranged.Yourenduserswilleachhaveaspecialperspectiveonwhatinformationisimportantintheperiodicreportstheyrelyon.Manytimestheywillneedsimilarsourcedata,butthereportswillcontaindifferentcalculatedvaluesandextrapolations.Evenwhentheyagreeonwhatinformationmustbepresent,theyeachhaveadifferentsetofrequirementswhenitcomestohowtheinformationisarranged.Eachoftheseviewsmustbetakenintoconsiderationwhendefiningyourprojectrequirements.

QueryDesigners

Querydesignersaretechnicallycompetentpeoplewhoaretaskedwithbuildingthequeriesthatprovidethereports.Theyhavetopleasethereportrecipientswhileworkingunderthoselimitationsimposedbythestructureandcontentofthedatawarehouse.

Thequerydesignersareavaluableresourceinthesameareasasthoserepresentedbythereportrecipients,butfromadifferentperspective.Theyfrequentlyaskyoutoincludecalculatedcolumnsthereportrecipientsdontknowarenecessary.Theyalsoaskforsimplerstructureinmanyareas,soastomaketheirquerydesignsmoremanageableandalsodemandhighlydenormalizedtableswhereverpossible.

Management

Managementwilltypicallyprovidethemostdemandingandleastdetailedsetofrequirementsfromthedatawarehouseproject.Youcanexpectsuchrequestsas,"Ineedtoknowhowprofitableweareonaquarterlybasis."or"Whoareourtop100customers?"Youwillthenhavetoworktodefineprofitabilityandtopcustomerintermsthatcanbeappliedtothedatawarehouse.

Managementrequirementsusuallyfallintothreegeneralcategories:strategicreportingandprojections,tacticalreportingandenterprisestandardscompliance.

StrategicReportingandProjections

Strategicreportingandprojectionarelongtermprocessesaimedatpositioningtheorganizationtoremaincompetitiveinthemarketplace.Strategyisdefinedasaplandesignedtoplaceanorganizationinanadvantageouspositionpriortocompetition.Fromthiswecanseethattheinformationneededtosupportstrategicinitiativesconcernslong-termtrendandmarketpenetrationanalysis,long-termrawmaterialinventoryavailabilityandusage,changesinthetechnicalenvironment,workforceprojectionsandcustomerdemographicinformation.Eachmanagementteamwillhaveitsownlistofspecificinformationtheyneedinordertohelpthemformulateoradjustthecorporatestrategy.

TacticalReporting

Tacticalreportingdealswithunderstandinghowday-to-dayoperationsaremeetingstrategicobjectives.Theseshort-termreportsmayconsistofdaily,weekly,monthly,quarterlyorannualanalysesofthecurrentstateofaffairswithintheorganization.Thesereportswillcontainoperationalinformationonsalesstatistics,workforceutilization,inventorymanagementandmeasuresspecifictoeachindustry.Thetimelinessofthesereportsrequiresinformationbemadeavailableasrapidlyaspossibleafteritiscaptured.Itisnotunusualformanagementtorequirethatdailyreportsbeavailablewhentheyarriveforworkonthefollowingday,orthatweeklyreportsbeavailableby9:00AMonMondaymorning.Yourdatawarehousewillhavetobetunedtoprovidetherequiredlevelsofperformance.

EnterpriseStandardsCompliance

Enterprisestandardscomplianceconsistsofinsuringthatallpartsoftheorganizationareworkingintheacceptedmanner.Thereportsthathelpmanagementdeterminetheextenttowhichthisistruecanrangefromverysimple,withonlyafewrows,eachcontainingonlyfourorfivecolumns,tocomplex,multi-pagereports,supportedbypivottablesandcharts.Theextenttowhichyourmanagementteamwishestotrackstandardscompliancewilleffectthelevelofdetailthatyouwillneedtocapture.Forinstance,shouldthemanagementteamwanttoinsurethateachworkgroupiscomplyingwithcorporatestandardsregardingworkhoursandbreaktimes,yourwarehousewillhavetocontainallthepertinentdataoneachemployeesscheduleoveraspecifiedperiodoftime.Youwillalsohavetobuildsummarytablestosupportmoregeneralanalyses.

SystemsStaff

Yoursystemsstaffmemberswillhelpidentifythebesthardware,softwareandconnectivityconfigurationsforyourwarehousingoperation.Theyalsowillhelpyouidentifytherisksandlimitationspresentedbyeachpossibleconfiguration.

Hardware

Hardwareconsistsofalltheprocessing,storageandperipheralcomponentsuponwhichyourdatawarehouseoperationwillreside.Yoursystemsspecialistswillhelpyoumakeintelligentandinformedchoicesregardingmainframe,mid-range,mini-computerorpersonalcomputerprocessing;multipleprocessing,eitherparallelordistributed;distributedorconcentratedstorage;andallthedecisionsthatdeterminethephysicalstructureofyourwarehouseenvironment.

OperatingSystemandSoftware

Insomecases,theoperatingsystem(OS)andsoftwarechoicesavailabletoyouwillbedeterminedbyyourhardwareselections.Inothercases,thehardwarechoiceswillaffect,butnotdictate,theOSandsoftwareoptionsavailabletoyou.Yoursystemsspecialistswillworkwithyoutodeterminewhichcombinationsfityourprojectsneedswhilecomplyingwithcorporatestandards.

Connectivity

Connectivitydealswithallthecomponentsandassociatedcommunicationsthatallowonecomputertosendandreceiveinformationfromanother.Yoursystemteammemberswillprovideyouwithvaluableinformationregardingthechoicesavailable,recommendedconfigurations,currentlyimplementeddesignsandanyenterprisestandardsyourprojectmustcomplyto.

SecurityStaff

Yourorganizationssecurityspecialistsfallintotwomaincategories,information/systemssecurityandfacility/physicalsecurity.Ineachcase,thesespecialistswillprovideyourteamwithinformationvitaltothesuccessofyourproject.

Information/SystemSecurity

Informationandsystemsecurityissuescenteronthreeprimarycategories:authentication,authorizationandusecontrol.

Authenticationistheprocessofinsuringthataparticularindividualisaccuratelyidentified.Authorizationdealswiththosemechanismsthatpreventapersonfromgainingaccesstoapplicationsordatabasestheyshouldnothaveaccessto,whileinsuringaccesstoapplicationsordatabasestheyhasobtainedapprovalfor.Usecontrolisconcernedwithlimitingeachindividualtooperationsthathavebeenidentifiedasappropriatefortheirjobandoperationalfunctions.

Facility/PhysicalSecurity

Facilityandphysicalsecurityissuesareconcernedwithwhereandwhenparticularindividualsmaybeincorporateproperties,whattheycandowhilethereandmakingsurecorporatepropertyissecuredagainstmaliciousdamageandtheft.Threeofthecategoriesoffacilityandphysicalsecurityarethesameasthoseforinformationandsystemsecurity:authentication,authorizationandusecontrolaswellaslossprevention.

Asisthecasewithinformationandsystemsecurity,authenticationistheprocessofinsuringthatanindividualis,infact,whotheypurporttobe.Authorizationconcernstheprocessofallowingonlythosewiththeproperclearancestoenterspecificareaswithincorporatefacilities,whileprovidingcompleteandreadyaccessforthosewhoshouldbethere.Usecontroldealswithinsuringeachfacilityorphysicalstructureisusedinaccordancewithcorporatepolicy,andthosepresentcomplywithallsafetyandregulatoryrequirements.Losspreventioninvolvesprotectingbothcorporateandpersonalpropertyfromtheftorlossthroughothermeans(fire,vandalism,etc.),aswellasprovidingforthesafetyofthoseindividualswhoareworkingatorvisitingatthefacility.

PhysicalMaintenanceStaff

Thephysicalmaintenancestaff?janitors,plumbers,electriciansandfacilitiesplanners?canprovideadditionalinformationtoyourprojectteam.Althoughthisgroupisseldomincludedinprojectrequirementsplanningsessions,theirinputcanbeessential.

Facilities

Assessingthefacilitiesavailabletoyourprojectteamforthedesignanddevelopmentphases,aswellasidentifyingthephysicallocationsforhardwareandforthelong-termwarehouseoperationsteamarevitaltoinsuringtheprojectcanbecompleted.

Ifyouareunabletofindworkspaceandmeetingroomsforyourteammembers,theprojectwillbedelayedatbest.Ifyoufailtoidentifytheroominwhichyourdatabaseserverwillbelocated?andreservetherequiredspaceandutilitiesassoonaspossible?youmayfindyourselfwithacompleteprojectplanandexcellentdesigndocumentation,butwithnoplacetosetthehardware.

Youwillalsoneedtoverifythatteammemberscanaccess,bothphysicallyandthroughtelecommunications,thevariouslocationsassociatedwithyourproject.Theyalsoneedtoknowthedatesandtimesaccessisvalidforeachfacility,andwhat,ifany,priornotificationsandapprovalsarenecessary.

Foreachoftheinvolvedfacilities,youneedatleastsomeparticipationfrompersonnelassignedtothatfacility,primarilythefacilitiesmaintenancestaff.Thesearethepeoplewhocanbestadviseyouonthosefactorsthatwilllimityouroptionsinthisrespect.

MaintenanceSchedules

Thefacilitiesmaintenanceteamswillalsobeabletoadviseyourteamastoscheduledmaintenanceactivitiesthatwillaffectyourprojectschedule.Suchmaintenanceactivitiesinclude:newconstruction,repairs,telecommunicationsupdates,powergridmaintenanceandlargescalepersonnelrelocations.

Thefacilitiesteammemberswillalsobeabletoadviseyourprojectteamonestimateddowntimesforunscheduledmaintenanceactivities.Theseactivitiesaretypicallyassociatedwithexternalproblemscompletelyoutsidethecontrolofyourorganization.Yourorganizationwillmostlikelyhaveaplaninplacefortherestorationofservicesshouldanysuchproblemoccur.Thisistheinformationthatthefacilitiesteammemberscanprovideandthussaveyourteamtheeffortofreconstructingthesupportingestimatesanddisasterrecoveryplans.
由MySQL用来存储数据的文件格式以已经被广泛地测试过,但是总是有外部情况可以导致数据库表被破坏:
简单生活 该用户已被删除
沙发
 楼主| 发表于 2015-3-20 11:04:06 | 显示全部楼层
也可谈一下你是怎么优化存储过程的?
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|仓酷云 鄂ICP备14007578号-2

GMT+8, 2024-5-14 11:41

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表