ImageVerifierCode 换一换
格式:PPT , 页数:38 ,大小:721KB ,
资源ID:5469353      下载积分:12 金币
验证码下载
登录下载
邮箱/手机:
验证码: 获取验证码
温馨提示:
支付成功后,系统会自动生成账号(用户名为邮箱或者手机号,密码是验证码),方便下次登录下载和查询订单;
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

开通VIP
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.zixin.com.cn/docdown/5469353.html】到电脑端继续下载(重复下载【60天内】不扣币)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  
声明  |  会员权益     获赠5币     写作写作

1、填表:    下载求助     留言反馈    退款申请
2、咨信平台为文档C2C交易模式,即用户上传的文档直接被用户下载,收益归上传人(含作者)所有;本站仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。所展示的作品文档包括内容和图片全部来源于网络用户和作者上传投稿,我们不确定上传用户享有完全著作权,根据《信息网络传播权保护条例》,如果侵犯了您的版权、权益或隐私,请联系我们,核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
3、文档的总页数、文档格式和文档大小以系统显示为准(内容中显示的页数不一定正确),网站客服只以系统显示的页数、文件格式、文档大小作为仲裁依据,个别因单元格分列造成显示页码不一将协商解决,平台无法对文档的真实性、完整性、权威性、准确性、专业性及其观点立场做任何保证或承诺,下载前须认真查看,确认无误后再购买,务必慎重购买;若有违法违纪将进行移交司法处理,若涉侵权平台将进行基本处罚并下架。
4、本站所有内容均由用户上传,付费前请自行鉴别,如您付费,意味着您已接受本站规则且自行承担风险,本站不进行额外附加服务,虚拟产品一经售出概不退款(未进行购买下载可退充值款),文档一经付费(服务费)、不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
5、如你看到网页展示的文档有www.zixin.com.cn水印,是因预览和防盗链等技术需要对页面进行转换压缩成图而已,我们并不对上传的文档进行任何编辑或修改,文档下载后都不会有水印标识(原文档上传前个别存留的除外),下载后原文更清晰;试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓;PPT和DOC文档可被视为“模板”,允许上传人保留章节、目录结构的情况下删减部份的内容;PDF文档不管是原文档转换或图片扫描而得,本站不作要求视为允许,下载前自行私信或留言给上传者【精***】。
6、本文档所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用;网站提供的党政主题相关内容(国旗、国徽、党徽--等)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
7、本文档遇到问题,请及时私信或留言给本站上传会员【精***】,需本站解决可联系【 微信客服】、【 QQ客服】,若有其他问题请点击或扫码反馈【 服务填表】;文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“【 版权申诉】”(推荐),意见反馈和侵权处理邮箱:1219186828@qq.com;也可以拔打客服电话:4008-655-100;投诉/维权电话:4009-655-100。

注意事项

本文(sql管理4.ppt)为本站上传会员【精***】主动上传,咨信网仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知咨信网(发送邮件至1219186828@qq.com、拔打电话4008-655-100或【 微信客服】、【 QQ客服】),核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载【60天内】不扣币。 服务填表

sql管理4.ppt

1、Module 5:执行管理任务执行管理任务 概述概述n配置任务配置任务n例行例行SQL ServerSQL Server管理任务管理任务 n自动化例行管理任务自动化例行管理任务 n创建警告创建警告 nSQL Server SQL Server 自动化排错自动化排错n自动化多自动化多SERVERSERVER作业作业u配置任务配置任务n配置配置SQL ServerSQL Server代理代理n配置配置SQLAgentMailSQLAgentMail 和和 SQL MailSQL Mailn配置链接服务器配置链接服务器n设置数据源名字设置数据源名字n配置配置SQL ServerSQL Server在

2、在IISIIS中对中对XMLXML的支持的支持n配置和其他服务器应用共享内存配置和其他服务器应用共享内存配置配置SQL ServerSQL Server代理代理nSQL Server Agent Must Be Running SQL Server Agent Must Be Running a at All Timest All TimeslConfigure SQL Server Agent to auto startlConfigure SQL Server and SQL Server Agent services to restart automatically if these s

3、ervices stop unexpectedlynThe SQL Server Agent Logon Account Must Be Mapped to The SQL Server Agent Logon Account Must Be Mapped to sysadmin Role sysadmin Role lMap this account to the AdministratorsAdministrators local grouplUse a Windows domain user account logon accountnUse Windows Authentication

4、 Mode for SQL Server Agent Use Windows Authentication Mode for SQL Server Agent 配置配置SQLAgentMailSQLAgentMail 和和 SQL MailSQL MailSQLSQLServerServerSQL Mail(SQL Server Service)Executes the xp_sendmailExecutes the xp_sendmailextended stored procedure extended stored procedure SQLAgentMail(SQL Server Ag

5、ent Service)S Sends job and alertends job and alertnotificationsnotifications配置链接服务器配置链接服务器SQLSQLServerServerOLE DB ProviderFileFilesystemsystemOLE DB ProviderSQLSQLServerServer配置和其他服务器应用共享内存配置和其他服务器应用共享内存nConfiguring the Memory OptionsConfiguring the Memory Optionslmin server memorymin server memor

6、ylmax server memorymax server memorynDetermining Maximum Amount of Memory Determining Maximum Amount of Memory nUsing Windows 2000 System Monitor to Observe EffectsUsing Windows 2000 System Monitor to Observe Effects例题例题n54.54.You want to configure SQL Server to notify you by e-mail when an You want

7、 to configure SQL Server to notify you by e-mail when an alert occurs.Which series of steps must you perform?alert occurs.Which series of steps must you perform?A.Configure the SQL Server Agent service to log on as the local system A.Configure the SQL Server Agent service to log on as the local syst

8、em account.Log on to the server running SQL Server as your user account,account.Log on to the server running SQL Server as your user account,and configure e-mail connectivity.Configure the SQL ServerAgent and configure e-mail connectivity.Configure the SQL ServerAgent service to use the resulting e-

9、mail profile.service to use the resulting e-mail profile.B.Configure the SQLServerAgent B.Configure the SQLServerAgent service to log on as a domain user to log on as a domain user account.Log on to the server running SQL Server as the SQL Server account.Log on to the server running SQL Server as th

10、e SQL Server Agent account,and configure e-mail connectivity.Agent account,and configure e-mail connectivity.Configure the SQLServerAgent service to use the resulting e-mail Configure the SQLServerAgent service to use the resulting e-mail profile.profile.nC.Configure the MSSQLServer service to log o

11、n as a domain user C.Configure the MSSQLServer service to log on as a domain user account.account.Log on to the server running SQL Server as the SQL Server account,Log on to the server running SQL Server as the SQL Server account,and configure e-mail connectivity.and configure e-mail connectivity.Co

12、nfigure SQL Mail to use the resulting e-mail profile.Configure SQL Mail to use the resulting e-mail profile.nD.Configure the MSSQLServer service to log on as a domain user D.Configure the MSSQLServer service to log on as a domain user account.account.Log on to the server running SQL Server as your u

13、ser account.and Log on to the server running SQL Server as your user account.and configure e-mail connectivity.configure e-mail connectivity.Configure SQL Mail to use the resulting e-mail profile.Configure SQL Mail to use the resulting e-mail profile.Lab A:Lab A:配置配置 SQL ServerSQL Server例行例行SQL Serv

14、erSQL Server管理任务管理任务 nPerforming Regularly Scheduled TasksPerforming Regularly Scheduled TaskslBack up databaseslImport and export datanRecognizing and Responding to Potential ProblemsRecognizing and Responding to Potential ProblemslMonitor database and log spacelMonitor performanceu自动化例行管理任务自动化例行管理

15、任务 nSQL ServerSQL Server管理的自动化管理的自动化n创建作业创建作业n验证权限验证权限n定义作业步骤定义作业步骤n决定每一作业步骤的逻辑性决定每一作业步骤的逻辑性n计划作业计划作业n创建要通知的操作员创建要通知的操作员n复习和配置作业历史复习和配置作业历史Multimedia Presentation:SQL ServerMultimedia Presentation:SQL Server管理的自动化管理的自动化创建作业创建作业nEnsure That the Job Is EnabledEnsure That the Job Is EnablednSpecify the

16、 Job OwnerSpecify the Job OwnernDetermine Where the Job Will ExecuteDetermine Where the Job Will ExecutenCreate a Job CategoryCreate a Job Category验证权限验证权限nExecuting Transact-SQL JobsExecuting Transact-SQL JobslExecute in the context of the job owner or a specific usernExecuting Operating System Com

17、mands or ActiveExecuting Operating System Commands or ActiveX X Script Script JobsJobslMembers of the sysadminsysadmin role use the SQL Server Agent login accountlJob owners that are not members of the sysadminsysadmin role use a defined domain user account called a proxy account定义作业步骤定义作业步骤nUsing T

18、ransact-SQL StatementsUsing Transact-SQL StatementsnUsing Operating System CommandsUsing Operating System CommandsnUsing ActiveUsing ActiveX X Script Scripts snUsing ReplicationUsing Replication决定每一作业步骤的逻辑性决定每一作业步骤的逻辑性Job 3.Job 2 Back Up Northwind Database Transaction LogJob 1Job 1Northwind Data Tra

19、nsferNorthwind Data TransferWrite to WindowsWrite to WindowsApplication LogApplication LogNotify OperatorNotify Operator NoNoYesYesNoNoNoNoNotify OperatorYesYesYesYesFail?Fail?Fail?Fail?Job Step 3:Custom ApplicationTypeType:Active Scripting;Retry attemptsRetry attempts:0Fail?Fail?Fail?Fail?Job Step

20、2:Transfer DataTypeType:CmdExec;Retry attemptsRetry attempts:2Fail?Fail?Fail?Fail?Job Step 1:Back Up DatabaseTypeType:Transact-SQL;Retry attemptsRetry attempts:1计划作业计划作业Job 2:Back Up Northwind Database Transaction LogJob 2:Back Up Northwind Database Transaction LogSchedule:M-F Shift 1Schedule:M-F Sh

21、ift 1Every 2 HoursEvery 2 HoursFrom:8:00 A.M.To:5:00 P.M.Sun Mon Tues Wed Thur Fri Sat Schedule:WeekendSchedule:WeekendEvery 8 HoursEvery 8 HoursFrom:12:00 A.M.To:11:59 P.M.Sun Mon Tues Wed Thur Fri Sat Schedule:M-F Shift 2Schedule:M-F Shift 2Every 4 HoursEvery 4 HoursFrom:5:01 P.M.To:7:59 A.M.Sun M

22、on Tues Wed Thur Fri Sat Schedule:CPU IdleSchedule:CPU IdleCPU IdleCPU IdleSun Mon Tues Wed Thur Fri Sat 创建要通知的操作员创建要通知的操作员Pager SchedulePager Schedule12:01-8:00 A.M.12:01-8:00 A.M.Meng PhuaMeng Phua 8:01-6:00 P.M.8:01-6:00 P.M.Nwind AdminsNwind Admins 6:01-12:00 P.M.6:01-12:00 P.M.Jose LugoJose Lug

23、oNotify OperatorOperator NameOperator NameMeng PhuaNwind AdminsJose LugoE-mailE-mailNet sendNet sendPagerPagerJob failedJob failedJob failedJob failedJob:Northwind Data Transfer Job:Northwind Data Transfer Job Step 1:Back Up Transaction LogJob Step 1:Back Up Transaction LogJob Step 3:Back Up Databas

24、eJob Step 3:Back Up DatabaseJob Step 2:Transfer Data复习和配置作业历史复习和配置作业历史nReviewing Individual Job HistoryReviewing Individual Job HistorylJob step resultsuccess or failurelExecution durationlErrors and messagesnConfiguring the Job History Size Configuring the Job History Size lRetain information about

25、 each joblHistory overwritten when maximum size is reached例题例题13.13.You implement 10 scheduled jobs on your development server,and you You implement 10 scheduled jobs on your development server,and you verify that they function correctly.You now want to transfer the jobs to verify that they function

26、 correctly.You now want to transfer the jobs to your production server.your production server.How should you transfer the jobs with the fewest administrative steps?How should you transfer the jobs with the fewest administrative steps?A.Script the jobs,and execute the resulting script on the producti

27、on server.B.Back up the msdb database and restore it onto the production server.C.Make the test server a master server,and make the production server a target server.Configure the jobs to run on the target server.D.Manually re-create the jobs on the production server.Lab B:Lab B:创建作业和操作员创建作业和操作员u创建警

28、告创建警告 n利用警报来响应潜在的故障利用警报来响应潜在的故障n将事件写到应用程序日志中将事件写到应用程序日志中n创建响应创建响应SQL ServerSQL Server错误的警报错误的警报n创建用户自定义错误的警报创建用户自定义错误的警报n响应性能条件的警报响应性能条件的警报n制定防故障操作员制定防故障操作员利用警报来响应潜在的故障利用警报来响应潜在的故障User DatabaseUser DatabaseE-mail MessageE-mail MessageFrom:From:SQL ServerSQL ServerTo:To:Account ManagerAccount Manager

29、Subject:Subject:Error Number 50099Error Number 50099Customer 732 was deleted by Eva CoretsCustomer 732 was deleted by Eva Coretsmsdb Databasemsdb DatabaseC Customers Tableustomers TableC CC CustomerIDustomerIDustomerIDustomerIDL LL LastNameastNameastNameastName.731731731731HaruiHaruiHaruiHarui.73273

30、2732732van Damvan Damvan Damvan Dam.733733733733NiikkonenNiikkonenNiikkonenNiikkonen.732732van Damvan Dam.Raise ErrorRaise ErrorRaise ErrorRaise Error50099500995009950099with Logwith Logwith Logwith LogCustomer deletedCustomer deletedCustomer deletedCustomer deletedby Eva Coretsby Eva Coretsby Eva C

31、oretsby Eva Coretssysalerts Tablesysalerts Tableid idid idnamenamenamename1515151550099500995009950099 .sysnotifications Tablesysnotifications Tablealert_idalert_idalert_idalert_idoperator_idoperator_idoperator_idoperator_id1515151512121212 .sysoperators Tablesysoperators Tableid idid idnamenamename

32、name12121212Account ManagerAccount ManagerAccount ManagerAccount Manager .将事件写到应用程序日志中将事件写到应用程序日志中nSQL Server Errors Severity Levels Between 19 and 25SQL Server Errors Severity Levels Between 19 and 25nsp_addmessage or sp_altermessage System Stored sp_addmessage or sp_altermessage System Stored Proc

33、eduresProceduresnRAISERROR WITH LOG StatementRAISERROR WITH LOG Statementnxp_logevent Extended Stored Procedurexp_logevent Extended Stored Procedure创建响应创建响应SQL ServerSQL Server错误的警报错误的警报nDefining Alerts on SQL Server Error NumbersDefining Alerts on SQL Server Error NumberslMust be written to the Win

34、dows application loglSystem-supplied or user-definednDefining Alerts on Error Severity LevelsDefining Alerts on Error Severity LevelslSeverity levels 19 through 25 are automatically loggedlConfigure event forwarding创建用户自定义错误的警报创建用户自定义错误的警报Create the Error MessageCreate the Error MessagelError number

35、 must be greater than 50000lParameter placeholders can be usedRaise the Error from Database ApplicationRaise the Error from Database ApplicationlUse the RAISERROR statementlDeclare variables for parameter placeholdersDefine an Alert on the Error MessageDefine an Alert on the Error Message响应性能条件的警报响应

36、性能条件的警报Alert 3All Databases:Severity Level 18Alert 2Northwind Database:Transfer Data ErrorAlert 1:Alert 1:Northwind Database:Log 75%FullNorthwind Database:Log 75%FullExecute Job:Operators to Notify:Operator NameOperator NameMeng PhuaNwind AdminsJose LugoE-mailE-mailNet sendNet sendJob 2:Back Up Nort

37、hwind Transaction LogJob 2:Back Up Northwind Transaction LogPagerPagerPager SchedulePager Schedule 8:01-6:00 P.M.8:01-6:00 P.M.Nwind AdminsNwind Admins 6:01-12:00 P.M.6:01-12:00 P.M.Jose LugoJose Lugo12:01-8:00 A.M.Meng PhuaThreshold Threshold ReachedReachedat 1:28 A.M.at 1:28 A.M.制定防故障操作员制定防故障操作员Fa

38、il-Safe OperatorFail-Safe OperatorPager SchedulePager Schedule12:01-8:00 A.M.12:01-8:00 A.M.Meng PhuaMeng Phua 8:01-6:00 P.M.8:01-6:00 P.M.Nwind AdminsNwind Admins 6:01-12:00 P.M.6:01-12:00 P.M.Jose LugoJose LugoOperator NotificationOperatorsOperatorsMeng PhuaNwind AdminsJose LugoE-mailE-mailNet sen

39、dNet sendPagerPagerAlert:Error 18204 Alert:Error 18204 Backup Device FaileduSQL Server SQL Server 自动化排错自动化排错n验证是否已经启动验证是否已经启动SQL ServerSQL Server代理代理n验证是否已经启用作业,调度,警报或操作员验证是否已经启用作业,调度,警报或操作员n确保已经启用代理帐户确保已经启用代理帐户n查看错误日志查看错误日志n查看历史记录查看历史记录n验证邮件客户程序是否运行正常验证邮件客户程序是否运行正常警报排错警报排错nFactors That Cause an Ale

40、rt Processing BacklogFactors That Cause an Alert Processing BackloglWindows application log is fulllCPU use is unusually highlNumber of alert responses is highnResolving Alert Processing BacklogResolving Alert Processing BackloglDisable the alert temporarilylIncrease delay between responseslCorrect

41、global resource problemlClear the Windows application logLab C:Lab C:创建警报创建警报u多服务器作业自动化多服务器作业自动化n定义主服务器定义主服务器lCreates MSXOperator on master server and all target serverslRepresents a primary department or business unitn定义目标服务器定义目标服务器lAre assigned to one master serverlReside in the same domain as the

42、 master server定义主服务器定义主服务器TargetTargetServerServerTargetTargetServerServerTargetTargetServerServerMaster Server Master Server defines jobsdefines jobsTarget server downloads jobs from Target server downloads jobs from Target server downloads jobs from Target server downloads jobs from master serverm

43、aster servermaster servermaster server2 2Target server reports job outcome Target server reports job outcome Target server reports job outcome Target server reports job outcome status to master serverstatus to master serverstatus to master serverstatus to master server3 31 12 23 3Use a Domain User A

44、ccount That Is a Member of the Use a Domain User Account That Is a Member of the Windows Local Group AdministratorsWindows Local Group AdministratorsSend Alerts to E-mail Group Aliases Rather Than to IndividualsSend Alerts to E-mail Group Aliases Rather Than to IndividualsDefine Operators to Respond

45、 to Fatal ErrorsDefine Operators to Respond to Fatal ErrorsAssignAssign a a Fail-Safe OperatorFail-Safe OperatorUse Multiserver Jobs to Automate Jobs Across Multiple ServersUse Multiserver Jobs to Automate Jobs Across Multiple Servers推荐练习推荐练习复习复习n配置任务配置任务n例行例行SQL ServerSQL Server管理任务管理任务 n自动化例行管理任务自动化例行管理任务 n创建警告创建警告 nSQL Server SQL Server 自动化排错自动化排错n自动化多自动化多SERVERSERVER作业作业

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        获赠5币

©2010-2025 宁波自信网络信息技术有限公司  版权所有

客服电话:4008-655-100  投诉/维权电话:4009-655-100

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :gzh.png    weibo.png    LOFTER.png 

客服