﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>语源科技BlogJava-My dream.</title><link>http://www.blogjava.net/lester/</link><description /><language>zh-cn</language><lastBuildDate>Tue, 28 Apr 2026 19:00:10 GMT</lastBuildDate><pubDate>Tue, 28 Apr 2026 19:00:10 GMT</pubDate><ttl>60</ttl><item><title>Oracle 9i的数据库服务器有6种启动的方式</title><link>http://www.blogjava.net/lester/archive/2008/10/08/233177.html</link><dc:creator>laster</dc:creator><author>laster</author><pubDate>Wed, 08 Oct 2008 09:06:00 GMT</pubDate><guid>http://www.blogjava.net/lester/archive/2008/10/08/233177.html</guid><wfw:comment>http://www.blogjava.net/lester/comments/233177.html</wfw:comment><comments>http://www.blogjava.net/lester/archive/2008/10/08/233177.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.blogjava.net/lester/comments/commentRss/233177.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/lester/services/trackbacks/233177.html</trackback:ping><description><![CDATA[<span  style="color: #644823; font-family: Arial; font-size: 14px; line-height: 20px; ">服务器启动的6种方式<br style="line-height: normal; " />
<br style="line-height: normal; " />
&#160;&#160;&#160;&#160; Oracle 9i的数据库服务器有6种启动的方式，如表3.3所示。<br style="line-height: normal; " />
表3.3 服务器启动的6种方式
<table width="70%" style="table-layout: auto; line-height: normal; ">
    <tbody style="line-height: normal; ">
        <tr align="center" style="line-height: normal; ">
            <td style="font-family: Arial; word-wrap: break-word; word-break: break-all; visibility: visible !important; filter: none; font-size: 12px; line-height: normal; ">方式</td>
            <td style="font-family: Arial; word-wrap: break-word; word-break: break-all; visibility: visible !important; filter: none; font-size: 12px; line-height: normal; ">特点</td>
        </tr>
        <tr style="line-height: normal; ">
            <td style="font-family: Arial; word-wrap: break-word; word-break: break-all; visibility: visible !important; filter: none; font-size: 12px; line-height: normal; ">正常启动</td>
            <td style="font-family: Arial; word-wrap: break-word; word-break: break-all; visibility: visible !important; filter: none; font-size: 12px; line-height: normal; ">启动装载和打开数据库，用户可以进行正常访问</td>
        </tr>
        <tr style="line-height: normal; ">
            <td style="font-family: Arial; word-wrap: break-word; word-break: break-all; visibility: visible !important; filter: none; font-size: 12px; line-height: normal; ">不装载启动</td>
            <td style="font-family: Arial; word-wrap: break-word; word-break: break-all; visibility: visible !important; filter: none; font-size: 12px; line-height: normal; ">在未装载数据库的情况下启动服务器，由于未打开数据库，所以不允许用户访问</td>
        </tr>
        <tr style="line-height: normal; ">
            <td style="font-family: Arial; word-wrap: break-word; word-break: break-all; visibility: visible !important; filter: none; font-size: 12px; line-height: normal; ">装载启动</td>
            <td style="font-family: Arial; word-wrap: break-word; word-break: break-all; visibility: visible !important; filter: none; font-size: 12px; line-height: normal; ">启动服务器并装载数据库，但不打开数据库。不允许用户访问</td>
        </tr>
        <tr style="line-height: normal; ">
            <td style="font-family: Arial; word-wrap: break-word; word-break: break-all; visibility: visible !important; filter: none; font-size: 12px; line-height: normal; ">强制启动</td>
            <td style="font-family: Arial; word-wrap: break-word; word-break: break-all; visibility: visible !important; filter: none; font-size: 12px; line-height: normal; ">强制启动未能正常关闭或正常启动的服务器</td>
        </tr>
        <tr style="line-height: normal; ">
            <td style="font-family: Arial; word-wrap: break-word; word-break: break-all; visibility: visible !important; filter: none; font-size: 12px; line-height: normal; ">限制会话启动</td>
            <td style="font-family: Arial; word-wrap: break-word; word-break: break-all; visibility: visible !important; filter: none; font-size: 12px; line-height: normal; ">只有具备&#8220;限制会话&#8221;（Restricted Session）系统权限的用户才能连接到数据库</td>
        </tr>
        <tr style="line-height: normal; ">
            <td style="font-family: Arial; word-wrap: break-word; word-break: break-all; visibility: visible !important; filter: none; font-size: 12px; line-height: normal; ">只读启动</td>
            <td style="font-family: Arial; word-wrap: break-word; word-break: break-all; visibility: visible !important; filter: none; font-size: 12px; line-height: normal; ">只读方式只允许用户查询打开的数据库，因此不可能进行联机数据库修改</td>
        </tr>
    </tbody>
</table>
<p style="line-height: normal; ">&#160;&#160;<font color="#ff0033" style="line-height: normal; "><strong style="line-height: normal; ">&#160;正常启动<br style="line-height: normal; " />
<br style="line-height: normal; " />
</strong></font>&#160;&#160;&#160;&#160; （1）如图3.40所示。<br style="line-height: normal; " />
&#160;&#160;&#160;&#160; （2）出现如图3.41所示的【启动选项】界面。单击&#8220;确定&#8221;按钮。<br style="line-height: normal; " />
<img height="329" src="http://www.exam8.com/computer/UploadFiles/200504/20050402104900858.JPG" width="596" style="line-height: normal; "  alt="" /><br style="line-height: normal; " />
&#160;&#160;&#160;&#160; （3）服务器启动完毕，出现如图3.42所示的界面。<br style="line-height: normal; " />
&#160;&#160;&#160;&#160; （4）正常启动例程后，例程状态绿灯亮，表明数据库已经正常打开可以进行连接访问，如图3.43所示。<br style="line-height: normal; " />
<img height="259" src="http://www.exam8.com/computer/UploadFiles/200504/20050402104901912.JPG" width="607" style="line-height: normal; "  alt="" /><br style="line-height: normal; " />
<br style="line-height: normal; " />
&#160;&#160;&#160;<font color="#ff0033" style="line-height: normal; "><strong style="line-height: normal; ">&#160;不装载启动<br style="line-height: normal; " />
</strong></font><br style="line-height: normal; " />
&#160;&#160;&#160;&#160; （1）如图3.44所示为【启动选项】界面。单击"确定"按钮。<br style="line-height: normal; " />
&#160;&#160;&#160;&#160; （2）出现如图3.45所示界面，单击"关闭"按钮。<br style="line-height: normal; " />
<img height="262" src="http://www.exam8.com/computer/UploadFiles/200504/20050402104901938.JPG" width="565" style="line-height: normal; "  alt="" /><br style="line-height: normal; " />
&#160;&#160;&#160;&#160; （3）如图3.46所示。<br style="line-height: normal; " />
<img height="255" src="http://www.exam8.com/computer/UploadFiles/200504/20050402104901728.JPG" width="555" style="line-height: normal; "  alt="" /><br style="line-height: normal; " />
（3）如图3.46所示。<br style="line-height: normal; " />
&#160;&#160;&#160;&#160; （1）如图3.47所示为【启动选项】界面。<br style="line-height: normal; " />
&#160;&#160;&#160;&#160; （2）出现如图3.48所示界面。<br style="line-height: normal; " />
<img height="325" src="http://www.exam8.com/computer/UploadFiles/200504/20050402104901897.JPG" width="544" style="line-height: normal; "  alt="" /><br style="line-height: normal; " />
&#160;&#160;&#160;&#160; （3）例程状态黄灯亮，【启动】单选钮被选中，如图3.49所示。<br style="line-height: normal; " />
<img height="257" src="http://www.exam8.com/computer/UploadFiles/200504/20050402104902195.JPG" width="577" style="line-height: normal; "  alt="" /><br style="line-height: normal; " />
<br style="line-height: normal; " />
&#160;&#160;&#160;<font color="#ff0033" style="line-height: normal; "><strong style="line-height: normal; ">&#160;强制启动<br style="line-height: normal; " />
</strong></font><br style="line-height: normal; " />
&#160;&#160;&#160;&#160; （1）以&#8220;SYSDBA&#8221;身份登录【SQL Plus】。<br style="line-height: normal; " />
&#160;&#160;&#160;&#160; （2）在【SQL Plus】中执行&#8220;startup force;&#8221;语句，出现如图3.50所示界面，说明例程已经被启动，数据库被装载和打开。<br style="line-height: normal; " />
<img height="214" src="http://www.exam8.com/computer/UploadFiles/200504/20050402104902713.JPG" width="446" style="line-height: normal; "  alt="" /><br style="line-height: normal; " />
<br style="line-height: normal; " />
<font color="#ff0033" style="line-height: normal; "><strong style="line-height: normal; ">&#160;&#160;&#160; 限制启动</strong></font><br style="line-height: normal; " />
<br style="line-height: normal; " />
&#160;&#160;&#160;&#160; （1）如图3.51所示为【启动选项】界面。<br style="line-height: normal; " />
<img height="288" src="http://www.exam8.com/computer/UploadFiles/200504/20050402104902555.JPG" width="427" style="line-height: normal; "  alt="" /><br style="line-height: normal; " />
&#160;&#160;&#160;&#160; （2）出现如图3.42所示界面。<br style="line-height: normal; " />
<br style="line-height: normal; " />
&#160;&#160;<font color="#ff0033" style="line-height: normal; "><strong style="line-height: normal; ">&#160;只读启动<br style="line-height: normal; " />
</strong></font><br style="line-height: normal; " />
&#160;&#160;&#160;&#160; （1）如图3.52所示为【启动选项】界面。<br style="line-height: normal; " />
&#160;&#160;&#160;&#160; （2）出现如图3.42所示界面。<br style="line-height: normal; " />
<img height="285" src="http://www.exam8.com/computer/UploadFiles/200504/20050402104902591.JPG" width="425" style="line-height: normal; "  alt="" /></p>
</span>
<img src ="http://www.blogjava.net/lester/aggbug/233177.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/lester/" target="_blank">laster</a> 2008-10-08 17:06 <a href="http://www.blogjava.net/lester/archive/2008/10/08/233177.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ORACLE管理入门</title><link>http://www.blogjava.net/lester/archive/2008/09/23/230724.html</link><dc:creator>laster</dc:creator><author>laster</author><pubDate>Tue, 23 Sep 2008 09:45:00 GMT</pubDate><guid>http://www.blogjava.net/lester/archive/2008/09/23/230724.html</guid><wfw:comment>http://www.blogjava.net/lester/comments/230724.html</wfw:comment><comments>http://www.blogjava.net/lester/archive/2008/09/23/230724.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/lester/comments/commentRss/230724.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/lester/services/trackbacks/230724.html</trackback:ping><description><![CDATA[<span  style="border-collapse: collapse; font-family: song; font-size: 12px; ">
<div>WINDOWS下</div>
<div>进入行方式服务器管理：SVRMGRL<br style="font: normal normal normal 12px/normal song, Verdana; " />
启动数据库：connect internal<br style="font: normal normal normal 12px/normal song, Verdana; " />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; startup<br style="font: normal normal normal 12px/normal song, Verdana; " />
关闭数据库：shutdown immediate</div>
<div><br style="font: normal normal normal 12px/normal song, Verdana; " />
创建表空间:create tablespace mobile datafile 'd:/oracle/oradata/mobile/mobile.dbf' size 10m<br style="font: normal normal normal 12px/normal song, Verdana; " />
增加表空间:alter tablespace mobile add datafile 'd:/oracle/oradata/mobile/mobile2.dbf' size 10m<br style="font: normal normal normal 12px/normal song, Verdana; " />
删除表空间:drop tablespace mobile2 including contents<br style="font: normal normal normal 12px/normal song, Verdana; " />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<br style="font: normal normal normal 12px/normal song, Verdana; " />
列出表空间名称和默认参数： select tablespace_name "tablespace",initial_extent,next_extent,min_exte<br style="font: normal normal normal 12px/normal song, Verdana; " />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ts,max_extents,pct_increase from dba_tablespaces;<br style="font: normal normal normal 12px/normal song, Verdana; " />
列出数据文件大小和关联的表空间：select file_name,bytes,blocks,tablespace_name from dba_data_files;</div>
<div>查看参数： show parameters<br style="font: normal normal normal 12px/normal song, Verdana; " />
只查看带size字符数: show parameters size<br style="font: normal normal normal 12px/normal song, Verdana; " />
&#160;<br style="font: normal normal normal 12px/normal song, Verdana; " />
一些重要的参数：db_block_size&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 数据高速缓冲区&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 建议放大&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<br style="font: normal normal normal 12px/normal song, Verdana; " />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; shared_pool_size&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 数据字典高速缓冲区&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 建议放大&#160;<br style="font: normal normal normal 12px/normal song, Verdana; " />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sort_area_size&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 分类语句order group处理参数&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 建议放大&#160;<br style="font: normal normal normal 12px/normal song, Verdana; " />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; log_checkpoints_to_alert（checkpoint_process） 检查点&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 建议设为TRUE<br style="font: normal normal normal 12px/normal song, Verdana; " />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; process&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 最大连接进程数&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 建议为200&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<br style="font: normal normal normal 12px/normal song, Verdana; " />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; open_cursors&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 用户一次打开光标最大数&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 建议为250<br style="font: normal normal normal 12px/normal song, Verdana; " />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; db_writer&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 同时写信息到数据库的进程数&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 建议为2<br style="font: normal normal normal 12px/normal song, Verdana; " />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; time_statistics&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 运行时附加信息 检查点&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 系统正式运行时须关闭<br style="font: normal normal normal 12px/normal song, Verdana; " />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; optimizer_mode&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; SQL优化参数&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 建议为FULL_ROWS/ALL_ROWS&#160;&#160;&#160;&#160;&#160;<br style="font: normal normal normal 12px/normal song, Verdana; " />
显示SGA:&#160; show sga</div>
</span>
<img src ="http://www.blogjava.net/lester/aggbug/230724.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/lester/" target="_blank">laster</a> 2008-09-23 17:45 <a href="http://www.blogjava.net/lester/archive/2008/09/23/230724.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>