今天在访问mysql项目的时候突然报500错误,没有找到连接,因此想到mysql的连接时间。 mysql> show global variables; 主要就是连接时间是28800(8小时),而且任务调度也没打开,因此想到修改全局变量的值。 1.修改任务调度装: 1.1具体的查看任务调度的状态:s ...
分类:
数据库 时间:
2018-01-27 13:44:17
阅读次数:
263
麻省理工学院:http://www.cocw.net/或http://ocw.mit.edu/index.html 哈佛大学:http://www.eecs.harvard.edu/cs143/schedule.html 加州伯克利大学:http://inst.eecs.berkeley.edu/~ ...
分类:
其他好文 时间:
2018-01-26 18:39:01
阅读次数:
180
开始前的准备dhcpdns.lab.example.com192.168.0.5dhcp+dns+ntpserverc.lab.example.com192.168.0.30asamasterserverservera.lab.example.com192.168.0.10serverb.lab.example.com192.168.0.20禁用防火墙serveraandserverbandser
分类:
Web程序 时间:
2018-01-25 17:18:55
阅读次数:
380
数据库:12.1.0.2,rac,cdb模式 笔者负责移动两个12.1.0.2的cdb集群,一个在aix上,一个在linux上,不幸的是,它们都是混合型,数据有100多T。 由于其它部门交付的时候,已经是12c,之前对12c不是很熟悉,但还是想看看是否可以在不分库的前提下,最大化性能。 结果不行,因 ...
分类:
数据库 时间:
2018-01-21 00:12:26
阅读次数:
231
1、一般说来,app底部导航都会设计为5个菜单,可以使用textView,也可使用radioButton,这里我选择用radioButton,给radioButton直接设置selector就可以实现背景变换。 2、接下来说说,fragment切换的实现方式。大家都知道切换fragment有两种方式 ...
分类:
其他好文 时间:
2018-01-20 16:21:57
阅读次数:
279
动态注册过程: ContextWrapper.registerReceiver--> ContextImpl.registerReceiver--> ContextImpl.registerReceiverInternal--> ActivityManagerNative.getDefault(). ...
分类:
其他好文 时间:
2018-01-19 16:44:41
阅读次数:
126
# encoding:utf-8 import urllib import os def Schedule(a,b,c): ''''' a:已经下载的数据块 b:数据块的大小 c:远程文件的大小 ''' per = 100.0 * a * b / c if per > 100 : per = 100... ...
分类:
编程语言 时间:
2018-01-17 23:26:51
阅读次数:
206
Service两种工作状态的作用 1)启动状态:用于执行后台计算 2)绑定状态:用于其他组件和Service的交互 注意:Service这两种状态可以共存,即Service既可以处于启动状态也可以同时处于绑定状态 Service启动过程 ContextWrapper.startService--> ...
分类:
其他好文 时间:
2018-01-17 00:13:45
阅读次数:
136
#week19 There are a total of n courses you have to take, labeled from 0 to n - 1. Some courses may have prerequisites, for example to take course 0 yo ...
分类:
其他好文 时间:
2018-01-13 11:13:26
阅读次数:
210