Navigation

Release Notes for MongoDB Connector for BI

MongoDB Connector for BI 2.4.1

Released Mar 09, 2018

We’ve released version 2.4.1 of the MongoDB Connector for BI for production deployment. This release contains minor bug fixes for users of the BI Connector and is a recommended upgrade for all 2.4 users.

MongoDB Connector for BI 2.4.0

Released Feb 21, 2018

MongoDB Connector for BI version 2.4 improves more expressive queries. New features include:

Aggregate Expressions

BI Connector 2.4 improves support for aggregate expressions including math, date, and string functions.

Improved Support for Subqueries and Non-equijoins

With version 2.4, mongosqld has improved support for subqueries and non-equijoins.

MongoDB Connector for BI 2.3.1

Released Nov 10, 2017

  • Fixes minor incompatibility with MongoDB 3.2.

MongoDB Connector for BI 2.3.0

Released Nov 08, 2017

  • Simplified and centralized Schema Management.
  • Supports log rotation.
  • Standardized logging in the BI Connector.
  • Push LTRIM, RTRIM and TRIM functions down to MongoDB.

MongoDB Connector for BI version 2.3 improves enterprise deployment support. The new features include:

Improved Schema Management

In BI Connector 2.3, mongosqld includes the schema mapping functionality previously found in mongodrdl.

Log Rotation

With version 2.3, you can rotate the mongosqld logs. To rotate the logs, issue a command or restart mongosqld.

MongoDB Connector for BI 2.2.1

Released Aug 29, 2017

  • Fixes lack of support for Read Preference tags which are used when targeting reads to specific members of a replica set.

MongoDB Connector for BI 2.2.0

Released Jul 31, 2017

  • Supports authenticating directly against MongoDB using the new C and JDBC authentication plugins. These plugins support SCRAM-SHA-1 and PLAIN mechanisms and remove the SSL requirement for authentication. The authentication plugins can be found on GitHub:

  • Supports configuration files for mongosqld.

  • Supports installing and running mongosqld as a Windows system service.

  • Provides a Windows MSI installer for the MongoDB Connector for BI.

  • Provides new command line arguments for default auth mechanism and database:

    • Authentication Options:

      --defaultAuthDatabase

      default user source (default of admin)

      --defaultAuthMechanism arg

      default authentication mechanism (default of SCRAM-SHA-1)

  • Provides a new startup option to specify default VARCHAR length

  • Provides mongosqld status metrics with SHOW STATUS

    • Reports the following metrics reported:
      • Connections
      • Queries
      • BytesSent
      • Threads Connected
  • Can bind mongosqld to multiple IP addresses

  • Provides a new runtime options to limit memory usage of GROUP, SORT, and JOIN stages

Authentication Plugins

MongoDB Connector for BI Version 2.0 introduced passthrough authentication, in which clients authenticate as a user defined in MongoDB, without the need to create a separate user within the connector itself.

MongoDB Connector for BI Version 2.2 further increases ease of use with a set of authentication plugins which can authenticate users through the connector without the need for SSL certificates. These plugins perform user authentication via the SASL framework and support the SCRAM-SHA-1 and PLAIN authentication mechanisms. We currently provide authentication plugins in the following languages:

  • Java - for use with MySQL’s Connector/J driver
  • C - for use with the MySQL ODBC driver and the MySQL Shell

MongoDB Connector for BI 2.1.0

  • Provides substantial performance improvements for some common JOIN scenarios.
  • Pushes $match stages earlier in the aggregation pipeline to improve to index utilization.
  • Pushes down more SQL functions and operators to the aggregation pipeline.
  • Supports additional SQL language features, such as USE and SHOW CREATE TABLE statements, STRAIGHT_JOIN, the unary plus (+) operator, and the INTERVAL keyword in date arithmetic.

Note

mongosqld no longer offers the --fork option.

To run mongosqld in the background, use the nohup command:

nohup mongosqld [options] &

MongoDB Connector for BI 2.0.0

Released Nov 29, 2016

Improved Server-Side Execution

The MongoDB Connector for BI delivers significant performance and scalability improvements by moving as much execution as possible to the underlying MongoDB instance. Pushing execution down to the server reduces network latency and reduces bandwidth consumption.

This approach also reduces memory and CPU consumption in the MongoDB Connector for BI itself.

Pass-through Authentication

The user authentication process is now passed through the MongoDB Connector for BI to the underlying MongoDB instance. Users now authenticate as a user already created within MongoDB.

Simplified Architecture

The MongoDB Connector for BI package is now trimmed down from four separate components to two:

mongodrdl
This tool connects to a MongoDB instance and generates a Document-Relational Definition Language (DRDL) file, which maps a given collection shape to relational schema.
mongosqld

Once installed and run as a daemon, mongosqld responds to SQL queries, requests for DB information, and schema from the requesting BI tool via the MySQL wire protocol.

mongosqld requires at least one DRDL file to start. You will need to have defined your schema with mongodrdl before starting mongosqld.

SQL Compatibility

MongoDB Connector for BI Version 2.x is compatible with SQL-99 SELECT statements, and uses the MySQL wire protocol.

MongoDB Connector for BI 2.0.2

Released Jan 5, 2017

  • Hides .pem key file passwords in logs.
  • mongodrdl ignores binary fields when generating DRDL files.
  • Supports queries that SELECT variables prefixed with “mongodb”.
  • Fixes incorrect result set from a CROSS JOIN.
  • Supports leading “.” characters on table names.

MongoDB Connector for BI 2.0.1

Released Dec 13, 2016

  • Fixes precedence issue with the NOT operator.
  • Fixes error looking up privilege information in databases with capital letters.
  • Supports LIKE pattern matching in SHOW COLUMNS queries.
  • Improves formatting of aggregation pipeline in logs.
  • Fixes substring function when the combined length of the starting index and substring exceeds the length of the string.