| firstworks | Technologies | Services | Examples |
| About | Documentation | Success Stories | Download | Support |
![]()
Presenting SQL Relay...
A powerful database connection management solution.
- Connection Pool
- Load Balancer
- Query Router
- Database Proxy
- and more...
![]()
Persistent Database Connection Pooling makes database-driven web-based applications faster and more efficient.
![]()
Without SQL Relay:
![]()
With SQL Relay:
![]()
Load Balancing distributes traffic over replicated or clustered databases for improved scalability.
![]()
![]()
![]()
Use Query Routing with master/slave replication.
![]()
![]()
SQL Relay is highly compatible.
![]()
connect to...
- Oracle
- SAP/Sybase
- MS SQL Server
- IBM DB2
- MySQL
- PostgreSQL
- Firebird
- SQLite
- ODBC
- MS Access
with...
- PHP PDO
- Perl DBI
- Python DB
- Ruby DBI
- ODBC
- JDBC
Drop-in Replacement Libraries allow many MySQL and PostgreSQL applications to use SQL Relay without modification.
![]()
![]()
Develop applications using the clean and powerful native SQL Relay Client API in:
![]()
- C
- C++
- C#
- Perl
- Python
- PHP
- Ruby
- Java
- TCL
- Erlang
#!/usr/bin/perl
use SQLRelay::Connection;
use SQLRelay::Cursor;
$sqlrcon=SQLRelay::Connection->new("examplehost",9000,
"/tmp/example.socket",
"exampleuser",
"examplepassword",0,1);
$sqlrcur=SQLRelay::Cursor->new($sqlrcon);
$sqlrcur->sendQuery("select * from exampletable");
for ($row=0; $row<$sqlrcur->rowCount(); $row++) {
for ($col=0; $col<$sqlrcur->colCount(); $col++) {
print($sqlrcur->getField($row,$col).",");
}
print("\n");
}
Database Proxying provides database access to unsupported platforms...
Access Oracle, SAP/Sybase, IBM DB2 and MS SQL Server from ARM Linux, FreeBSD, NetBSD, OpenBSD and others.
![]()
FreeBSD
NetBSD
OpenBSD
SCO OpenServer
ARM uClibc/Linux
Minix
Haiku
Syllable

