📄 200604040935115.html
字号:
<html>
<head><title>ORACLE</title></head>
<center><h1>ORACLE</h1></center>
<div><P align=right><FONT face=Verdana><FONT color=#f70938><FONT face=黑体><a href="200604112229525.html" tppabs="http://www.itisedu.com/phrase/200604112229525.html" target="_new">中科永联</a>高级技术培训中心(</FONT><FONT face=黑体>www.itisedu.com</FONT><FONT face=黑体>)<IMG src="20064493453547.jpg" tppabs="http://www.itisedu.com/manage/Upload/image/20064493453547.jpg" border=0></FONT></FONT></FONT></P>
<P><FONT face=Verdana> <a href="200604040935115.html" tppabs="http://www.itisedu.com/phrase/200604040935115.html" target="_new">ORACLE</a>是一种适用于大型、中型和<a href="javascript:if(confirm('http://www.itisedu.com/phrase/200603021509475.html \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon. \n\nDo you want to open it from the server?'))window.location='http://www.itisedu.com/phrase/200603021509475.html'" tppabs="http://www.itisedu.com/phrase/200603021509475.html" target="_new">微型计算机</a>的关系<a href="200603011033425.html" tppabs="http://www.itisedu.com/phrase/200603011033425.html" target="_new">数据库管理系统</a>,它使用<a href="javascript:if(confirm('http://www.itisedu.com/phrase/200604022014515.html \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon. \n\nDo you want to open it from the server?'))window.location='http://www.itisedu.com/phrase/200604022014515.html'" tppabs="http://www.itisedu.com/phrase/200604022014515.html" target="_new">SQL</a>(Structured guery language)作为它的<a href="200602271218062.html" tppabs="http://www.itisedu.com/phrase/200602271218062.html" target="_new">数据库</a>语言。 </FONT></P>
<P><FONT face=Verdana> SQL主要包括数据定义、数据操纵(包括查询)和数据控制等三方面功能。SQL是一种非过程化程度很高的语言,用户只需说明"干什么"而无需具体说明"怎么干"语言简洁、使用方便功能强大,集联机交互与嵌入于一体,能适应广泛的使用环境。ORACLE数据库由三种<a href="200603051002565.html" tppabs="http://www.itisedu.com/phrase/200603051002565.html" target="_new">类型</a>的<a href="200602282323195.html" tppabs="http://www.itisedu.com/phrase/200602282323195.html" target="_new">文件</a>组成:数据库文件、日志文件和控制文件。</FONT></P>
<P><FONT face=Verdana> 数据字典是由ORACLE自动建立并更新的一组表,这些表中记录用户的姓名、描述表和<a href="200603141659315.html" tppabs="http://www.itisedu.com/phrase/200603141659315.html" target="_new">视图</a>以及有关用户权限等的信息。数据字典是只读的,只允许查询。也就是说数据字典是一种数据库资源,每个用户都可以访问数据字典,<a href="javascript:if(confirm('http://www.itisedu.com/phrase/200604022049575.html \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon. \n\nDo you want to open it from the server?'))window.location='http://www.itisedu.com/phrase/200604022049575.html'" tppabs="http://www.itisedu.com/phrase/200604022049575.html" target="_new">DBA</a>可通过数据字典来监视ORACLE RDBMS的使用,并帮助用户完成其应用。ORACLE RDBMS本身也要利用数据库字典来管理和控制整个数据库。</FONT></P>
<P><FONT face=Verdana><FONT face=Verdana> 提起数据库,第一个想到的公司,一般都会是Oracle。该公司成立于1977年,最初是一家专门开发数据库的公司。</FONT></FONT></P>
<P><FONT face=Verdana><FONT face=Verdana> Oracle在数据库领域一直处于领先地位。1984年,首先将关系数据库转到了桌面<a href="200603021438435.html" tppabs="http://www.itisedu.com/phrase/200603021438435.html" target="_new">计算机</a>上。然后,Oracle的下一个版本,版本5,率先推出了分布式数据库、客户/服务器结构等崭新的概念。Oracle的版本6首创行锁定<a href="200603061709535.html" tppabs="http://www.itisedu.com/phrase/200603061709535.html" target="_new">模式</a>以及对称多处理计算机的支持……最新的Oracle8主要增加了<a href="200603090845215.html" tppabs="http://www.itisedu.com/phrase/200603090845215.html" target="_new">对象</a>技术,成为关系-对象<a href="javascript:if(confirm('http://www.itisedu.com/phrase/200603011056245.html \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon. \n\nDo you want to open it from the server?'))window.location='http://www.itisedu.com/phrase/200603011056245.html'" tppabs="http://www.itisedu.com/phrase/200603011056245.html" target="_new">数据库系统</a>。目前,ORACLE产品覆盖了大、中、小型机等几十种机型,Oracle数据库成为世界上使用最广泛的关系数据系统之一。</FONT></FONT></P><FONT face=Verdana>
<P><BR><STRONG>Oracl入门基本知识</STRONG></P>
<P> 1.一个表空间只能属于一个数据库。 </P>
<P> 2.每个数据库最少有一个控制文件(建议3个,分别放在不同的磁盘上)。 </P>
<P> 3.每个数据库最少有一个表空间(SYSTEM表空间)。</P>
<P> 4.建立SYSTEM表空间的目的是尽量将目的相同的表存放在一起,以提高使用效率,只应存放数据字典。</P>
<P> 5.每个数据库最少有两个联机日志组,每组最少一个联机日志文件。 </P>
<P> 6.一个数据文件只能属于一个表空间。 </P>
<P> 7.一个数据文件一旦被加入到一个表空间中,就不能再从这个表空间中移走,也不能再加入到其他表空间中。 </P>
<P> 8.建立新的表空间需要建立新的数据文件。 </P>
<P> 9.数据文件被ORACLE格式化为ORACLE块,Oracle9i以前版本中,ORACLE块的大小是在第一次创建数据库时设定的。 </P>
<P> 10.并且以后不能改变,要想改变,只能重建数据库。 </P>
<P> 11.一个段segment只能属于一个表空间,但可以属于多个数据文件。 </P>
<P>12.一个区extent只能属于一个数据文件,即区间(extent)不能跨越数据文件。 </P>
<P> 13.PCTFREE和PCTUSED总和不能大于等于100。 </P>
<P> 14.单独一个事务不能跨越多个回滚段。 </P>
<P> 15.索引表不含ROWID值。</P>
<P> 16.拥有不同大小的回滚段没有任何益处。 </P>
<P> 17.COMMIT后,数据不一定立即写盘(数据文件)。 </P>
<P> 18.一个事务即使不被提交,也会被写入到重做日志中。 </P>
<P> 19.Oracle 8.0.4中,在初始安装时建立的缺省数据库,实例名为ORCL 。</P>
<P> 20.一个块的最大长度为16KB(有2K、4K、8K、16K)。<BR> 每个数据库最大文件数(按块大小)<BR> 2K块 20000个文件<BR> 4K块 40000个文件<BR> 8K块或以上 65536个文件</P>
<P><BR> 21.oracle server可以同时启动多个数据库 。</P>
<P> 22.一套<a href="200602281634075.html" tppabs="http://www.itisedu.com/phrase/200602281634075.html" target="_new">操作系统</a>上可以安装多个版本的ORACLE数据库系统(UNIX可以,NT不可以)。 </P>
<P> 23.一套ORACLE数据库系统中可以有多个ORACLE数据库及其相对应的实例 。</P>
<P> 24.每个ORACLE数据库拥有一个数据库实例(INSTANCE)(OPS除外)。 </P>
<P> 25.所以,一套操作系统上同时可以有多个oracle数据库实例启动。 </P>
<P><FONT face=Verdana><STRONG>Oracle数据库产品具有的优良特性</STRONG></FONT></P>
<P><FONT face=Verdana>(1) 兼容性</FONT></P>
<P><FONT face=Verdana> Oracle产品采用标准SQL,并经过美国国家标准技术所(NIST)测试。与IBM SQL/DS,<a href="javascript:if(confirm('http://www.itisedu.com/phrase/200604022243315.html \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon. \n\nDo you want to open it from the server?'))window.location='http://www.itisedu.com/phrase/200604022243315.html'" tppabs="http://www.itisedu.com/phrase/200604022243315.html" target="_new">DB2</a>,INGRES,IDMS/R等兼容。</FONT></P>
<P><FONT face=Verdana>(2) 可移植性</FONT></P>
<P><FONT face=Verdana> Oracle的产品可运行于很宽范围的硬件与操作系统平台上。可以安装在70种以上不同的大、中、小型机上;可在VMS、<BR>DOS、UNIX、WINDOWS等多种操作系统下工作。</FONT></P>
<P><FONT face=Verdana>(3) 可联结性</FONT></P>
<P><FONT face=Verdana> 能与多种通讯网络相连,支持各种协议(TCP/IP、DECnet、LU6.2等)。</FONT></P>
<P><FONT face=Verdana>(4) 高生产率</FONT></P>
<P><FONT face=Verdana> 提供了多种开发工具,能极大的方便用户进行进一步的开发。</FONT></P>
<P><FONT face=Verdana>(5) 开放性</FONT></P>
<P><FONT face=Verdana> Oracle良好的兼容性、可移植性、可连接性和高生产率是Oracle RDBMS具有良好的开放性。</FONT></P>
<P><FONT face=Verdana> ORACLE产品主要包括数据库服务器、开发工具和连接产品三<a href="200603090857555.html" tppabs="http://www.itisedu.com/phrase/200603090857555.html" target="_new">类</a>。</FONT></P>
<P><FONT face=Verdana><STRONG>数据库服务器</STRONG></FONT></P>
<P><FONT face=Verdana> 最新版本是8,但广泛应用的是7。版本7具有以下特色:</FONT></P>
<P><FONT face=Verdana>(1)多进程、多线索的<a href="javascript:if(confirm('http://www.itisedu.com/phrase/200603122156385.html \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon. \n\nDo you want to open it from the server?'))window.location='http://www.itisedu.com/phrase/200603122156385.html'" tppabs="http://www.itisedu.com/phrase/200603122156385.html" target="_new">体系结构</a></FONT></P>
<P><FONT face=Verdana> 多进程、多线索的体系结构。Oracle7包括一个到多个线索进程、多个服务器进程和多个后台进程。线索进程负责监听用户请求,将用户请求链入内存的请求队列中,并将应答队列中的执行结果返给相应用户。服务器进程负责处理请求队列中的用户请求,并把结果链入应答队列。<a href="200603091754305.html" tppabs="http://www.itisedu.com/phrase/200603091754305.html" target="_new">线程</a>和线索的数目都可以根据当前工作负荷动态调整。Oracle7的进程结构能充分利用并行机上多处理机的能力,但由于其线索是用进程模拟的,由操作系统调度,这在一定程度上消弱了线索开销低的优越性。</FONT></P>
<P><FONT face=Verdana>(2)为提高性能改进核心技术</FONT></P>
<P><FONT face=Verdana> Oracle7改进了其核心技术。其并发控制机制更加精致,包括了无限制行级封锁、无竞争查询、线索的顺序号产生机制。在共享内存缓冲区中增加了共享的SQL Cache,提高了运行效率。</FONT></P>
<P><FONT face=Verdana>(3)高可用性</FONT></P>
<P><FONT face=Verdana> Oracle7提供了联机备份、联机恢复、镜像等多种机制保障系统具有高可用性和容错功能。</FONT></P>
<P><FONT face=Verdana>(4)SQL实现</FONT></P>
<P><FONT face=Verdana> Oracle7的SQL符合ANSI/ISO SQL 89标准。完整性约束符合ANSI/ISO标准的实体完整性和参照完整性约束。提供基于角色的安全性。</FONT></P>
<P><FONT face=Verdana> 角色是一组权限的集合。有了角色的概念,安全管理机制可翼把表或其他数据库对象上的一些权限进行组合,将它们赋予一个角色。需要时只需将该角色授予一个用户或一组用户,这样可以降低安全机制的负担和成本。</FONT></P>
<P><FONT face=Verdana> 针对集群和MPP并行计算机平台,Oracle7提供了并行服务器选件实现存盘共享。同时,Oracle7还为SMP、集群和MPP平台提供了并行查询选件,以实现并行查询、并行数据装载等操作。</FONT></P>
<P><FONT face=Verdana> Oracle7通过分布式选件提供分布式数据库功能。其分布式选件提供了多场地的分布式查询和多场地更新功能,具有位置透明性和场地自治性,提供全局数据库名,支持<a href="javascript:if(confirm('http://www.itisedu.com/phrase/200604241405415.html \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon. \n\nDo you want to open it from the server?'))window.location='http://www.itisedu.com/phrase/200604241405415.html'" tppabs="http://www.itisedu.com/phrase/200604241405415.html" target="_new">远程过程调用</a>。</FONT></P>
<P><FONT face=Verdana><STRONG>开发工具</STRONG></FONT></P>
<P><FONT face=Verdana> Oracle提供的开发工具包是Developer/2000、Designer/2000、Discover/2000、Oracle Office等,它涵盖了从建模、分析、设计到具体实现的各个环节。</FONT></P>
<P><FONT face=Verdana>Developer/2000包括:</FONT></P>
<P><FONT face=Verdana> Oracle Forms用于快速生成基于屏幕的复杂应用,具有GUI界面和多媒体功能,主要用于操纵数据和查询。</FONT></P>
<P><FONT face=Verdana> Oracle Reports是快速生成报表的工具。能生成各种复杂的报表,同样能处理多媒体信息。</FONT></P>
<P><FONT face=Verdana> Oracle Graphics用于生成各种图形应用。</FONT></P>
<P><FONT face=Verdana> Oracle Books用于生成联机文档。</FONT></P>
<P><FONT face=Verdana>Designer/2000:</FONT></P>
<P><FONT face=Verdana> 这是Oracle提供的CASE工具。该工具能够帮助用户对复杂系统进行建模、分析和设计。还可以帮助用户绘制ER图、功能<a href="200604161254415.html" tppabs="http://www.itisedu.com/phrase/200604161254415.html" target="_new">分层</a>图、数据流图和方阵图。</FONT></P>
<P><FONT face=Verdana>Discover/2000:</FONT></P>
<P><FONT face=Verdana> 这是一个<a href="javascript:if(confirm('http://www.itisedu.com/phrase/200604232107315.html \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon. \n\nDo you want to open it from the server?'))window.location='http://www.itisedu.com/phrase/200604232107315.html'" tppabs="http://www.itisedu.com/phrase/200604232107315.html" target="_new">OLAP</a>工具,主要用于支持<a href="javascript:if(confirm('http://www.itisedu.com/phrase/200603091358275.html \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon. \n\nDo you want to open it from the server?'))window.location='http://www.itisedu.com/phrase/200603091358275.html'" tppabs="http://www.itisedu.com/phrase/200603091358275.html" target="_new">数据仓库</a>应用。它可以对历史数据进行挖掘,以找到发展趋势,对不同层次的概况数据进行分析,以便发现有关业务的详细信息。</FONT></P>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -