<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Doug,<br>
    <br>
    One could try to detect the default engine. However, in MySQL
    Cluster, you can support multiple storage engines. Only NDB is fully
    clustered and replicated, so if you accidentally set a table to be
    InnoDB it won't be replicated . So it makes more sense for the
    operator to be explicit on which engine they want to use. <br>
    <br>
    Thanks,<br>
    Octave<br>
    <br>
    <div class="moz-cite-prefix">On 2/2/2017 6:46 AM, Doug Hellmann
      wrote:<br>
    </div>
    <blockquote cite="mid:1486043079-sup-133@lrrr.local" type="cite">
      <pre wrap="">Excerpts from Octave J. Orgeron's message of 2017-02-01 20:33:38 -0700:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hi Folks,

I'm working on adding support for MySQL Cluster to the core OpenStack 
services. This will enable the community to benefit from an 
active/active, auto-sharding, and scale-out MySQL database. My approach 
is to have a single configuration setting in each core OpenStack service 
in the oslo.db configuration section called mysql_storage_engine that 
will enable the logic in the SQL Alchemy or Alembic upgrade scripts to 
handle the differences between InnoDB and NDB storage engines 
respectively. When enabled, this logic will make the required table 
schema changes around:

  * Row character length limits 65k -> 14k
  * Proper SQL ordering of foreign key, constraints, and index operations
  * Interception of savepoint and nested operations

By default this functionality will not be enabled and will have no 
impact on the default InnoDB functionality. These changes have been 
tested on Kilo and Mitaka in previous releases of our OpenStack 
distributions with Tempest. I'm working on updating these patches for 
upstream consumption. We are also working on a 3rd party CI for 
regression testing against MySQL Cluster for the community.

The first change set is for oslo.db and can be reviewed at:

<a class="moz-txt-link-freetext" href="https://review.openstack.org/427970">https://review.openstack.org/427970</a>

Thanks,
Octave

</pre>
      </blockquote>
      <pre wrap="">
Is it possible to detect the storage engine at runtime, instead of
having the operator configure it?

Doug

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <br>
      <p>
        <a href="http://www.oracle.com/" target="_blank"><img
            src="cid:part1.02060204.00080906@oracle.com" alt="Oracle"
            border="0" height="26" width="114"></a><br>
        <font color="#666666" size="2" face="Verdana, Arial, Helvetica,
          sans-serif">Octave J. Orgeron | Sr. Principal Architect and
          Software Engineer<br>
          <font color="#ff0000">Oracle</font> Linux OpenStack<br>
          Mobile: <a href="tel:+17206161550">+1-720-616-1550</a><br>
          500 Eldorado Blvd. | Broomfield, CO 80021<br>
          <a
href="http://www.oracle.com/us/solutions/enterprise-architecture/index.html"><img
              src="cid:part4.06070706.00030601@oracle.com"
              alt="Certified Oracle Enterprise Architect: Systems
              Infrastructure" border="0" height="42" width="182"></a><br>
          <a href="http://www.oracle.com/commitment" target="_blank"><img
              src="cid:part6.06000509.08080407@oracle.com" alt="Green
              Oracle" align="absmiddle" border="0" height="28"
              width="44"></a>
          <font color="#4B7D42" size="1" face="Verdana, Arial,
            Helvetica, sans-serif">Oracle is committed to developing
            practices and products that help protect the environment</font>
        </font></p>
      <font color="#666666" size="2" face="Verdana, Arial, Helvetica,
        sans-serif">
      </font></div>
  </body>
</html>