2013年1月23日

摘要: 这块要分两种情况进行试验,1.没有maxvalue分区。2.有maxvalue分区。 下面分别试验之: A.没有maxvalue的range分区表增加分区。 1.创建分区表: SQL> CREATE TABLE t_range_part (ID NUMBER) 2 PARTITION BY RANGE(ID) 3 ( 4 PARTITION t_... 阅读全文

posted @ 2013-01-23 17:06 雅飞士 阅读(2660) 评论(0) 推荐(0) 编辑


2012年12月19日

摘要: 在虚拟机上搞的测试,把源库全备后,删除,利用备份文件恢复出来。模拟恢复到异机。 数据库版本: SQL> select * from v$version; BANNER -------------------------------------------------------------------------------- Oracle Database 11g En... 阅读全文

posted @ 2012-12-19 16:10 雅飞士 阅读(383) 评论(0) 推荐(0) 编辑

摘要: 1.重命名控制文件: [oracle@yfs orcl]$ ll | grep ctl -rw-r-----. 1 oracle oinstall 10960896 Dec 17 16:22 control01.ctl [oracle@yfs orcl]$ mv control01.ctl control01.ctl_bak 2.启动数据库,发现出错了: ... 阅读全文

posted @ 2012-12-19 16:04 雅飞士 阅读(516) 评论(0) 推荐(0) 编辑

摘要: 本实验简单介绍数据文件损坏后的恢复。 1.创建测试环境:建测试表空间和测试用户。 SQL> create tablespace tbs_rman datafile '/oradata/orcl/tbs_rman.dbf' size 5M autoextend off; Tablespace created. SQL> create user testrman identified... 阅读全文

posted @ 2012-12-19 16:01 雅飞士 阅读(340) 评论(0) 推荐(0) 编辑

摘要: 备份: 备份全库: RMAN> backup database format '/backup/fulldb/%U'; RMAN> list backup of database; 备份表空间: RMAN> backup tablespace tbs_pb_dparam; Starting backup at 20121214152625 using channel ORA... 阅读全文

posted @ 2012-12-19 15:57 雅飞士 阅读(426) 评论(0) 推荐(0) 编辑

摘要: 连接: [oracle@yfs ~]$ rman target / Recovery Manager: Release 11.2.0.3.0 - Production on Fri Dec 14 11:42:03 2012 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. ... 阅读全文

posted @ 2012-12-19 15:53 雅飞士 阅读(646) 评论(0) 推荐(0) 编辑


2012年12月13日

摘要: changePerm.sh [oracle@RPS-SERVER-1 install]$ pwd /oracle/app/product/10.2.0/db_1/install 根据描述: This script will relax the permissions on most files and directories in the installed Oracle Hom... 阅读全文

posted @ 2012-12-13 11:08 雅飞士 阅读(308) 评论(0) 推荐(0) 编辑


2012年12月6日

摘要: 统计信息导入导出试验. 涉及的具体语法可参考oracle官方文档。 1. 数据库版本: SQL> select * from v$version 2 / BANNER ---------------------------------------------------------------- Oracle Database 10g Enterprise Edition Re... 阅读全文

posted @ 2012-12-06 11:42 雅飞士 阅读(569) 评论(0) 推荐(1) 编辑


2012年11月23日

摘要: 装oracle RDBMS ,需要tar软件,发现ftp不可用。于是上百度,google一下。 环境: [oracle@RPS-SERVER-1 ~]$ uname -a Linux RPS-SERVER-1 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux ntsysv ... 阅读全文

posted @ 2012-11-23 17:35 雅飞士 阅读(1318) 评论(0) 推荐(0) 编辑


2012年10月22日

摘要: 具体的安装步骤网上已经很多,我只说碰到的几个问题。 虚拟机环境下安装。 虚拟机版本: virtual box 4.2 guest os: oracle linux 6.3 DB version: 11.2.0.3.0 安装RDBMS的时候之前,要检查OS的很多包是否安装。 在oracle linux 6 中提供了一个包,可以解决这个问题,省得你一一检查: oracle-rdbms-... 阅读全文

posted @ 2012-10-22 16:23 雅飞士 阅读(443) 评论(0) 推荐(0) 编辑


Copyright © 2024 雅飞士
Powered by .NET 8.0 on Kubernetes