Details
-
New Feature
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
25.10.0
-
None
-
MXS-SPRINT-250
Description
The purpose of the ODBCRouter is to send SQL to the server specified with an ODBC connection string in the configuration of the router. The ODBCRouter is a sink, in the sense that it will not route queries forward to some target but handle the query as is. In a sense it is a MariaDB Protocol <-> ODBC translator that on the one hand takes MariaDB Protocol request packets and converts them to the appropriate ODBC calls and, on the other hand, takes ODBC responses and converts them to MariaDB Protocol response packets. MaxScale components before the ODBCRouter will not be aware of the ODBC conversion taking place, but will only deal with MariaDB protocol packets.
The intended use of ODBCRouter is to have it as one target of some other router that based on some criteria sends some queries to the ODBCRouter and some queries to some other target.
In the MaxScale configuration file, the ODBCRouter will be configured something like:
[ODBC-Service]
|
type=service
|
router=odbcrouter
|
connection_string=DRIVER=libmaodbc.so;SERVER=my-server;PORT=3306;UID=my-user;PWD={my-password}
|
...
|
Initial limitations:
- The connection to the ODBC server will always be done using explicitly specified credentials, irrespective of the client connecting.
- All queries assumed to be SELECTs.
Attachments
Issue Links
- is blocked by
-
MXS-5985 Investigate issues and create overall design
-
- Closed
-
-
MXS-5996 Add support for KILL STATEMENT to ExasolRouter
-
- Closed
-
-
MXS-5997 Run all Exasol activity in non-worker thread
-
- Closed
-
-
MXS-6012 Finalize first phase of ExasolRouter
-
- Closed
-
-
MXS-6015 Perform essential transformations
-
- Closed
-
-
MXS-6016 Extend mxs::ResultSet for large results.
-
- Closed
-
-
MXS-6018 Use ODBC
-
- Closed
-
-
MXS-6024 Handle multi-host connections strings
-
- Closed
-
-
MXS-6027 SmartRouter should never return anything but resultsets from non-master targets
-
- Closed
-
- relates to
-
MXS-6014 Handle COM_FIELD_LIST
-
- Open
-