Shared-nothing geo-distributed SQL databases, such as CockroachDB, are increasingly vital for enterprise applications requiring data resilience and locality. However, we encountered significant performance degradation at the customer side, especially when their deployments span multiple data centers over a Wide Area Network (WAN). Our investigation identifies the bottleneck in the performance of the Distributed Hash Join (Dist-HJ) algorithm, which is contingent upon a crucial balance between communication overhead and computational load. This balance is severely disrupted when processing skewed data from real-world customer workloads, leading to the observed performance decline. To tackle this challenge, we introduce Bala-Join, an adaptive solution to balance the computation and network load in Dist-HJ execution. Our approach consists of the Balanced Partition and Partial Replication (BPPR) algorithm and a distributed online skewed join key detector. The former achieves balanced redistribution of skewed data through a multicast mechanism to improve computational performance and reduce network overhead. The latter provides real-time skewed join key information tailored to BPPR. Furthermore, an Active-Signaling and Asynchronous-Pulling (ASAP) mechanism is incorporated to enable efficient, real-time synchronization between the detector and the redistribution process with minimal overhead. Empirical study shows that Bala-Join outperforms the popular Dist-HJ solutions, increasing throughput by 25%-61%.
Space Program Language (SPL/SQL) for the Relational Approach of the Spatial Databases
在这个项目中,我们提出了一个语法,统一的空间数据库的设计和开发。为了使它,我们结合了名义和空间信息,前者是由关系模型和后者由同一模型的修改表示。该修改允许表示空间数据结构(如四叉树、八叉树等)。in a integrated综合way.这种语法很重要,因为有了它,我们可以创建工具来构建结合空间-名称特征的系统,如地理信息系统(GIS)、超媒体系统、计算机辅助设计系统(CAD)等
GeoSQL-Eval: First Evaluation of LLMs on PostGIS-Based NL2GeoSQL Queries
State Key Laboratory of Information Engineering in Surveying, Mapping, and Remote Sensing, Wuhan University(武汉大学测绘遥感信息工程国家重点实验室);School of Resource and Environmental Sciences, Wuhan University(武汉大学资源与环境科学学院)
TerraServer SAN-Cluster Architecture and Operations Experience
Microsoft TerraServer在可通过Internet访问的SQL数据库中显示地球的航空、卫星和地形图像。它是最受欢迎的在线地图集之一,展示了来自美国地质调查局(USGS)的17 TB图像数据。该系统最初于1998年部署,展示了PC硬件和软件(Windows和SQL Server)在单个大型机级处理器上的可扩展性。2000年9月,后端数据库应用程序迁移到连接到18 TB存储区域网络(SAN)的4节点主动/被动群集。新配置旨在实现后端应用程序的99.99%可用性。本文介绍了TerraServer集群和SAN的硬件和软件组件,并介绍了我们三年来配置和操作该系统的经验。毫不奇怪,硬件和架构提供了超过4个9的可用性,但操作错误提供了3个9。