oracle 11g 数据库恢复技术 02 控制文件 多个oracle进程将控制文件做信息注册、交换的中心,健康的控制文件是数据库启动至mount阶段的必要条件 在备份与恢复中,控制文件同样非常重要,db在mount时,该文件本身的信息就足以判断数据库是否需要介质恢复、上一次db是否正常关闭,在db ...
分类:
数据库 时间:
2019-05-23 15:38:58
阅读次数:
207
1 #服务端 2 from socket import * 3 import json 4 def recvMsg(s): 5 while True: 6 #接收用户的信息 7 data,address = s.recvfrom(1024) 8 data = json.loads(data) 9 .... ...
分类:
其他好文 时间:
2019-05-23 12:11:45
阅读次数:
93
[ERROR - org.apache.flume.source.SpoolDirectorySource$SpoolDirectoryRunnable.run(SpoolDirectorySource.java:256)] FATAL: Spool Directory source source1: { spoolDir: /flume/log/ }: Uncaught exception in SpoolDirectorySource thread. Restart or reconfigure Flume to continue processing.
java.nio.charset.MalformedInputException: Input length = 1
分类:
编程语言 时间:
2019-05-23 00:52:39
阅读次数:
156
简介 单例模式(Singleton Pattern)是 程序开发 中最简单的设计模式之一。这种类型的设计模式属于创建型模式,它提供了一种创建对象的最佳方式。 这种模式涉及到一个单一的类,该类负责创建自己的对象,同时确保只有单个对象被创建。这个类提供了一种访问其唯一的对象的方式,可以直接访问,不需要实 ...
分类:
其他好文 时间:
2019-05-22 22:34:59
阅读次数:
138
一、基本概念 线程 在一个进程内部要同时运行多个子任务,我们将进程内的子任务称为线程,一个进程内至少包括一个线程,线程是最小的执行单元,没有自己独立的堆栈 线程调度 使用算法是线程按一定的顺序执行 二、完成简单的线程调度 题目要求 有两个线程分别输出0,2,4,6,8和1,3,5,7,9,编写程序使 ...
分类:
编程语言 时间:
2019-05-22 19:21:32
阅读次数:
190
AtomicInteger,通过Unsafe类来实现线程安全的CAS操作
分类:
编程语言 时间:
2019-05-22 14:05:10
阅读次数:
158
dispatchPreprocessedEventFromEventQueue 先定位;hittest * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1 * frame #0: 0x000000010 ...
分类:
移动开发 时间:
2019-05-22 11:24:19
阅读次数:
324
最近做项目需要用java调用python,配置了jython后,运行了例子代码: 获得一个元组里面的元素: 运行时报错: Exception in thread "main" ImportError: Cannot import site module and its dependencies: N ...
分类:
编程语言 时间:
2019-05-20 21:13:46
阅读次数:
371
delimiter $create event my_long_running_trx_monitoron schedule every 1 minutestarts '2015-09-15 11:00:00'on completion preserve enable dobegin declare ...
分类:
数据库 时间:
2019-05-20 19:01:54
阅读次数:
521
现象: 报错:Exception in thread "main" com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure 解决办法: 更换 mysql-connector-java-8.0. ...
分类:
数据库 时间:
2019-05-20 00:56:06
阅读次数:
175