The eXtremeDB SQL Database Interface
McObject’s eXtremeSQL database interface is a high-performance implementation of the SQL language for eXtremeDB. eXtremeDB combined with eXtremeSQL is an ideal solution for application development in fields where reliable responsiveness is a must and SQL is the dominant database language.
eXtremeSQL can also be used with the provided xSQL program, as a powerful and highly flexible database server and client that can manage local, remote, and distributed eXtremeDB databases. xSQL is fully configurable through a simple text-based (JSON) configuration file, and can execute SQL statements interactively or via batch scripts. In addition, xSQL supports a variety of commands that exercise eXtremeDB features such as online/incremental backup and restore, performance monitoring and diagnostics, and more. Because xSQL can operate as both a database server and as a client, it provides access to the full breadth of eXtremeDB’s capabilities, without coding.
The benefits of using eXtremeSQL
- It co-exists with native eXtremeDB. Use eXtremeSQL alongside the eXtremeDB embedded database API in the same system, to take advantage of both maximum performance and higher level access.
- eXtremeSQL offers support for the extensive library of pipelining vector-based statistical functions for time series data analytics in eXtremeDB for HPC.
- Compatibility with eXtremeDB High Availability, eXtremeDB Cluster, and eXtremeDB Active Replication Fabric for the IoT.
- Scalability through sharding and a sophisticated distributed query engine.
- Advanced JDBC and ODBC drivers
- All the flexibility of a hybrid persistent and in-memory SQL database system.
The image below depicts eXtremeSQL used as an embedded SQL engine. The libraries are linked with the application; there is no separation between database server and database client. Inter-process communication and associated latency are eliminated.
eXtremeSQL as a distributed database system
The image below illustrates eXtremeSQL used as a distributed database system. The database is partitioned horizontally (a subset of each tables’ rows are stored in each shard). Each shard has two replicas maintained by eXtremeDB High Availability. Shard 1 and Shard 2 are presented as a single logical database to the client application. Queries are distributed by eXtremeSQL to one node in each shard (which may be the master or one of the two replicas), which are executed in parallel at each shard.
The Distributed SQL Engine collects the partial result set from each shard, merges them, and presents a single result set to the client application. Shards/nodes can exist all on one system (to take advantage of the processing power of multiple cores) and/or distributed to many servers to also take advantage of parallel I/O (i.e. if each shard has its own storage system).
Many database systems include one or two of the features mentioned so far, but you’d be hard-pressed to find all of them in one database system, and solutions offering some of these features may also lack “real” database capabilities such as ACID transactions.
eXtremeDB offers all of them plus a rich assortment of additional development and run-time features (our key features list is a good place to see the breadth of eXtremeDB’s capabilities).