07 2013 档案

摘要:vi /etc/yum.repos.d/MariaDB.repo 加入下面内容 [mariabd]name=MariaDBbaseurl=http://yum.mariadb.org/5.5.34/centos6-amd64/gpgkey=http://yum.mariadb.org/RPM-GPG... 阅读全文
posted @ 2013-07-23 17:31 缤纷世界 阅读(1421) 评论(0) 推荐(0) 编辑
摘要:Properties myProperty = new Properties();String jdbcPath = PathKit.getWebRootPath()+File.separator+"WEB-INF"+File.separator+"classes"+File.separator... 阅读全文
posted @ 2013-07-22 14:06 缤纷世界 阅读(3142) 评论(0) 推荐(0) 编辑
摘要:File f = new File(save_path+File.separator + resouce_id+".zip"); FileInputStream fis = new FileInputStream(f); String resource... 阅读全文
posted @ 2013-07-15 09:55 缤纷世界 阅读(6078) 评论(0) 推荐(0) 编辑
摘要:在JAVA7中提供了新的遍历文件的方法,比原有File类的递归遍历效率要好大约30%左右。 测试结果: 测试用的File类的递归,是经过对比测试几种方法,找出相对效率较好的来和JAVA7进行测试。 1、12749个文件夹,83805个文件,大小43.5 GB JAVA7:执行耗时 1.15 秒。 F... 阅读全文
posted @ 2013-07-13 08:58 缤纷世界 阅读(4249) 评论(1) 推荐(0) 编辑
摘要:效率非常不错 测试结果: 1、list1中有97277条数据,list2中有37894条数据,两个list进行对比找出不同的数据共60000条左右,用时:0.051秒 2、list1中有97277条数据,list2中有97067条数据,两个list进行对比找出不同的数据共288条,用时:0.06秒 ... 阅读全文
posted @ 2013-07-12 15:16 缤纷世界 阅读(24135) 评论(2) 推荐(0) 编辑
摘要:在恢复mysql数据库时提示1418 - This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)原因:是因为开启了bin-log解决办法SQL codemysql>show variableslike'log_bin_trust_function_ 阅读全文
posted @ 2013-07-09 08:59 缤纷世界 阅读(1121) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示