今天要把测试环境DB的数据更新成最新Production环境的数据,期间发生了一些问题:1.首先从正式环境exp出想要用户的dmp档2.drop掉测试环境底下相应用户3.create测试环境底下相应用户4.imp
正式环境导出的dmp档5.在测试环境底下explain plan sql时报:ORA-...
分类:
其他好文 时间:
2014-05-17 00:26:59
阅读次数:
263
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
Linux 登录后,配置执行顺序为(Debian Serials
Capable):/etc/environment -> /etc/profile -> (~/.bash_profile |
~/.bash_login | ~/.profile) -> ~/.bashrc -> /etc/bash...
分类:
系统相关 时间:
2014-05-15 02:25:10
阅读次数:
387
-- 创建数据表,定义存储数据信息表的结构--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
下面测试来至一次增加与删除实例实验,在10GRAC中知道监听是通过netca来管理的,跟11G的机制不一样。当增加节点的时候,需要手动执行netca来注册监听服务。其实我们也可以通过crs_profile工具来手动注册监听服务。 欢迎大家加入ORACLE超级群:17115662免费解决各种ORACLE..
分类:
其他好文 时间:
2014-05-13 00:50:53
阅读次数:
571
1.profileprofiling levels:
0,关闭profile;1,只抓取slow查询;2,抓取所有数据。启动profile并且设置Profile级别:可以通过mongo
shell启动,也可以通过驱动中的profile命令启动,启动后记录会被保存在system.profile col...
分类:
数据库 时间:
2014-05-12 02:09:33
阅读次数:
431
最近在做关于能耗方面的测试,看了一个月时间的论文,终于找到了一些新的思路,但是一个问题出现了,以至于
工作无法再进行下去。
在Android手机中,对于手机中的每个部件(cpu、led、gps、3g等等)运行时对应的能耗值都放power_profile.xml
文件中,而且系统的 设置-->电池-->使用情况中,统计的能耗的使用情况也是以power_profile.xml的va...
分类:
移动开发 时间:
2014-05-11 18:38:58
阅读次数:
447
注:命令行小写部分表出需要根据自己的情况改变!!a)激活SDSF资源类SETROPTS
CLASSACT(SDSF)b)查看SDSF资源类的PROFILERLIST SDSF
*c)如果不存在GROUP.ISFUSER.servername的PROFILE,则需要定义,RDEFINE SDSF (G...
分类:
其他好文 时间:
2014-05-11 14:03:24
阅读次数:
291