一、概述 本文将介绍如何模拟坏块,以及出现坏块该如何修复。实验分为以下几个步骤。 1. 表出现坏块 2. 索引出现坏块 二、环境准备 本实验都是在oracle 11G归档模式下进行。 1. 准备相关表 create tablespace tbs01 datafile '/u01/app/oracle ...
分类:
数据库 时间:
2020-03-13 13:07:22
阅读次数:
74
http://www.mamicode.com/info-detail-2481866.html sql语句 system用户登陆 查看表空间和存放位置 select t1.name,t2.name from v$tablespace t1,v$datafile t2 where t1.ts# = ... ...
分类:
数据库 时间:
2020-03-05 19:26:20
阅读次数:
92
system用户登陆oracle https://blog.csdn.net/zyingpei/article/details/88870693 首先查看表空间对应的数据文件位置以及大小 select t1.name,t2.name from v$tablespace t1,v$datafile t... ...
分类:
数据库 时间:
2020-03-05 19:14:10
阅读次数:
75
CREATE TABLESPACE tbs_perm_02 DATAFILE 'tbs_perm_02.dat' SIZE 10M REUSE AUTOEXTEND ON NEXT 100M MAXSIZE 2048M; 参数说明: DATAFILE:数据文件保存的路径,支持多个数... ...
分类:
其他好文 时间:
2020-03-05 19:13:15
阅读次数:
75
1 创建表空间 --create tablespace 表空间名称 datafile ‘表空间文件路径’ size 64M create tablespace data_test datafile 'e:\oracle\oradata\test\data_test.dbf' size 2000M; ...
分类:
其他好文 时间:
2020-03-03 14:36:25
阅读次数:
59
如果mysql连接报错Lost connection to MySQL server at 'sending authentication information', system error: 32 一种可能的原因是系统打开文件数过多 mac系统默认是256个,如果数据库打开文件过多,会因为系统限 ...
分类:
数据库 时间:
2020-02-26 20:40:14
阅读次数:
99
一个很简单又有趣的拟人化探险游戏。游戏中,玩家输入一些信息,计算机把这些信息拓展成一个探险故事。 ...
分类:
其他好文 时间:
2020-02-26 20:27:55
阅读次数:
66
(一)线段树 1.E - Lost Cows N (2 <= N <= 8,000) cows have unique brands in the range 1..N. In a spectacular display of poor judgment, they visited the neig ...
分类:
其他好文 时间:
2020-02-25 00:34:58
阅读次数:
174
一、分区方法 建分区表准备: 1,创建4个测试用的表空间,每个表空间作为一个独立分区(考虑到Oracle中分区映射的实现方式,建议将表中的分区数设置为2的乘方,以便使数据均匀分布) create tablespace partition1 datafile '/home/oracle/app/ora ...
分类:
数据库 时间:
2020-02-21 17:53:32
阅读次数:
95
在修改前将表空间做备份;9.1、登录到oracle实例: [oracle@slave-node2 ~]$ echo $ORACLE_SID orcl [oracle@slave-node2 ~]$ sqlplus sys/123456@orcl as sysdba SQL>show paramete... ...
分类:
其他好文 时间:
2020-02-16 10:21:57
阅读次数:
96