SVG空间信息可视化数据库在将SVG文档发布到网络时,存在存储、处理海量矢量数据和地图修饰信息的瓶颈性问题.采用Redis内存数据库,利用其NoSQL型内存数据库具有很好的并发性和快速响应的特性,设计了基于Key—Value数据库的XML文档粒度定义规则,建立了基于SVG的空间信息可视化数据库.实验证明,本文提出的技术方案不仅可实现原系统在关系型数据库中的各种功能,如:网络矢量地图发布的按需传输、中粒度查询、交互性等优势,而且弥补了其在并发性和响应速度上的欠缺.基于Redis的SVG空间信息可视化数据库在并发8000客户端、完成10000次查询请求时,Redis内存数据库仅需8s。可满足网络矢量地图发布应用的实用性和可交互操作性等需求.
During SVG documents being delivered on the intemet,SVG spatial visualization database faced a Bottleneck problems in storing and handling huge vector data and map decorating information. In this paper, A new solution of SVG spatial visualization data- base is designed by using Redis, an in-memory database with its advantage properties of the excellent concurrency and the fast re- sponse. Meanwhile, new granularity definitions and regulations for storing XML documents in key-value database are established. Ex- perimental results shows that this solution not only implement the basic functionalities of publishing vector data of spatial information on net such as transmission by needs, medium-granularity query and interaetivity, but also achieved the weakness of traditional database on concurrency and response that the new database increases the concurrency and speed of response and it handle 10000 queries with 8000 clients only in 8 second, which meets the demands of publishing vector data of spatial information on the intemet to an interactive and practical stage.