SQL Server的维护计划Maintenance Plan是一个非常实用的维护工具,可以完成大多数的数据库维护任务,通过对这些功能的封装,可以省去很多的代码编写时间。网络上完整介绍的不是很多,特此补上一篇。...
分类:
数据库 时间:
2014-10-26 21:17:36
阅读次数:
200
SQL Server的维护计划Maintenance Plan是一个非常实用的维护工具,可以完成大多数的数据库维护任务,通过对这些功能的封装,可以省去很多的代码编写时间。网络上完整介绍的不是很多,特此补上一篇。
数据库的备份是日常操作非常重要的一个环节,备份的方法也很多,其中最简单的方法就是通过Ma...
分类:
数据库 时间:
2014-10-26 21:10:26
阅读次数:
263
mysql 手册中没有关于key_length的详细介绍,经过试验验证了key_length的计算方式。 当索引字段为定长数据类型,比如char,int,datetime,如果有是否为NULL的标记,这个标记需要占用1个字节。对于变长数据类型,...
分类:
数据库 时间:
2014-10-26 17:06:04
阅读次数:
223
当你在用explain工具查看sql语句的执行计划时,若select_type 字段中出现“DEPENDENT SUBQUERY”时,你要注意了,你已经掉入了mysql子查询慢的“坑"。。。下面我们来看一个具体的例子 有这样一条查询语句: SELECT gid,COUNT(id) as count FROM shop_goods g1 WHERE status =0 and gid...
分类:
数据库 时间:
2014-10-25 23:08:20
阅读次数:
467
问题描述:
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.
For example,
"A man, a plan, a canal: Panama" is a palindrome.
"race a car" is...
分类:
其他好文 时间:
2014-10-25 21:30:51
阅读次数:
191
最近监控数据库,发现下面语句跑得非常慢,原来执行计划走了导致笛卡尔积,来看下面语句:
SQL> explain plan for
2 SELECT COUNT(*)
3 FROM "GD_FS"."TZZ_SJ_DEV_DISC_79073" "A2",
4 "GD_FS"."TZZ_SJ_DEVELOP_MONTH" "A1"
5 WHERE "A...
分类:
其他好文 时间:
2014-10-24 19:02:03
阅读次数:
247
The Development projects in JIRA use a a lightweight style of Agile Scrum management to allow us to efficiently and effectively plan and release softw...
分类:
其他好文 时间:
2014-10-24 12:25:59
阅读次数:
338
因为测试任务是个很复杂的过程,所以要单独拿出来讲,里面还涉及了result_reporter的内容。所以这是一个大块。首先把断点打在CtsTest的run方法中,删除其他断点,重新启动debug模式:
首先会调用checkFields检查一下命令行参数。然后生成plan里的包名信息。(要理解plan的意思,plan就是cts目录下plan文件下的xml文件,它里面配置的e...
分类:
其他好文 时间:
2014-10-22 18:16:59
阅读次数:
221
Following code explain how 'global' works in the distinction of global variable and local variable. 1 var = 'Global Variable' 2 print(var) 3 4 def fu....
分类:
编程语言 时间:
2014-10-22 12:37:34
阅读次数:
161
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.
For example,
"A man, a plan, a canal: Panama" is a palindrome.
"race a car" is not a...
分类:
其他好文 时间:
2014-10-21 23:16:15
阅读次数:
293