Kafka是一个分布式的、可分区的、可复制的消息系统。它提供了普通消息系统的功能,但具有自己独特的设计。这个独特的设计是什么样的呢?
首先让我们看几个基本的消息系统术语:
Kafka将消息以topic为单位进行归纳。
将向Kafka topic发布消息的程序成为producers.
将预订topics并消费消息的程序成为consumers.
Kafka以集群的方式运行,可以由一个或多个服务组成,每个服务叫做一个broker....
分类:
其他好文 时间:
2014-07-11 00:01:24
阅读次数:
197
场景,重启数据库,不重启linux系统,所以不用考虑监听程序,#linux输入lsnrctl start1 数据库关闭1.1 关闭主库SHUTDOWN IMMEDIATE;SQL> SHUTDOWN IMMEDIATE;...
分类:
数据库 时间:
2014-07-10 20:59:57
阅读次数:
210
NSThread:利用NSThread创建和启用一个线程1.NSThread *thread = [[NSThread alloc] initWithTarget:self selector:@selector(run) object:nil];,调用后调用[thread start];2.创建.....
分类:
移动开发 时间:
2014-07-03 19:12:31
阅读次数:
223
11gR2搭建dataguard环境:自己做的实验,后续按照rman模式搭建、主备切换、模式调整等实验会陆续发上来。primary:OS:oel 6.4database:11.2.0.4.0192.168.100.131hostname=node4ORACLE_SID=goodORACLE_HOME...
分类:
其他好文 时间:
2014-07-02 19:25:53
阅读次数:
209
//
以下是主库:
下列语句可以用来检查SQL应用能否唯一识别表列,并找出不被支持的表:查询哪个表不支持logical standby传输
SQL> select owner, table_name from dba_logstdby_not_unique where (owner, table_name) not in (select distinct owner, table_name...
分类:
数据库 时间:
2014-07-02 16:40:01
阅读次数:
368
oracle golden gate我最近正在琢磨,这个软件我觉得约等于dataguard的逻辑模式,我认为其最大的优势是更可控制,比如可以细化到某个schema、某个table的同步。如下实验的主要步骤:ogg根据scn同步数据,源库零停机时间1. 配置好ogg源端的mgr、抓取和传送进程,并启动...
分类:
其他好文 时间:
2014-07-01 12:37:00
阅读次数:
499
Creating a Physical Standby Database
This case is created, operated and followed the steps from oracle online help documentation.
The configuration of the two sites server:
Primary Database:
[roo...
分类:
数据库 时间:
2014-07-01 06:22:46
阅读次数:
415
Creating a Physical Standby Database
This case is created, operated and followed the steps from oracle online help documentation.
The configuration of the two sites server:
Primary Database:
[roo...
分类:
数据库 时间:
2014-06-30 19:37:39
阅读次数:
313
Kafka是一个分布式的消息中间件,可以粗略的将其划分为三部分:Producer、Broker和Consumer。其中,Producer负责产生消息并负责将消息发送给Kafka;Broker可以简单的理解为Kafka集群中的每一台机器,其负责完成消息队列的主要功能(接收消息、消息的持久化存储、为Consumer提供消息、消息清理.....);Consumer从Broker获取消息并进行后续的操作。...
分类:
其他好文 时间:
2014-06-27 23:55:13
阅读次数:
387