1、建表空间createtablespace表空间名datafile‘D:\app\Administrator\oradata\orcl\ABC.DBF‘size100Mautoextendonnext50Mextentmanagement2、建用户createuser用户名identifiedbypassworddefaulttablespace表空间名temporarytablespacetemp(默认表空间名)3、给用户赋予权限gran..
分类:
数据库 时间:
2016-10-31 22:45:15
阅读次数:
240
使用asmcmd cp命令 把datafile从文件系统移动(move)到asm磁盘组中--针对11gR2参考原文:How to Move a Datafile from Filesystem to ASM Using ASMCMD CP Command. (Doc ID 1610615.1)适用于 ...
分类:
移动开发 时间:
2016-10-31 16:13:32
阅读次数:
258
下面我之前的解法,也很好,通过两个数字来记录可能的出错位置,并且在遍历的同时,更新这个位置。需要对出错的规律有深刻了解,比如在解法中,first_result位置就始终没有变过,因为一旦找到就可以不变,通过second_result位置的改变,就能满足条件: ...
分类:
其他好文 时间:
2016-10-30 19:22:39
阅读次数:
213
Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. (Hard) Note:A solution using O(n) ...
分类:
其他好文 时间:
2016-10-28 23:21:49
阅读次数:
205
归档模式下的offlinedrop和offlineofflinedrop演示归档模式下的offline演示可以看到在归档模式下,offlinedrop和offline的效果是一样的,都是将数据文件至于recover状态,如果需要online则先进行recover,之后数据文件状态会变为fline状态,dba可以手动online。切换数据库到非..
分类:
其他好文 时间:
2016-10-26 07:36:42
阅读次数:
205
Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. Note:A solution using O(n) space i ...
分类:
编程语言 时间:
2016-10-26 00:04:21
阅读次数:
269
[sql] view plain copy 建立表空间和用户的步骤: 用户 建立:create user 用户名 identified by "密码"; 授权:grant create session to 用户名; grant create table to 用户名; grant create t ...
分类:
数据库 时间:
2016-10-22 17:14:13
阅读次数:
236
-- Script Name: Recover_Deleted_Data_Proc -- Script Type : Recovery Procedure -- Develop By: Muhammad Imran -- Date Created: 15 Oct 2011 -- Modify Dat ...
分类:
数据库 时间:
2016-10-20 21:23:07
阅读次数:
902
上传数据文件 mkdir -p data/ml/ /home/wangxiao/data/ml/Affairs.txt hadoop fs -mkdir -p /datafile/wangxiao/ hadoop fs -ls / hadoop fs -put /home/wangxiao/data ...
分类:
编程语言 时间:
2016-10-15 21:43:22
阅读次数:
213