码迷,mamicode.com
首页 >  
搜索关键字:time out    ( 87642个结果
php中将数据库中time由String改为时间戳
1 $uid, "PWD"=>$pwd, "Database"=>"LocationAnalysisDatabase");10 11 $conn = sqlsrv_connect( $serverName, $connectionInfo);12 13 if( $conn == false){14....
分类:数据库   时间:2014-05-16 04:39:58    阅读次数:360
倒计时
Using UnityEngine;public class TimeDela:MonoBehavior{ float myScencons=0; public long time=100; void Updata(){ myScencons+=Time.deltaTime; if(myScenco...
分类:其他好文   时间:2014-05-16 04:38:42    阅读次数:235
代码艺术 CountDownTimer
/** * Schedule a countdown until a time in the future, with regular notifications on intervals along the way. * * Example of showing a 30 second count...
分类:其他好文   时间:2014-05-16 04:21:02    阅读次数:311
Java:基础
Hello World //HelloWorld.java文件 public class HelloWorld { public static void main(String[] args) { System.out.println(“Hello World!”); } } 编译运行 javac ...
分类:编程语言   时间:2014-05-16 04:11:27    阅读次数:306
几个常用ORACLE运维监控的SQL语句
1.消耗CPUSELECT a.CPU_TIME, --CPU时间 百万分之一(微秒) a.OPTIMIZER_MODE,--优化方式 a.EXECUTIONS,--执行次数 a.DISK_READS,--读盘次数 a.SHARABLE_MEM,--占用shared pool...
分类:数据库   时间:2014-05-16 04:07:52    阅读次数:419
MySQL内存参数及调整
1.慢查询日志:slow_launch_time=2 查询大于某个时间的值(单位:s)slow_query_log=on/off 开启关闭慢查询日志slow_query_log_file=/opt/data/host-slow.log 慢查询日志位置2.连接数:max_connections MyS...
分类:数据库   时间:2014-05-15 21:44:08    阅读次数:447
C#高效率导入Excel数据
//此方法可以一次导入百万数据public int GetDevicesExel(string fileName, string users, out string repIMEI) { int res = 0; #region exel导入...
分类:其他好文   时间:2014-05-15 17:05:06    阅读次数:250
pexpect练习实例--批量执行远程服务器上的指定脚本
经过几天的学习,pexpect模块对于linux下运维脚本编写属实有用,下面写个脚本检验下学习效果。#!/usr/bin/envpython #coding=utf-8 #远程执行服务器上的脚本 importsys,time,os,multiprocessing try: importpexpect exceptImportError: print""" Youmustinstallpexpectmodule "..
分类:其他好文   时间:2014-05-15 12:55:28    阅读次数:260
MySQL内存参数及调整
1.慢查询日志:slow_launch_time=2查询大于某个时间的值(单位:s)slow_query_log=on/off开启关闭慢查询日志slow_query_log_file=/opt/data/host-slow.log慢查询日志位置2.连接数:max_connectionsMySQL最大连接数back_log当连接数满了后,设置一个值,允许多少个连接进入等待堆..
分类:数据库   时间:2014-05-15 12:44:41    阅读次数:385
优化脚本
第一步vim/etc/sysctl.conf net.ipv4.tcp_keepalive_time=1800 net.ipv4.tcp_keepalive_probes=5 net.ipv4.tcp_keepalive_intvl=15 net.core.rmem_max=167772160 net.core.wmem_max=167772160 net.ipv4.tcp_rmem=409687380167772160 net.ipv4.tcp_wmem=409665536167772160 net...
分类:其他好文   时间:2014-05-15 12:32:43    阅读次数:248
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!