![这些选项有什么用?][1] **PK** Belongs to primary key 作为主键 **NN** Not Null 非空 **UQ** Unique index 不能重复 **BIN** Is binary column 存放二进制数据的列 **UN** Unsigned data type 无符号数据类型...
分类:
数据库 时间:
2014-07-21 10:38:22
阅读次数:
244
在安装 subversion时候 #tar xvjf subversion-1.6.3.tar # ./configure --prefix=/data1/subversion --with-apxs=/data1/apache2/bin/apxs ?--with-apr-util=/data1/apache2/bin/apu-1-config --with-apr=/d...
分类:
数据库 时间:
2014-07-21 10:18:57
阅读次数:
241
#### 1. 在Hive中使用show tables;等命令报错:com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was too long; max key length is 767 bytes **解决办法:** 到mysql中的hive数据库里...
分类:
其他好文 时间:
2014-07-21 10:12:36
阅读次数:
453
Java中集合List,Map和Set的区别
1、List和Set的父接口是Collection,而Map不是
2、List中的元素是有序的,可以重复的
3、Map是Key-Value映射关系,且Key不能重复
4、Set中的元素是无序的,不可重复的...
分类:
编程语言 时间:
2014-07-20 10:37:19
阅读次数:
223
Problem Description
IP lookup is one of the key functions of routers for packets forwarding and classifying. Generally, IP lookup can be simplified as a Longest Prefix Matching (LPM) problem. That'...
分类:
其他好文 时间:
2014-07-20 10:18:28
阅读次数:
235
常用KEY:1.监控端口net.tcp.port[,3306]2.监控进程proc.num[mysqld]3.查看CPU核数system.cpu.num4.查看系统的系统启动时间和当前时间system.boottime、system.localtime5.查看系统的简单信息system.uname6.查看windowns系统当前网卡的进出流量net.if.out[{HOST.NAME},bytes]、..
分类:
其他好文 时间:
2014-07-20 10:17:37
阅读次数:
231
一、Memcached是何方神圣? 在数据驱动的Web开发中,经常要重复从数据库中取出相同的数据,这种重复极大的增加了数据库负载。缓存是解决这个问题的好办法。但是ASP.NET中的HttpRuntime.Cache虽然已经可以实现对页面局部进行缓存,但还是不够灵活,此时Memcached或许是你想....
分类:
其他好文 时间:
2014-07-20 08:32:47
阅读次数:
242
相信大家在安装nginx的时候会遇到一些问题,我在做实验的时候遇到一个问题,就是在执行./configure--prefix=/usr/local/ngix--conf-path=/etc/ngix/ngix.conf这一步的时候,下面出现了一个error,./configure:error:theHTTPgzipmodulerequiresthezliblibrary.Youcaneitherdisab..
分类:
其他好文 时间:
2014-07-20 03:43:06
阅读次数:
250
Ubuntu安装keepalived(热备份)http://www.keepalived.org/software/keepalived-1.1.19.tar.gzMASTER服务器$sudoapt-getinstalllibpopt-dev$sudoapt-getinstalldaemon$sudotarzxfvkeepalived-1.1.19.tar.gz$cdkeepalived-1.1.19$./configure--prefix=/usr/local/keepalived$ma..
分类:
其他好文 时间:
2014-07-20 03:18:37
阅读次数:
177