2016 年文章归档
共 3 篇文章
temp
# TODO: Add comment # # Author: Administrator ############################################################################### #install.packages("bitops") #install.packages("RCurl") #install.packages("XML") #install.packages("plyr") #import library needed for dowloading data library(bitops) library(…
2016-11-14 23:19
Spring Core Tasks
1、Manage and Configure POJOs with the Spring IoC Container 创建POPJ Class package com.apress.springrecipes.sequence; public class SequenceGenerator { private String prefix; private String suffix; private int initial; private int counter; public SequenceGenerator() {} public SequenceGenerator(String p…
2016-02-26 23:06 · Spring Framework
MySQL锁模型与事物
MySQL中不同的存储引擎支持不同的锁机制,比如,MySAM和MEMORY存储引擎采用表级锁,InnoDB支持表级锁和行级锁(默认采用行级锁),BDB(被InnoDB取代)支持表级锁和页面锁。 查看mysq提供的存储引擎:mysql> show engines; 查看mysql当前默认的存储引擎:mysql> show variables like '%storage_engine%'; 查看某个表用的引擎:mysql> show create table 表名; 一、表级锁 1、表级锁特点 开销小,加锁快;不会出现死锁;锁定粒度大,发生锁冲突的概率最高,并发度最低。当需要频繁对大部分数据做…
2016-01-16 17:51 · SQL · 事物 · 锁