SQL Relay

SQL Relay is a powerful database connection management solution.




With SQL Relay, you can speed up and enhance the scalability of database-driven web-based applications, access databases from unsupported platforms, throttle database access, distribute load over clustered or replicated databases, route queries and migrate applications from one database to another.


Advantages

Persistent Database Connection Pooling - makes database-driven web-based applications faster and more efficient
Proxying - provides access to databases from unsupported platforms
Throttling - prevents databases from becoming overloaded
High Availability - provides load balancing and failover with replicated or clustered databases
Query Routing - conditionally sends queries to one database or another
Query Filtering - prevents queries that match certain patterns from being run at all
Connection Schedules - constrains database access to specified times
Database Support - a wide variety of commercial and open-source databases are supported
Abstraction Layer Support - drivers for most popular database abstraction layers are provided
Drop-In Replacement Libraries - allow many native MySQL or PostgreSQL applications to use SQL Relay without modification
Native API - the powerful native SQL Relay client API supports a wide variety of programming languages
Substitution and Bind Variables - make frequently run queries faster and more efficient
Multi-Row Fetches - reduce the number of network round-trips
Client-Side Result Set Caching - makes paging faster and easier
Suspended Transactions - allow a single transaction to span multiple web pages

Getting Started With Databases

SQL Relay supports many different databases. However, just setting up a database before even trying to use SQL Relay with it can be a challenge. These documents include step-by-step instructions for setting up various databases on various platforms.

Getting Started With Oracle
Getting Started With MySQL
Getting Started With PostgreSQL
Getting Started With SAP/Sybase
Getting Started With IBM DB2
Getting Started With Firebird
Getting Started With SQLite
Getting Started With Microsoft Access (on a non-MS platform)
Getting Started With ODBC (on a non-MS platform)

Administering SQL Relay

Building and Installing SQL Relay From Source
SQL Relay Configuration Guide
SQL Relay Configuration Reference
SQL Relay Command Line Programs
Tuning SQL Relay

Connecting Applications to SQL Relay

SQL Relay provides drivers for most popular database abstraction layers.

Guides:
ADO.NET
Perl DBI
Python DB-API
PHP PDO
ODBC
JDBC
References:
ADO.NET
Perl DBI
Python DB-API

Drop-In Replacement Libraries allow many native MySQL or PostgreSQL applications to use SQL Relay without modification.

MySQL
PostgreSQL

If you are developing a new application, consider using the native SQL Relay client API as your database abstraction layer and take advantage of powerful features like suspended sessions, result set caching and tuning options.

Guides:
C++
C
C#
Perl
PHP
Python
Ruby
Java
TCL
Erlang
node.js
References:
C++
C
C#
Perl
PHP
Python
Ruby
Java
TCL
node.js

If you're developing or deploying SQL Relay client software in a Windows environment, you might want to check out libfirstworks too.


Frequently Asked Questions

FAQ