每个Android应用程序都可以使用SQLite数据库。它创建的位置在data/data//databases/运行后打开,window->show view->other..Android->File Explorer在File Explorer的data/data/下找到相应应用,找到datab...
分类:
移动开发 时间:
2014-10-16 21:02:53
阅读次数:
244
Hadoop日志分析系统启动脚本
#!/bin/bash
#Flume日志数据的根目录
root_path=/flume
#Mapreduce处理后的数据目录
process_path=/process
#hive分区时间
partition=`date "+%Y-%m-%d"`
#获取前一小时的时间:/YYYY-MM-DD/HH
file_path=`date -d "1 hour ...
分类:
其他好文 时间:
2014-10-16 19:41:13
阅读次数:
202
1.innodb对于独立子查询,具体执行时会转换成关联子查询然后执行,这个性能是很差的,比如select*fromupload_fileswherefile_timein(selectmax(file_time)file_timefromupload_filesgroupbyfrom_unixtim...
分类:
数据库 时间:
2014-10-16 19:38:03
阅读次数:
278
Literals即为文字 一.Text literals:文本文字 文本文字只是字符串指定的单引号之间。他们可以包含任何字符,但你应避免任何单引号里面\ ' Now you are looking at a template file.如果是带空格什么的不连贯的一段话,例如working we...
分类:
其他好文 时间:
2014-10-16 19:13:03
阅读次数:
239
首先登陆用户user1,然后执行下列语句,即可将user1的存储过程的调用权限赋给用户user2grant all on p_test to user2;...
分类:
数据库 时间:
2014-10-16 19:02:22
阅读次数:
433
$file = 'xingxiu.php';
$xx = array(
0=>array('id'=>13,'xingxiu'=>'室宿'),
1=>array('id'=>14,'xingxiu'=>'壁宿'),
2=>array('id'=>15,'xingxiu'=>'奎宿'),
3=>array('id...
分类:
编程语言 时间:
2014-10-16 18:13:22
阅读次数:
240
在网上找了很多,都是写了一个类 做了各种处理。还真是累哦当然之前也做了各种尝试source 客户端命令 mysql_query()是不支持的load_file 在where 之后执行可以,但是直接mysql_query()执行不可以file_get_contents() 当然更不行了,行的话人们早用...
分类:
数据库 时间:
2014-10-16 17:48:22
阅读次数:
176
进入mysql命令行:set profiling=1; //开启记录mysql语句执行时间set profiling=0; //关闭show profiles; //查看之前执行的语句,(貌似只能查看在mysql命令行下执行的语句。)400W左右的数据,随机select一条,大概3,4秒,建...
分类:
数据库 时间:
2014-10-16 17:29:12
阅读次数:
205
html: 添加图片 js:function opload_file(obj){ $(obj).next('input[type="file"]').click(); $("#image_error"...
分类:
Web程序 时间:
2014-10-16 17:16:22
阅读次数:
215
20 Flat Icons (PSD)免费下载24 Flat Icons (PSD)免费下载Flatilicious – 48 Free Flat Icons免费下载Flat File Icons (PSD)免费下载Flat Icons – free version免费下载Squareplex免费下...
分类:
其他好文 时间:
2014-10-16 17:12:12
阅读次数:
240