使用缓存HINT 让逻辑读变成0.create table t as select * from dba_objects;insert into t select * from t;commit;set autotrace onset timing onset linesize 1000select...
分类:
数据库 时间:
2014-07-13 22:54:22
阅读次数:
352
建立主表:create table a1 (id int ,name char(20));建立附表:create table a2 (tid int ,name char(20));分别插入数据:mysql> insert into a1 values (1,'baidu');Query OK, 1...
分类:
其他好文 时间:
2014-07-13 22:42:45
阅读次数:
223
主要翻译了链接1)的教程,加上一些个人研究,步骤如下:1) 在openshift.redhat.com申请账号,安装git for windows,然后安装gem install rhc,这些比较容易。2) 运行这个命令,就会生成一个py27的目录。 rhc-create-app -a py27 -...
分类:
编程语言 时间:
2014-07-13 21:48:24
阅读次数:
275
PS::今天巴西又被虐了,做梦以为是3:1,醒来是3:0mysql> delimiter $$mysql> create procedure p3() -> MODIFIES SQL DATA -> BEGIN -> set @i=0; -> set @max=100; ...
分类:
其他好文 时间:
2014-07-13 21:32:50
阅读次数:
195
create database data_Test --创建数据库data_Test GO use data_Test GO create table tb_TestTable --创建表 ( id int identity(1,1) primary key, userName nvarchar(2...
分类:
其他好文 时间:
2014-07-13 19:11:16
阅读次数:
292
1. DataBases a.show databases; b.create database mydatabase; c.use mydatabase;2.Tables a.show tables; b.create table if not exists mytable ( ...
分类:
数据库 时间:
2014-07-13 19:07:23
阅读次数:
298
前言:nagios界面上,看到监控mysql服务报错如下:Warning:NRPE: Unable to read output 1,去nagios监控服务器上check下1.1,执行check_nrpe命令远程调用在监控端nagios服务器上执行check_nrpe检查mysql状态报错如下:[root@mysqlvm2 ~]# /usr/lib/nagios/plugins/check_nr...
分类:
移动开发 时间:
2014-07-13 16:40:37
阅读次数:
232
重新装完Ecplise+ATD+Android SDK 在Ecplise工作空间导入之前写过的Android项目会出现错误,大部分是SDK 版本不符,如下错误提示:
Error:Unable to resolve target android-19
如图:
解决办法:修改工程目录下的project.properties文件里的内容target=android-...
分类:
移动开发 时间:
2014-07-13 15:53:44
阅读次数:
260
1、错误描述
信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.TextParser)
2014-7-13 1:52:04 org.apache.struts2.spring.StrutsSpringObjectFactory info
信息: Initializing Struts-Spring integration.....
分类:
Web程序 时间:
2014-07-13 14:09:58
阅读次数:
639
You have two very large binary trees: T1, with millions of nodes, and T2, with hundreds of nodes. Create an algorithm to decide if T2 is a subtree of ...
分类:
其他好文 时间:
2014-07-13 13:04:00
阅读次数:
186