- 1、本文档共8页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
L2-1 关于acle数据库的启动和停止
关于Oracle数据库的启动和停止
实验名称:关于Oracle数据库的启动和停止
实验目的:了解Qracle的启动和停止命令
实验环境:Windows 2000,Oracle 9I
实验工具:sqlplus等命令
实验步骤:
一、数据库的启动
要启动或者停止服务,必须拥有sysdba的权限。可以使用两种方式连接
第一、以system用户连接 :
1、进入sql*plus环境;(输入用户名:system 密码:manager):如图:
图1
2、通过命令connect /as sysdba;获得权限
图2
第二、以sqlplus /nolog 命令进入
1、进入dos运行sqlplus /nolog 命令。如图:
图3
2、通过命令connect /as sysdba;获得权限
图4
3、数据库启动使用startup命令,有三种情况
----nomount参数,只启动数据库实例,但不打开数据库,在你希望创建一个新的数据库时使用,或者在你需要这样的时候使用!如图:
图5
-----mount参数,在进行数据库更名的时候采用。这个时候数据库就打开并可以使用了! 如图:
图6
---startup force : 强制启动实例并打开数据库 。如图:
图7
二、关闭数据库
1、要没有sysdba的权限的情况下停止服务:会出现如下情况;如图:
2、通过命令connect /as sysdba;获得权限,如图:
图5
3、获得管理员权权限下可运行关闭数据操作 如图:
图6
4、shutdown有四个参数:
--normal :等待所有用户断开连接时,关闭数据库、卸载数据库和关闭实例。如图:
图7
----immediate在用户执行完正在执行的语句后就断开用户连接,并不允许新用户连接。回滚所有用户事务,关闭数据库、卸载数据库和关闭实例. 如图:
图8
-----transactional 在拥护执行完当前事物后断开连接,并不允许新的用户连接数据库。如图:
图9
-----abort 执行强行断开连接并直接关闭数据库。 如图:
图10
前三种方式不回丢失用户数据。第四种在不的已的情况下,不建议采用!
可以归结为:
normal:等待所有用户断开连接时,关闭数据库、卸载数据库和关闭实例。
immediate:回滚所有用户事务,关闭数据库、卸载数据库和关闭实例. (注意是回滚)。
transactional:当所有用户事务结束时,关闭数据库、卸载数据库和关闭实例
abort:立即终止实例。对用户末交事务,下次启动数据时恢复。
office, branch offices jurisdiction , risk management, marketing management sector through supervision and inspection found problems, should be assigned the investigators are corrected in a timely manner. 27th the fifth chapter penalty under any of the following acts, then the relevant provisions to punish the investigators, according to the Bank. To constitute a crime shall be investigated for criminal responsibility: A on the business that are not involved in the investigation, issued a survey. B customer credit information are not thorough verification. Iii to participate in credit customer survey is not in place, customers and data is incomplete, untrue; he knows bear a counterfeited clients issuing credit. D does not provide for due diligence of credit business, pre-loan investigation form, concealing facts or providing false information or should be found in a normal investigation failed
您可能关注的文档
- IRIG-B码方式.doc
- IPTV 网管库手动安装指导书(Oracle 11g).doc
- J-X系列计量用说明书.doc
- i美股投资研报ihu360.docx
- J2EE全套笔试题(1-4)-JAVA基础.doc
- jackche第二章图形和文本格式_图形和文本格式 15706656.doc
- JAVA 数连接和登录.doc
- Java 工程试题.docx
- JAVA-ST考试系统完整设计文档.doc
- Java23种模式(总结).doc
- 四川省德阳市罗江中学2025届高三考前热身化学试卷含解析.doc
- 山东省枣庄现代实验学校2025届高三下学期第五次调研考试化学试题含解析.doc
- 吉林省长春市十一高中等九校教育联盟2025届高三一诊考试生物试卷含解析.doc
- 2025届江苏省盐城市伍佑中学高考仿真模拟化学试卷含解析.doc
- 2025届广西贺州中学高考冲刺押题(最后一卷)生物试卷含解析.doc
- 安徽省池州市贵池区2025届高三第一次模拟考试生物试卷含解析.doc
- 宁夏银川一中2025届高三(最后冲刺)化学试卷含解析.doc
- 广东省广州市增城区四校联考2025届高考压轴卷化学试卷含解析.doc
- 2025届邯郸市第一中学高考生物必刷试卷含解析.doc
- 2025届安徽省安庆市石化第一中学高考仿真卷化学试卷含解析.doc
文档评论(0)