- Oracle 12.2.0.1应用缓存之一(TimesTen 18.1.3.20连通性配置)
轻飘飘D
1.Timesten端Oracle数据库服务定义配置[timesten@XAG8conf]$cd$TIMESTEN_HOME/network/admin[timesten@XAG8admin]$pwd/u01/timesten/tt181/network/admin[timesten@XAG8admin]$cattnsnames.oraPDB1=(DESCRIPTION=(ADDRESS=(PRO
- 【转】数据库编程总结
carpe__diem
数据库编程服务器oraclesqldb2
from:http://blog.csdn.net/byxdaz/archive/2010/04/11/5473557.aspx当前各种主流数据库有很多,包括Oracle,MSSQLServer,Sybase,Informix,MySQL,DB2,Interbase/Firebird,PostgreSQL,SQLite,SAP/DB,TimesTen,MSACCESS等等。数据库编程是对数据库的创
- 内存数据库的比较
liyu19870423
eXtremeDB内存数据库数据库内存数据库数据同步eXtremeDB
这里比较四个内存数据库系统情况,分别是Timesten、AltiBase、ExtremeDB、CacheDB(自研),需要说明的是,这是这段时间的粗略感性认识(并没有经过一段时间的使用,是换不来理性的客观认识)一、市场与技术支持比较项目市场及应用领域比较排行Timesten全球化,领域全面,金融领域有应用。2AltiBase韩国及东南亚,分布较广,电信市场为主体4Extreme全球化,领域全面,在
- pytorch addcmul函数用法
HMoS
pytorch学习记录pytorch深度学习python
torch.addcmul用法参考:torch.addcmul—PyTorch1.12documentation函数说明:torch.addcmul(input,tensor1,tensor2,*,value=1,out=None)→Tensorouti=inputi+value×tensor1i×tersor2iout_i=input_i+value\timestensor1_i\timeste
- 2020-09-26,中文文档列表 - Oracle Database (Doc ID 1533057.1)
城风蔚然
OracleDBA成长之路数据库oracle
SkiptocontentCopyright(c)2020,Oracle.Allrightsreserved.OracleConfidential.中文文档列表-OracleDatabase(DocID1533057.1)文档内容详细信息操作Oracle数据库技术支持通讯数据库云安装/升级/降级/迁移相关性能相关集群及存储相关高可用相关TimesTen内存数据库联系人参考适用于:OracleDat
- 如何开发一个分布式内存数据库(一)
smartguy
如何开发一个分布式内存数据库(一)目前有很多商用的内存数据库(timesten,atibase),很多开源的分布式物理数据库,而成熟的分布式内存数据库却很少。当然mysqlcluster算是一个,但其受控于oracle,真正要拿来商用,费用应该不低。我们从使用内存数据库已有近15年历史,随着系统分布式的推进,内存数据库的分布式随之也提上日程。基于目前的技术储备,我们相信我们有能力构建一个符合业务要
- 詹姆斯哈登名言记录(中英双语)
JHarden4233
Whenyou’reinadarkplace,yousometimestendtothinkyou’rebeenburiedPerhapsyou’rebeenplantedBloom当你身处黑暗,有时会觉得你已被埋葬也许你已被播种终会绽放NobodycanpraisemeNoneofmyfriendsandclosefamilyIdon’twatchthemtobetalkingaboutitWe
- 如何查看timesten表结构?
1Oracle的Schema用户$sqlplussysprodassysdbaCREATEUSERorattIDENTIFIEDBYoracle;GRANTCREATESESSION,RESOURCETOoratt;alteruserorattquotaunlimitedonusers;2TimesTen端的Schema用户,与Oracle数据库端一致$ttisqlttdbcreateuseror
- Oracle 12.2.0.1应用缓存之二(缓存配置准备工作)
轻飘飘D
在ORACLE中创建timesten用户及内部表[timesten@XAG8conf]$cd$TIMESTEN_HOME/install/oraclescripts[timesten@XAG8oraclescripts]$pwd/u01/timesten/tt181/install/oraclescripts[timesten@XAG8oraclescripts]$lscacheCleanUp.s
- Oracle 11.2.0.4应用缓存之四(缓存配置-动态加载只读缓存组)
轻飘飘D
确认oracle中基础表jobs[timesten@XAG816~]$sqlplusttuser/oracle@DGSQL>descjobs;NameNull?Type-----------------------------------------------------------------------------JOB_IDNOTNULLVARCHAR2(10)JOB_TITLENOTNU
- Oracle 11.2.0.4应用缓存之二(缓存配置准备工作)
轻飘飘D
在ORACLE中创建timesten用户及内部表#Timesten端运行[timesten@XAG816setup]$cd$TT_HOME/oraclescripts[timesten@XAG816oraclescripts]$pwd/home/timesten/TimesTen/tt1122/oraclescripts[timesten@XAG816oraclescripts]$sqlpluss
- Oracle 11.2.0.4应用缓存之五(缓存配置-预加载AWT缓存组)
轻飘飘D
确认oracle中基础表jobs[timesten@XAG816~]$sqlplusttuser/oracle@DGSQL>descjobs;NameNull?Type-----------------------------------------------------------------------------JOB_IDNOTNULLVARCHAR2(10)JOB_TITLENOTNU
- Oracle 11.2.0.4应用缓存之三(缓存配置-预加载只读缓存组)
轻飘飘D
确认oracle中基础表jobs[timesten@XAG816~]$sqlplusttuser/oracle@DGSQL>descjobs;NameNull?Type-----------------------------------------------------------------------------JOB_IDNOTNULLVARCHAR2(10)JOB_TITLENOTNU
- 12C ORA 错误汇总18 ORA 57000 to ORA 65535 EXP 00000 to EXP 00114
不靠傻空
分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴!ORA-57000:TimesTenIMDBerror:stringCause:AnerroroccurredduringaTimesTenoperation.Action:Lookuptheerrorcodei
- cachegroup:主库多表
SAIL++
oracleservicecachetablecommandsessionfilter
主库多表cachegroup就是一个cachegroup里有一张主表,大于等于一张子表。1、一张主表,一张子表:$ttisql"dsn=tt_cachegroup;uid=cache_user;pwd=timesten;oraclepwd=oracle";Copyright(c)1996-2011,Oracle.Allrightsreserved.Type?or"help"forhelp,type
- 【11g】NLS_SORT(_CI附加,_AI附加)
回到未来望过去
ocp
NLS_SORTNLS_SORT属性指示用于语言比较的排序序列。它接受“受支持的语言排序”中列出的值。可以将所有这些值修改为不区分大小写的排序,方法是将_CI附加到值中。若要执行不区分上下文和大小写的排序,请将_AI追加到该值。对于物化视图和缓存组,TimesTen建议使用NLSSORTSQL函数显式指定排序序列,而不是在连接字符串或DSN定义中使用此属性涉及字符比较的操作支持区分大小写的语言排序
- Redis内存数据库
余崇富
redis
为什么要把数据存入内存?快常见的内存数据库:MemCached(常用于session一致性,MemCached+keepalive实现):看成Redis前身,严格来说,MemCached不能叫数据库,只能叫缓存不支持持久化。如果内存停电,数据丢失。Redis:内存数据库,支持持久化,支持HAOracleTimesTenRedis适合用来做什么?共享Cache,不怕丢数据,丢了可以从DB中reloa
- 5企业级NoSQL数据库基础入门与基础架构-崔冬青-专题视频课程
Alexander-li
视频教程
5企业级NoSQL数据库基础入门与基础架构—79人已学习课程介绍1.Oracle安装使用和典型应用场景2.Redis安装使用和高可用架构3.TimesTen内存数据库介绍4.MongoDB安装使用和高可用架构5.ElasticSearch搜索引擎安装使用和高可用架构6.SQLServer安装使用和高可用架构。讨论答疑进MySQL专题交流群784410697课程收益掌握主流关系型数据库Oracle和
- chrony时间同步简明设置
dingdingfish
TimesTenScaleout
场景在TimesTenScaleoutUserGuide中提到:Itisimportanttoensurethatthesystemclocksofeveryhostinyourgridareroughlysynchronized.Synchronizedsystemclocksensurethattimestampsoftransactionsandlogsareaccurateonallhos
- 【MOS】中文文档列表 - Oracle Database (文档 ID 1533057.1)
coco3600
中文文档列表-OracleDatabase(文档ID1533057.1)类型:状态:上次主更新:上次更新:ANNOUNCEMENTPUBLISHED2017-2-232017-2-23文档内容详细信息操作Oracle数据库技术支持通讯安装/升级/降级/迁移相关日常管理相关性能相关集群及存储相关高可用相关TimesTen内存数据库联系人参考适用于:OracleDatabase-EnterpriseE
- 完成了一个完整的基于TimesTen的程序
towerjt
Timesten
今天完成了一个完整的基于TimesTen的程序,入账的程序。有一个很莫名其妙的问题,有一个声明为NUMBER(9)的字段,在Prepare完后做参数,TTClasses愣是认为这个字段是SQLVARCHAR,搞得我只能把所有的变量重新声明了一下。幸好的是,即使目标字段是NUMBER型的,我在setParam时传入的参数是char的话,并不会影响查询的效率。
- 数据库编程总结
cyou2005
技术数据库编程oracle服务器sqlsqlserver
当前各种主流数据库有很多,包括Oracle,MSSQLServer,Sybase,Informix,MySQL,DB2,Interbase/Firebird,PostgreSQL,SQLite,SAP/DB,TimesTen,MSACCESS等等。数据库编程是对数据库的创建、读写等一列的操作。数据库编程分为数据库客户端编程与数据库服务器端编程。数据库客户端编程主要使用ODBCAPI、ADO、ADO
- Timesten
cafardhaibin
1:调用C++接口进行存储过程调用时发生需哦无:ttStatus:S1000原因:一般是存储过程出现编译错误或者不存在。2:调用存储过程。在执行时出现:ttStatus07001原因:存储过程中定义的字符类型不匹配。如下:如果把:SQL_VARCHAR写成CHAR则有问题。m_clTTCmdOrderStock.registerParam(hiStep++,TTCmd::PARAM_IN,SQL_
- 主流内存数据库简要比较
读万卷书不如行万里路呀
杂集
由本人搜集资料整理而成,如需转载请注明出处:http://blog.csdn.net/nanfeiyannan/article/details/9003009(谢谢)主要内存数据库对比名称开源或商业主要特点OracleTimesTen不开源,商业使用付费1.符合RDBMS标准的独立内存数据库服务。2.支持SQL访问,支持ODBC&JDBC。3.本身不支持与非Oracle数据库的互操作。4.高可靠性
- OTL 简介
宇宙379
OTL
OTL是Oracle,OdbcandDB2-CLITemplateLibrary的缩写,是一个C++编译中操控关系数据库的通用模板库,它目前几乎支持所有的当前各种主流数据库,例如Oracle,MSSQLServer,Sybase,Informix,MySQL,DB2,Interbase/Firebird,PostgreSQL,SQLite,SAP/DB,TimesTen,MSACCESS等等。官网
- Oracle的内存数据库战略
dingdingfish
Oracle内存数据库TimesTenDBIMIn-MemoryComputingTechnology
此文简介了Oracle内存数据库的两大分支,TimesTen和DatabaseIn-Memory,非常值得一读,两种技术的重要特性完全涵盖,可以让读者很快的对Oracle内存数据库技术的关键点有一个全面的认识,建议看完此文后可以对参考中的原文再读一遍。概述随着内存容量不断增大,价格不断下降,将全部的用户数据置入内存已避免昂贵的I/O已成为可能。Oracle提供两种互补的内存数据库技术,用于应用层和
- TimesTen Warnings and Errors - TT40005 to TT48119 [ID 1339892.1]
cuilian2013
TimesTenWarningsandErrors-TT40005toTT48119[ID1339892.1]InthisDocumentPurposeScopeTimesTenWarningsandErrors-TT40005toTT48119ReferencesAppliesto:TimesTenDataServer-Version:7.0.0.0.0andlater[Release:7.0a
- Sys.ODBC.INI 配置
danevc
pwrd_1122=TimesTen11.2.2ClientDriver[pwrd_1122]Driver=/home/ttadmin/TimesTen/tt1122/lib/libtten.soDataStore=/home/ttadmin/TimesTen/tt1122/info/DemoDataStore/pwrd_1122PermSize=40TempSize=32PLSQL=1Datab
- oracle timesten tt的启动与停止
kadwf123
timesten
一、TT的启停停服务:1、停止复制与cache进程;2、停掉server进程;3、卸载内存(对于RAM为手动管理的)4、停掉Daemon启动反之。二、启动实战。1、起tt主守护进程:ocs1节点:ttdaemonadmin-starttt@ocs1[/tt]$ttdaemonadmin-startTimesTenDaemonstartupOK.ocs2节点:tt@ocs2[/tt]$ttdaemo
- 数据库编程总结
lmjq
vc++
(l来源:http://www.uml.org.cn/sjjm/201005131.asp)当前各种主流数据库有很多,包括Oracle,MSSQLServer,Sybase,Informix,MySQL,DB2,Interbase/Firebird,PostgreSQL,SQLite,SAP/DB,TimesTen,MSACCESS等等。数据库编程是对数据库的创建、读写等一列的操作。数据库编程分为
- 算法 单链的创建与删除
换个号韩国红果果
c算法
先创建结构体
struct student {
int data;
//int tag;//标记这是第几个
struct student *next;
};
// addone 用于将一个数插入已从小到大排好序的链中
struct student *addone(struct student *h,int x){
if(h==NULL) //??????
- 《大型网站系统与Java中间件实践》第2章读后感
白糖_
java中间件
断断续续花了两天时间试读了《大型网站系统与Java中间件实践》的第2章,这章总述了从一个小型单机构建的网站发展到大型网站的演化过程---整个过程会遇到很多困难,但每一个屏障都会有解决方案,最终就是依靠这些个解决方案汇聚到一起组成了一个健壮稳定高效的大型系统。
看完整章内容,
- zeus持久层spring事务单元测试
deng520159
javaDAOspringjdbc
今天把zeus事务单元测试放出来,让大家指出他的毛病,
1.ZeusTransactionTest.java 单元测试
package com.dengliang.zeus.webdemo.test;
import java.util.ArrayList;
import java.util.List;
import org.junit.Test;
import
- Rss 订阅 开发
周凡杨
htmlxml订阅rss规范
RSS是 Really Simple Syndication的缩写(对rss2.0而言,是这三个词的缩写,对rss1.0而言则是RDF Site Summary的缩写,1.0与2.0走的是两个体系)。
RSS
- 分页查询实现
g21121
分页查询
在查询列表时我们常常会用到分页,分页的好处就是减少数据交换,每次查询一定数量减少数据库压力等等。
按实现形式分前台分页和服务器分页:
前台分页就是一次查询出所有记录,在页面中用js进行虚拟分页,这种形式在数据量较小时优势比较明显,一次加载就不必再访问服务器了,但当数据量较大时会对页面造成压力,传输速度也会大幅下降。
服务器分页就是每次请求相同数量记录,按一定规则排序,每次取一定序号直接的数据
- spring jms异步消息处理
510888780
jms
spring JMS对于异步消息处理基本上只需配置下就能进行高效的处理。其核心就是消息侦听器容器,常用的类就是DefaultMessageListenerContainer。该容器可配置侦听器的并发数量,以及配合MessageListenerAdapter使用消息驱动POJO进行消息处理。且消息驱动POJO是放入TaskExecutor中进行处理,进一步提高性能,减少侦听器的阻塞。具体配置如下:
- highCharts柱状图
布衣凌宇
hightCharts柱图
第一步:导入 exporting.js,grid.js,highcharts.js;第二步:写controller
@Controller@RequestMapping(value="${adminPath}/statistick")public class StatistickController { private UserServi
- 我的spring学习笔记2-IoC(反向控制 依赖注入)
aijuans
springmvcSpring 教程spring3 教程Spring 入门
IoC(反向控制 依赖注入)这是Spring提出来了,这也是Spring一大特色。这里我不用多说,我们看Spring教程就可以了解。当然我们不用Spring也可以用IoC,下面我将介绍不用Spring的IoC。
IoC不是框架,她是java的技术,如今大多数轻量级的容器都会用到IoC技术。这里我就用一个例子来说明:
如:程序中有 Mysql.calss 、Oracle.class 、SqlSe
- TLS java简单实现
antlove
javasslkeystoretlssecure
1. SSLServer.java
package ssl;
import java.io.FileInputStream;
import java.io.InputStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.security.KeyStore;
import
- Zip解压压缩文件
百合不是茶
Zip格式解压Zip流的使用文件解压
ZIP文件的解压缩实质上就是从输入流中读取数据。Java.util.zip包提供了类ZipInputStream来读取ZIP文件,下面的代码段创建了一个输入流来读取ZIP格式的文件;
ZipInputStream in = new ZipInputStream(new FileInputStream(zipFileName));
&n
- underscore.js 学习(一)
bijian1013
JavaScriptunderscore
工作中需要用到underscore.js,发现这是一个包括了很多基本功能函数的js库,里面有很多实用的函数。而且它没有扩展 javascript的原生对象。主要涉及对Collection、Object、Array、Function的操作。 学
- java jvm常用命令工具——jstatd命令(Java Statistics Monitoring Daemon)
bijian1013
javajvmjstatd
1.介绍
jstatd是一个基于RMI(Remove Method Invocation)的服务程序,它用于监控基于HotSpot的JVM中资源的创建及销毁,并且提供了一个远程接口允许远程的监控工具连接到本地的JVM执行命令。
jstatd是基于RMI的,所以在运行jstatd的服务
- 【Spring框架三】Spring常用注解之Transactional
bit1129
transactional
Spring可以通过注解@Transactional来为业务逻辑层的方法(调用DAO完成持久化动作)添加事务能力,如下是@Transactional注解的定义:
/*
* Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version
- 我(程序员)的前进方向
bitray
程序员
作为一个普通的程序员,我一直游走在java语言中,java也确实让我有了很多的体会.不过随着学习的深入,java语言的新技术产生的越来越多,从最初期的javase,我逐渐开始转变到ssh,ssi,这种主流的码农,.过了几天为了解决新问题,webservice的大旗也被我祭出来了,又过了些日子jms架构的activemq也开始必须学习了.再后来开始了一系列技术学习,osgi,restful.....
- nginx lua开发经验总结
ronin47
使用nginx lua已经两三个月了,项目接开发完毕了,这几天准备上线并且跟高德地图对接。回顾下来lua在项目中占得必中还是比较大的,跟PHP的占比差不多持平了,因此在开发中遇到一些问题备忘一下 1:content_by_lua中代码容量有限制,一般不要写太多代码,正常编写代码一般在100行左右(具体容量没有细心测哈哈,在4kb左右),如果超出了则重启nginx的时候会报 too long pa
- java-66-用递归颠倒一个栈。例如输入栈{1,2,3,4,5},1在栈顶。颠倒之后的栈为{5,4,3,2,1},5处在栈顶
bylijinnan
java
import java.util.Stack;
public class ReverseStackRecursive {
/**
* Q 66.颠倒栈。
* 题目:用递归颠倒一个栈。例如输入栈{1,2,3,4,5},1在栈顶。
* 颠倒之后的栈为{5,4,3,2,1},5处在栈顶。
*1. Pop the top element
*2. Revers
- 正确理解Linux内存占用过高的问题
cfyme
linux
Linux开机后,使用top命令查看,4G物理内存发现已使用的多大3.2G,占用率高达80%以上:
Mem: 3889836k total, 3341868k used, 547968k free, 286044k buffers
Swap: 6127608k total,&nb
- [JWFD开源工作流]当前流程引擎设计的一个急需解决的问题
comsci
工作流
当我们的流程引擎进入IRC阶段的时候,当循环反馈模型出现之后,每次循环都会导致一大堆节点内存数据残留在系统内存中,循环的次数越多,这些残留数据将导致系统内存溢出,并使得引擎崩溃。。。。。。
而解决办法就是利用汇编语言或者其它系统编程语言,在引擎运行时,把这些残留数据清除掉。
- 自定义类的equals函数
dai_lm
equals
仅作笔记使用
public class VectorQueue {
private final Vector<VectorItem> queue;
private class VectorItem {
private final Object item;
private final int quantity;
public VectorI
- Linux下安装R语言
datageek
R语言 linux
命令如下:sudo gedit /etc/apt/sources.list1、deb http://mirrors.ustc.edu.cn/CRAN/bin/linux/ubuntu/ precise/ 2、deb http://dk.archive.ubuntu.com/ubuntu hardy universesudo apt-key adv --keyserver ke
- 如何修改mysql 并发数(连接数)最大值
dcj3sjt126com
mysql
MySQL的连接数最大值跟MySQL没关系,主要看系统和业务逻辑了
方法一:进入MYSQL安装目录 打开MYSQL配置文件 my.ini 或 my.cnf查找 max_connections=100 修改为 max_connections=1000 服务里重起MYSQL即可
方法二:MySQL的最大连接数默认是100客户端登录:mysql -uusername -ppass
- 单一功能原则
dcj3sjt126com
面向对象的程序设计软件设计编程原则
单一功能原则[
编辑]
SOLID 原则
单一功能原则
开闭原则
Liskov代换原则
接口隔离原则
依赖反转原则
查
论
编
在面向对象编程领域中,单一功能原则(Single responsibility principle)规定每个类都应该有
- POJO、VO和JavaBean区别和联系
fanmingxing
VOPOJOjavabean
POJO和JavaBean是我们常见的两个关键字,一般容易混淆,POJO全称是Plain Ordinary Java Object / Plain Old Java Object,中文可以翻译成:普通Java类,具有一部分getter/setter方法的那种类就可以称作POJO,但是JavaBean则比POJO复杂很多,JavaBean是一种组件技术,就好像你做了一个扳子,而这个扳子会在很多地方被
- SpringSecurity3.X--LDAP:AD配置
hanqunfeng
SpringSecurity
前面介绍过基于本地数据库验证的方式,参考http://hanqunfeng.iteye.com/blog/1155226,这里说一下如何修改为使用AD进行身份验证【只对用户名和密码进行验证,权限依旧存储在本地数据库中】。
将配置文件中的如下部分删除:
<!-- 认证管理器,使用自定义的UserDetailsService,并对密码采用md5加密-->
- mac mysql 修改密码
IXHONG
mysql
$ sudo /usr/local/mysql/bin/mysqld_safe –user=root & //启动MySQL(也可以通过偏好设置面板来启动)$ sudo /usr/local/mysql/bin/mysqladmin -uroot password yourpassword //设置MySQL密码(注意,这是第一次MySQL密码为空的时候的设置命令,如果是修改密码,还需在-
- 设计模式--抽象工厂模式
kerryg
设计模式
抽象工厂模式:
工厂模式有一个问题就是,类的创建依赖于工厂类,也就是说,如果想要拓展程序,必须对工厂类进行修改,这违背了闭包原则。我们采用抽象工厂模式,创建多个工厂类,这样一旦需要增加新的功能,直接增加新的工厂类就可以了,不需要修改之前的代码。
总结:这个模式的好处就是,如果想增加一个功能,就需要做一个实现类,
- 评"高中女生军训期跳楼”
nannan408
首先,先抛出我的观点,各位看官少点砖头。那就是,中国的差异化教育必须做起来。
孔圣人有云:有教无类。不同类型的人,都应该有对应的教育方法。目前中国的一体化教育,不知道已经扼杀了多少创造性人才。我们出不了爱迪生,出不了爱因斯坦,很大原因,是我们的培养思路错了,我们是第一要“顺从”。如果不顺从,我们的学校,就会用各种方法,罚站,罚写作业,各种罚。军
- scala如何读取和写入文件内容?
qindongliang1922
javajvmscala
直接看如下代码:
package file
import java.io.RandomAccessFile
import java.nio.charset.Charset
import scala.io.Source
import scala.reflect.io.{File, Path}
/**
* Created by qindongliang on 2015/
- C语言算法之百元买百鸡
qiufeihu
c算法
中国古代数学家张丘建在他的《算经》中提出了一个著名的“百钱买百鸡问题”,鸡翁一,值钱五,鸡母一,值钱三,鸡雏三,值钱一,百钱买百鸡,问翁,母,雏各几何?
代码如下:
#include <stdio.h>
int main()
{
int cock,hen,chick; /*定义变量为基本整型*/
for(coc
- Hadoop集群安全性:Hadoop中Namenode单点故障的解决方案及详细介绍AvatarNode
wyz2009107220
NameNode
正如大家所知,NameNode在Hadoop系统中存在单点故障问题,这个对于标榜高可用性的Hadoop来说一直是个软肋。本文讨论一下为了解决这个问题而存在的几个solution。
1. Secondary NameNode
原理:Secondary NN会定期的从NN中读取editlog,与自己存储的Image进行合并形成新的metadata image
优点:Hadoop较早的版本都自带,