地震前兆Oracle LOB数据压缩与交换及其访问效率研究  被引量:5

Research on Compression,Exchange and Access Efficiency of Seismic Precursor Oracle LOB data

在线阅读下载全文

作  者:王建军 赵银刚[2] 刘高川 WANG Jianjun;ZHAO Yingang;LIU Gaochuan(Gansu Earthquake Agnecy,Lanzhou 73000,Gansu,China;Anqiu Earthquake Station,Weifang 262100,Shandong,China;China Earthquake Networks Center,Beijing 100045,China)

机构地区:[1]甘肃省地震局,甘肃兰州730000 [2]安丘地震台,山东潍坊262100 [3]中国地震台网中心,北京100045 [4]中国地震局兰州地震研究所西部强震室

出  处:《地震研究》2019年第3期447-453,I0002,共8页Journal of Seismological Research

基  金:中国地震局地震科技“星火计划”专项(XH17038);甘肃省地震局基本科研专项(2013IESLZ02)联合资助

摘  要:针对目前地震前兆Oracle数据库存在的存储空间大、交换速度慢、读写速度慢等问题,分别用Bzip2,Gzip,GzipIO这3种压缩算法对Clob和Blob的压缩和未压缩数据进行读写和交换速度测试,使用直接读取、分段读取、分段+线程池读取3种方法进行了读库速度测试。结果表明:①无论在存储、交换还是读写速度方面Blob均优于Clob;②Blob+Gzip为地震前兆分秒数据的“最佳”存储结构,读写和交换速度有大幅度提升,数据库整体容量降至目前的7%(或更少),秒数据的交换速率至少是目前的7.89倍;③最简单且被软件开发者广泛使用的直接读取方法读库效率较差,分段+线程池技术无论在Clob还是Blob、压缩还是未压缩时都表现出较高的读库效率,给LOB数据读取速度带来飞跃式的提升。Aiming at the problems of huge storage space,low exchange speed and low read-write speed of the current seismic precursor Oracle database,the read-write speed and exchange speed tests are performed on the compressed and uncompressed Clob and Blob data by three compression algorithms,including Bzip2,Gzip and GzipIO.The reading speed test is performed by the direct reading,substr reading,and substr+threadPool reading techniques.The results show that:①Blob is superior to Clob in terms of storage,exchange,or read-write speed;②For the seismic precursor database,Blob+Gzip is the optimal storage structure of the minute and second data.The read-write speed is greatly improved,and the overall capacity of the database is reduced to 7%(or less).The exchange rate of the second data is at least 7.89 times of the present rate;③The simplest and most widely used direct reading method by software developers has poor database read efficiency,while the substr+threadPool technique shows higher database reading efficiency no matter for Clob or Blob,for compressed or uncompressed,which brings a leap-forward improvement in the read speed of LOB data.

关 键 词:ORACLE LOB 数据压缩 交换效率 访问效率 

分 类 号:P315.73[天文地球—地震学]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象