该参数可用于给泵出文件中的源数据库文件重新指定一个新的路径和名称,主要用在平台间的数据迁移。用法:remap_datafile=source_file:target_file在windows平台上的使用:impdpdbuser/dbuserfull=ydumpfile=full.dmplogfile...
分类:
其他好文 时间:
2014-06-13 13:21:51
阅读次数:
667
count(*)是否能用到索引,用索引是高效还是低效select count(*) from
aa ;首先看是否会走索引,经过试验发现,他没有走索引它的执行计划 select statement sort aggregate table access
full别说是否高效了,他连索引都没有走,索引不...
分类:
其他好文 时间:
2014-06-11 12:00:01
阅读次数:
282
OpenResty (aka. ngx_openresty) is a
full-fledged web application server by bundling the standard Nginx core, lots of
3rd-party Nginx modules, as well ...
分类:
其他好文 时间:
2014-06-10 00:02:19
阅读次数:
384
MYSQL数据库安装完成后,默认最大连接数是100。命令: show processlist; 如果是root帐号,你能看到所有用户的当前连接。如果是其它普通帐号,只能看到自己占用的连接。 show processlist;只列出前100条,如果想全列出请使用show full processlist; mysql> show processlist;命令: show status;命令:show...
分类:
数据库 时间:
2014-06-09 23:44:10
阅读次数:
336
select fu.user_name 用户名, fu.description 描述,
(select ppf.FULL_NAME from per_people_f ppf where ppf.PERSON_ID = fu.employee_id
and trunc(sysdate) betwee...
分类:
数据库 时间:
2014-06-09 17:13:14
阅读次数:
270
select fu.user_name 用户名, fu.description 用户说明,
frv.RESPONSIBILITY_NAME 职责名称,REQUEST_GROUP_NAME 报表组,(select ppf.FULL_NAME from
apps.per_people_f ppf whe...
分类:
数据库 时间:
2014-06-09 16:58:45
阅读次数:
316
xtrabackup 2.1.9 for mysql 5.6.19
编译安装...
分类:
数据库 时间:
2014-06-08 15:09:57
阅读次数:
290
关于xtrabackup的简介就不再赘述,百度一堆,使用方法也说明也很多。感觉还是只有自己试过之后才能有更深刻的认识,以下的使用说明基于官方文档及自己试验过程,记录下备查。安装:去percona-xtrabackup官网上下载,有rpm包、tar包,也有解压直接可用的二进制包。我试验采用的..
分类:
其他好文 时间:
2014-06-08 02:34:13
阅读次数:
263
轻量级的搜索——?query string
search?——对命令行的即席查询来说是十分有用的。然而为了驾驭搜索的强大功能,你应该使用带请求体的search
API,之所以这样,是因为很多的参数是在JSON的请求体中的而不是查询字符串。请求体查询——从现在开始就是”search“——不仅仅自身处理...
分类:
其他好文 时间:
2014-06-06 08:21:47
阅读次数:
239
1. 复合字面值char *get_status_str(int status){ return
(char *[]){"linkdown","partial-linkup","full-linkup","N/A"}[status];} 2.
常量折叠#include int main() { .....
分类:
其他好文 时间:
2014-06-05 20:35:26
阅读次数:
199