The oslo_db.sqlalchemy.ndb Module

The oslo_db.sqlalchemy.ndb Module

Core functions for MySQL Cluster (NDB) Support.

oslo_db.sqlalchemy.ndb.enable_ndb_support(engine)

Enable NDB Support.

Function to flag the MySQL engine dialect to support features specific to MySQL Cluster (NDB).

oslo_db.sqlalchemy.ndb.init_ndb_events(engine)

Initialize NDB Events.

Function starts NDB specific events.

oslo_db.sqlalchemy.ndb.ndb_status(engine_or_compiler)

Test if NDB Support is enabled.

Function to test if NDB support is enabled or not.

oslo_db.sqlalchemy.ndb.prefix_inserts(create_table, compiler, **kw)

Replace InnoDB with NDBCLUSTER automatically.

Function will intercept CreateTable() calls and automatically convert InnoDB to NDBCLUSTER. Targets compiler events.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.