1.通过show status命令了解各种SQL执行的频率 show [session|global]status 命令可以提供服务器状态信息,Com_xxx表示每个语句执行的次数。Innodb_xxx至少针对Innodb引擎 通过这些参数可以很容易了解当前数据库以插入为主还是以查询为主,以及各类....
分类:
数据库 时间:
2014-07-07 13:37:21
阅读次数:
271
下面是自己安装和测试storm的一些笔记,比较乱,后续有时间在整理一篇。storm jar all-my-code.jar com.storm.MyTopology arg1 arg2这个命令会运行主类: com.strom.MyTopology, 参数是arg1, arg2。这个类的main函数定...
分类:
其他好文 时间:
2014-07-02 00:56:33
阅读次数:
202
IOS7视频教程-storyboard与UIApplicationhttp://v.youku.com/v_show/id_XNzMxMjgwNzEy.html关东升老师的ios视频教程iPhone与iPad开发实战-ios经典应用剖析-7大项目实战开发1第1讲工具类应用密码生成(Amuck Pas...
分类:
移动开发 时间:
2014-07-02 00:45:06
阅读次数:
553
Given a sorted linked list, delete all duplicates such that each element appear only once.
分类:
其他好文 时间:
2014-07-02 00:33:49
阅读次数:
204
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.
分类:
其他好文 时间:
2014-07-02 00:24:04
阅读次数:
284
1、下载天气预报数据,使用的是 forecast.io 的天气预报接口,需要自行设置 apiKey
//
// RWWeatherViewController.m
// TroutTrip
//
// Created by Charlie Fulton on 2/26/14.
// Copyright (c) 2014 Ray Wenderlich Tutorials. All righ...
分类:
其他好文 时间:
2014-06-30 17:23:13
阅读次数:
284
作为一个oracle dba有时候不得不管理一下mysql数据库,当为主从库时需要阶段性清理mysql binary log,清楚方式如下:
首先查看mysql 的当前日志组
show master status;
确定当前日志组后删除日志文件
purge binary logs to 'mysql-bin.000795';
删除000795之前的日志...
分类:
数据库 时间:
2014-06-30 17:16:01
阅读次数:
240
题目地址:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1269
Jamie is a very popular girl and has quite a lot of friends, so she always keeps a v...
分类:
其他好文 时间:
2014-06-30 16:55:26
阅读次数:
374
Given a 2D board containing'X'and'O', capture all regions surrounded by'X'.A region is captured by flipping all'O's into'X's in that surrounded region...
分类:
其他好文 时间:
2014-06-30 15:03:43
阅读次数:
209
Problem B: Repeat NumberTime Limit:1 SecMemory Limit:32 MBDescriptionDefinition: a+b = c, if all the digits of c are same ( c is more than ten),then w...
分类:
其他好文 时间:
2014-06-30 14:59:33
阅读次数:
508