今天要把测试环境DB的数据更新成最新Production环境的数据,期间发生了一些问题:1.首先从正式环境exp出想要用户的dmp档2.drop掉测试环境底下相应用户3.create测试环境底下相应用户4.imp
正式环境导出的dmp档5.在测试环境底下explain plan sql时报:ORA-...
分类:
其他好文 时间:
2014-05-17 00:26:59
阅读次数:
263
To speed up bulk loading of data, InnoDB
implements aninsert buffer, a special index in the InnoDB system tablespace that
buffers modifications to sec...
分类:
数据库 时间:
2014-05-16 18:26:09
阅读次数:
532
SQL> conn scott/tiger@vm_databaseConnected
to Oracle Database 11g Enterprise Edition Release 11.1.0.6.0Connected as
scott。。。。。。SQL> drop table student...
分类:
数据库 时间:
2014-05-15 16:33:54
阅读次数:
332
-- 创建数据表,定义存储数据信息表的结构--CREATE TABLE T_Student (name
text, age integer, phoneNo text);--
删除数据表,通常在不需要使用某一个表的时候,才会用到,日常开发中极少会用到此命令--DROP TABLE T_Student...
分类:
移动开发 时间:
2014-05-14 11:20:03
阅读次数:
395
/proc/sys/vm/drop_caches(since Linux 2.6.16)Writing
to this file causes the kernel to drop clean caches,dentries and inodes from
memory, causing that ...
分类:
系统相关 时间:
2014-05-14 08:54:16
阅读次数:
331
定义一个存储过程,用到游标,从一个表中取值,插入到另外一个表中。drop procedure
if exists search_test;create procedure search_test(in id int,out out_min_id
varchar(200))begindeclare f...
分类:
数据库 时间:
2014-05-14 07:41:31
阅读次数:
361
数据文件和日志文件是数据库中最重要的文件。它们是数据存储的地方。每个数据库至少有一个与之相关的数据文件,通常情况下不只一个,有很多。数据在数据文件中是如何组织的?要了解这些内容我们首先必须理解什么是表空间(tablespace)、段(segment)、区(extent)、块(block),这些都是oracle数据库在数据文件中组织数据的基本单元。现在我们来理解这些概念。
块是数据存储的...
分类:
数据库 时间:
2014-05-09 22:49:21
阅读次数:
360
一:mysql创建一个修改表字段的存储过程drop procedure if exists
pr_test;create procedure pr_test()begin declare var int; declare var1 int; set
var=416; set var1=420; wh...
分类:
数据库 时间:
2014-05-09 20:17:20
阅读次数:
460
今天早上上班来打开环境,mysql报了这个错误,猜到的原因应该是昨天晚上下班没等mysql服务器退出就关闭计算机。2014-05-09
09:44:25 4128 [ERROR] InnoDB: Attempted to open a previously opened tablespace.
Pr...
分类:
数据库 时间:
2014-05-09 12:50:46
阅读次数:
1089