- 博客(292)
- 收藏
- 关注
修改Oracle最大连接数和会话数
ORACLE 最大连接数的问题:[url]http://www.jb51.net/article/19317.htm[/url]Oracle默认的最大连接数为100,会话数为60,有时候我们需要更新百万级的数据,需要获取比100更多的连接数和比60更多的会话数,这是可以修改Oracle最大连接数和会话数。[size=medium][b]1.查看最大连接数[/b][/size][code...
2017-05-04 11:49:00
2589
ORA-01652: unable to extend temp segment by 128 in tablespace TEMP解决办法
解决ora-01652无法通过128(在temp表空间中)扩展temp段的过程:[url]http://www.cnblogs.com/cyl048/p/5984128.html[/url]在数据库更新130万数据时,出现ORA-01652: unable to extend temp segment by 128 in tablespace TEMP,出现这个的原因,是以为临时表空间已经占满...
2017-05-04 11:27:08
13647
SocketChannelImpl 解析二(发送数据后续)
SocketChannelImpl 解析一(通道连接,发送数据):[url]http://donald-draper.iteye.com/blog/2372364[/url][size=medium][b]引言:[/b][/size]上一篇文章我们看了一下SocketChannelImpl的初始化,通道连接(Socket),写操作(write-ByteBuffer)。先回顾一下:Soc...
2017-05-04 08:42:43
584
SocketChannelImpl 解析一(通道连接,发送数据)
ThreadLocal解析 :[url]http://donald-draper.iteye.com/blog/2368159[/url]Java NIO ByteBuffer详解:[url]http://donald-draper.iteye.com/blog/2357084[/url]DirectByteBuffer简介:[url]http://donald-draper.iteye....
2017-05-03 09:09:31
3139
DirectByteBuffer简介
Java NIO ByteBuffer详解:[url]http://donald-draper.iteye.com/blog/2357084[/url]MappedByteBuffer定义:[url]http://donald-draper.iteye.com/blog/2371594[/url]Reference定义(PhantomReference,Cleaner):[url]http...
2017-05-02 23:25:26
762
Reference定义(PhantomReference,Cleaner)
Java NIO ByteBuffer详解:[url]http://donald-draper.iteye.com/blog/2357084[/url]MappedByteBuffer定义:[url]http://donald-draper.iteye.com/blog/2371594[/url]整理 Java 引用(Reference)的概念 :[url]https://www.osch...
2017-04-28 17:24:46
441
MappedByteBuffer定义
Java NIO ByteBuffer详解:[url]http://donald-draper.iteye.com/blog/2357084[/url][size=medium][b]引言:[/b][/size]在上一篇文章中我们看了HeapByteBuffer,今天来看另外一个DirectByteBuffer。在看DirectByteBuffer之前,我们先来看一下DirectByteB...
2017-04-28 11:05:08
328
tomcat日志及log4j日志乱码
Linux系统字符编码:[url]http://www.cnblogs.com/zhzhao/p/4516997.html[/url]linxu配置文件:[url]http://blog.chinaunix.net/uid-14735472-id-4305151.html[/url]一般在我们在windows开发程序时用GBK编码格式在windows系统上可以显示,但到了Linux环境...
2017-04-26 15:00:49
1325
SocketChannel接口定义
Channel接口定义:[url]http://donald-draper.iteye.com/blog/2369111[/url]AbstractInterruptibleChannel接口定义:[url]http://donald-draper.iteye.com/blog/2369238[/url]SelectableChannel接口定义:[url]http://donald-dr...
2017-04-25 23:08:07
239
SQL Server大表数据的导出与导入命令BCP
SQLServer备份还原命令Sqlcmd,osql,iSql使用:[url]http://lzh166.iteye.com/blog/1123995[/url]SQL Server BCP使用小结:[url]http://www.cnblogs.com/qanholas/archive/2011/07/05/2098616.html[/url] 上面的文章已将有相关命令的使用,我...
2017-04-24 23:07:51
629
ByteChannel,分散聚集通道接口的定义(SocketChannel)
Channel接口定义:[url]http://donald-draper.iteye.com/blog/2369111[/url]AbstractInterruptibleChannel接口定义:[url]http://donald-draper.iteye.com/blog/2369238[/url]SelectableChannel接口定义:[url]http://donald-dr...
2017-04-24 22:35:03
350
ServerSocketChannelImpl解析
Channel接口定义:[url]http://donald-draper.iteye.com/blog/2369111[/url]AbstractInterruptibleChannel接口定义:[url]http://donald-draper.iteye.com/blog/2369238[/url]SelectableChannel接口定义:[url]http://donald-dr...
2017-04-23 23:13:30
1257
WindowsSelectorImpl解析二(选择操作,通道注册,通道反注册,选择器关闭等)
WindowsSelectorImpl解析一(FdMap,PollArrayWrapper):[url]http://donald-draper.iteye.com/blog/2370811[/url][url][b]引言:[/b][/url] 上一篇文章我们简单看了一下的WindowsSelectorImpl内部集合和变量及同步锁的定义,先来回顾下, WindowsSele...
2017-04-23 14:50:36
756
WindowsSelectorImpl解析一(FdMap,PollArrayWrapper)
Channel接口定义:[url]http://donald-draper.iteye.com/blog/2369111[/url]AbstractInterruptibleChannel接口定义:[url]http://donald-draper.iteye.com/blog/2369238[/url]SelectableChannel接口定义:[url]http://donald-dr...
2017-04-22 20:31:51
740
SelectorImpl分析
Channel接口定义:[url]http://donald-draper.iteye.com/blog/2369111[/url]AbstractInterruptibleChannel接口定义:[url]http://donald-draper.iteye.com/blog/2369238[/url]SelectableChannel接口定义:[url]http://donald-dr...
2017-04-20 23:29:21
670
原创 AbstractSelector定义
Channel接口定义:[url]http://donald-draper.iteye.com/blog/2369111[/url]AbstractInterruptibleChannel接口定义:[url]http://donald-draper.iteye.com/blog/2369238[/url]SelectableChannel接口定义:[url]http://donald-dr...
2017-04-20 08:17:09
255
Selector定义
Channel接口定义:[url]http://donald-draper.iteye.com/blog/2369111[/url]AbstractInterruptibleChannel接口定义:[url]http://donald-draper.iteye.com/blog/2369238[/url]SelectableChannel接口定义:[url]http://donald-dr...
2017-04-19 12:55:11
238
FileDescriptor定义
SelectionKey定义:[url]http://donald-draper.iteye.com/blog/2369499[/url] 在上面一篇文章中,我们看了SelectionKey,AbstractSelectionKey及SelectionKeyImpl的定义在SelectionKeyImpl的实现中,我们看到key关联的通道实际为SelChImpl,而SelChImpl定义...
2017-04-19 08:40:22
232
ServerSocketChannel定义
Channel接口定义:[url]http://donald-draper.iteye.com/blog/2369111[/url]AbstractInterruptibleChannel接口定义:[url]http://donald-draper.iteye.com/blog/2369238[/url]SelectableChannel接口定义:[url]http://donald-dr...
2017-04-18 14:16:47
263
NetworkChannel接口定义
Channel接口定义:[url]http://donald-draper.iteye.com/blog/2369111[/url]AbstractInterruptibleChannel接口定义:[url]http://donald-draper.iteye.com/blog/2369238[/url]SelectableChannel接口定义:[url]http://donald-dr...
2017-04-18 08:57:19
264
AbstractSelectableChannel定义
Channel接口定义:[url]http://donald-draper.iteye.com/blog/2369111[/url]AbstractInterruptibleChannel接口定义:[url]http://donald-draper.iteye.com/blog/2369238[/url]SelectableChannel接口定义:[url]http://donald-dr...
2017-04-17 21:51:28
384
SelectorProvider定义
Channel接口定义:[url]http://donald-draper.iteye.com/blog/2369111[/url]AbstractInterruptibleChannel接口定义:[url]http://donald-draper.iteye.com/blog/2369238[/url]SelectableChannel接口定义:[url]http://donald-dr...
2017-04-17 11:34:58
728
SelectionKey定义
Channel接口定义:[url]http://donald-draper.iteye.com/blog/2369111[/url]AbstractInterruptibleChannel接口定义:[url]http://donald-draper.iteye.com/blog/2369238[/url]SelectableChannel接口定义:[url]http://donald-dr...
2017-04-16 14:50:01
381
SelectableChannel接口定义
Channel接口定义:[url]http://donald-draper.iteye.com/blog/2369111[/url]AbstractInterruptibleChannel接口定义:[url]http://donald-draper.iteye.com/blog/2369238[/url]上一篇文章我们讲到可以异步中断和关闭通道接口的定义。先来回顾一下: Abstr...
2017-04-15 23:39:53
285
AbstractInterruptibleChannel接口定义
Channel接口定义:[url]http://donald-draper.iteye.com/blog/2369111[/url]前面看了一下通道接口的定义,只要是为了从根本上理解通道,今天来看一下可异步关闭和中断阻塞IO操作线程的通道接口定义AbstractInterruptibleChannel,下面是ServerSocketChannel实现的类和接口结构树://ServerS...
2017-04-15 11:22:25
334
Channel接口定义
NIO-TCP通信实例:[url]http://donald-draper.iteye.com/blog/2369052[/url] 在前面一节中我们写了一通信实例,包括多线程和单线程版本,接下来我们讲从源码来看一下ServerSocketChannel,SocketChannel,Select相关方法,我们先来看一下Channel的定义。之所以看通道接口的定义,主要因为具体的通道实现类...
2017-04-14 12:58:50
423
原创 NIO-TCP通信实例(单线程,多线程Server)
Java Socket通信实例:[url]http://donald-draper.iteye.com/blog/2356695[/url]Java NIO ByteBuffer详解:[url]http://donald-draper.iteye.com/blog/2357084[/url]Java Nio系列教程;[url]http://www.iteye.com/magazines/1...
2017-04-14 08:26:38
399
NIO-TCP简单实例
Java Nio系列教程;[url]http://www.iteye.com/magazines/132-Java-NIO[/url]Channel接口定义:[url]http://donald-draper.iteye.com/blog/2369111[/url]AbstractInterruptibleChannel接口定义:[url]http://donald-draper.itey...
2017-04-13 22:27:04
166
百万级数据-程序迁移后续
百万级数据-程序迁移:[url]http://donald-draper.iteye.com/blog/2327909[/url] 在上面这一篇文章中,内存为2G的情况下,单线程分页数为10万,批量保存为5000的情况下,更新120万的数据,需要耗时20分钟左右,同时JVM被占满,由于以前认为数据更新一次就少,就没有优化;后来一次更新的记录达到百万,应用扛不住,现在总于抽出时间,来做一些...
2017-04-13 18:09:38
203
ThreadLocal解析
Spring+Mybatis多数据源的实现:[url]http://donald-draper.iteye.com/blog/2326034[/url]在上面一篇文章中我们在数据源切换的过程中用到过ThreadLocal,用ThreadLocal数据源名,主要是保证每个线程的数据源相互独立,互不干扰。ThreadLocal声明的变量保证每个线程拥有一个独立的副本;以前的无论是Redis还是...
2017-04-08 15:36:36
126
Executors解析
ThreadPoolExecutor解析一(核心线程池数量、线程池状态等) :[url]http://donald-draper.iteye.com/blog/2366934[/url]ThreadPoolExecutor解析二(线程工厂、工作线程,拒绝策略等):[url]http://donald-draper.iteye.com/blog/2367064[/url]Thread...
2017-04-07 14:38:27
157
ScheduledThreadPoolExecutor解析三(关闭线程池)
ScheduledThreadPoolExecutor解析一(调度任务,任务队列):[url]http://donald-draper.iteye.com/blog/2367332[/url]ScheduledThreadPoolExecutor解析二(任务调度):[url]http://donald-draper.iteye.com/blog/2367593[/url]前面一篇文...
2017-04-06 20:52:07
3721
ScheduledThreadPoolExecutor解析二(任务调度)
ScheduledThreadPoolExecutor解析一(调度任务,任务队列):[url]http://donald-draper.iteye.com/blog/2367332[/url]前一篇文章我们看了一下调度线程池执行器的调度任务,任务队列,先来回顾一下 ScheduledFutureTask用一个序列号标识延时任务的执行编号,以保证任务的调度按照FIFO的顺序,用tim...
2017-04-06 12:56:32
214
ScheduledThreadPoolExecutor解析一(调度任务,任务队列)
Executor接口的定义:[url]http://donald-draper.iteye.com/blog/2365625[/url]ExecutorService接口定义:[url]http://donald-draper.iteye.com/blog/2365738[/url]Future接口定义:[url]http://donald-draper.iteye.com/blog/23...
2017-04-04 22:59:00
947
1
ThreadPoolExecutor解析四(线程池关闭)
Executor接口的定义:[url]http://donald-draper.iteye.com/blog/2365625[/url]ExecutorService接口定义:[url]http://donald-draper.iteye.com/blog/2365738[/url]Future接口定义:[url]http://donald-draper.iteye.com/blog/23...
2017-04-03 23:02:47
630
ThreadPoolExecutor解析三(线程池执行提交任务)
Executor接口的定义:[url]http://donald-draper.iteye.com/blog/2365625[/url]ExecutorService接口定义:[url]http://donald-draper.iteye.com/blog/2365738[/url]Future接口定义:[url]http://donald-draper.iteye.com/blog/23...
2017-04-03 12:06:50
574
ThreadPoolExecutor解析二(线程工厂、工作线程,拒绝策略等)
Executor接口的定义:[url]http://donald-draper.iteye.com/blog/2365625[/url]ExecutorService接口定义:[url]http://donald-draper.iteye.com/blog/2365738[/url]Future接口定义:[url]http://donald-draper.iteye.com/blog/23...
2017-04-01 17:12:01
328
原创 Msyql日期字符串转换
Date和String的互相转换:[url]http://www.tuicool.com/articles/iiQzeq[/url]日志转换为字符串:DATE_FORMAT[code="java"]mysql> use test;Database changedmysql> select DATE_FORMAT(now(),"%Y-%m-%d %H:%i:%s");+-----...
2017-04-01 14:13:29
104
ThreadPoolExecutor解析一(核心线程池数量、线程池状态等)
Executor接口的定义:[url]http://donald-draper.iteye.com/blog/2365625[/url]ExecutorService接口定义:[url]http://donald-draper.iteye.com/blog/2365738[/url]Future接口定义:[url]http://donald-draper.iteye.com/blog/23...
2017-03-31 22:01:03
1334
Mysql添加约束
MySQL中对三种约束的支持:[url]http://leekai.me/mysql-zhong-dui-san-zhong-yue-shu-de-zhi-chi/[/url]MySQL的InnoDB默认支持5中约束,– primary key– unique key– foreign key– default– not null今天我们来操作一下唯一约束创建与删除,首...
2017-03-31 16:28:04
187
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人