上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 59 下一页
摘要: 手动备份 (冷备, 热备 都支持, 跟 RMAN 没关系)后边两个是 一致性备份 和 不一致性备份全备:可以在数据库打开或关闭时. (备份 control file 和 data file) 如果是关闭时候的备份, 就是一致性备份, In such a backup, all the database file headers are consistent whith the control file, and when restored completely, the database can be opened without any recovery. When the database 阅读全文
posted @ 2013-02-22 21:07 神之一招 阅读(842) 评论(0) 推荐(0)
摘要: 从这一章, 到最后一章都是讲 RMANRman is an Oracle utility that helps you manage the backup, restore, and recovery oerations on Oracle database.Rman has a powerful command language that is independent of the operating system.Oracle Enterprise Manager also provides a graphical user interface for the Recovery Manag 阅读全文
posted @ 2013-02-19 11:13 神之一招 阅读(1402) 评论(0) 推荐(0)
摘要: 归档的内容, 在 oracle10g 以后, 只需要设置以下方面内容:1. 将数据库设置成 archivelog 模式 startup mount -> alter database archivelog2. 设置 archivelog 归档文件的路径 alter system set log_archive_dest_1="location=/u01/app/oracle/archivelog" scope=both;3. 设置 归档日志的格式 alter system set log_archive_format=”arch%t_%s_%r.arc” scope= 阅读全文
posted @ 2013-02-16 14:54 神之一招 阅读(346) 评论(0) 推荐(0)
摘要: Server process : 独立的 server, shared server.以上结构中:真正存放在磁盘上的物理文件是图的下半部分,那么它们具体存放在哪里的,一般来讲:contrl file, redo log file, data file: 存放在 oraData 这个目录下oracle软件一般单独存放在 : $ORACLE_HOME/product 这个目录下在 $ORACLE_HOME 这个目录里还有个很重要的文件夹, admin 顾名思义,这个文件夹是用来管理的在 admin 里边有以下内容:参数 audit_file_dest = $ORACLE_BASE\admin\AD 阅读全文
posted @ 2013-02-16 14:54 神之一招 阅读(615) 评论(0) 推荐(0)
摘要: oracle 字符集问题Server and client may run in the same or different locations. when client and server use different character sets, the oracle server handles character set conversion automatically.Territory : 不同地区支持字符集character set 是编码, ASCII 就是一个字符集,对于英语来说。因为只有26个字母,所以ASCII这个字符集就很少,但是如果是像汉语的内容,就有很多字符。汉语 阅读全文
posted @ 2013-02-06 08:42 神之一招 阅读(380) 评论(0) 推荐(0)
摘要: 6 – 17 章全部是 oracle 备份与恢复备份和恢复是相当重要的- restore 与 recovery 区别restore: 还原, 文件级别操作, 说白了就是文件的拷贝, 数据库不同步recovery: 恢复, 数据级别的操作, 可以是数据库同步例如: 假设我在时间点 A 做了备份, 在时间点B 数据库挂了restore database : 因为我在时间点A做的备份,所以会把数据库恢复到时间点A,跟当前的时间点B不同步recovery database: 例如 archivelog 和 online redo log 等,把数据库恢复到时间点B, 数据库同步.综上: 一般做恢复应该 阅读全文
posted @ 2013-02-06 08:41 神之一招 阅读(320) 评论(0) 推荐(0)
摘要: 一个客户端连接到服务器时,服务器必须要有进程来对应连接,1 对 1, 只要不断开 session这个 进程不是 instance 的一部分,是随着client连接而创建,session结束而释放。当client发个请求时,做工作最多的就是这个 dedicated server process, 它可以与硬盘打交道, 因为它本身就是process。在 shared server 中,进程是之前先创建好的,有两类 dispatcher, 和 shared processdispatcher 会将你的请求放在 SGA 中,然后 shared process 将该请求取出处理,处理完后,将该请求再放回 阅读全文
posted @ 2013-02-06 08:41 神之一招 阅读(353) 评论(0) 推荐(0)
摘要: 主要是 local naming method 掌握这个就可以了,别的都已经过时了一般的,或者大型的用 local naming method, 特大型的用目录服务,但是一般的情况下都是用 local naming method.要连接服务器,要提供一些信息,例如你去一个单位,看到看门老大爷,老大爷问你,你找谁,至少你要知道你找哪个部门的谁?SERVER NAME 是 oracle 客户端对客户的抽象一次性连接,将所有的信息都写上,当然不需要 configuration file 了,因为所有内容都写全了, 不受 sqlnet 影响host name 方式已经被淘汰了,不用看了tnsnames 阅读全文
posted @ 2013-02-01 18:15 神之一招 阅读(304) 评论(0) 推荐(0)
摘要: 前4点比较重要,最后1点没用server 端的配置listener是一个进程,等待用户请求,特点:如下图listener 类似看大门的老大爷,他只是传话的,不是干活的,所以当他的到消息后,会传递出去如果是 dedicated server 就会生成一个独立的进程( dedicated server process ),然后 listener 把该任务交给这个新生成的进程, 所以每个任务都会生成独立的进程来处理。如果是 shared server 就不单独创建进程了,而是将管理权交给 dispatcher or server process在演示中看到了,会生成很多新的进程windows 基本上 阅读全文
posted @ 2013-02-01 18:14 神之一招 阅读(318) 评论(0) 推荐(0)
摘要: PGA程序全局区域( Program Global Area ) 是 只对一个段杜的服务器进程可用的内存区域,PGA 包含的条目,用户变量和一个单独用户的SQL语句的游标信息,例如目前已检索的行数。在 ORACLE 10g , 可以简单的为 SGA 和 PGA 设置一个最大值, ORACLE 自己会负责这些区域每个组件的分配。NCHAR 和 NVARCHAR2 数据类型oracle 数据库可用于不同的语言存储字符数据,包括中文,日文等等,这些语言使用 NCHAR 和 NVARCHAR2 数据类型。oracle 数据库如何对 SQL 语句做出响应 ?以上是 oracle 对 sql 的响应情况, 阅读全文
posted @ 2013-01-31 11:04 神之一招 阅读(193) 评论(0) 推荐(0)
上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 59 下一页