Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6118441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:26:12+00:00 2026-05-23T15:26:12+00:00

I have a schema that uses InnoDB table type and foreign keys. I am

  • 0

I have a schema that uses InnoDB table type and foreign keys.
I am planning to use mysql Cluster and I just want to make sure that I can use “InnoDB” table type and foreign key constraints will be still valid.

Update:

As per the documentation:

It is possible to create tables using
other storage engines (such as MyISAM
or InnoDB) on a MySQL server being
used with a MySQL Cluster, but these
non-NDB tables do not participate in
clustering; each such table is
strictly local to the individual MySQL
server instance on which it is
created.

Does it mean that if I create an InnoDB table, I can have foreign key constraint? I understand those tables will not participate in clustering.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T15:26:13+00:00Added an answer on May 23, 2026 at 3:26 pm

    No, they all use NDBCLUSTER as a storage engine, and foreign key constraints are not available before 5.6/ MySQL Cluster NDB 7.3. Starting with MySQL Cluster NDB 7.3 foreign keys are possible.

    Tables that do not participate in clustering can be InnoDB (or any other ), but are local to the server only (i.e. the other servers are not aware of that table), so the table can only be queried on one of the nodes (which kind of defeats the advantages of clustering).

    All features of the engine are then of course available, so indeed, the InnoDB table can have foreign key constraints, but the same rules apply with InnoDB<>NDB as InnoDB<>MyISAM: MySQL won’t complain if you mention a column located in an NDB/MyISAM table in an InnoDB table definition, but won’t enforce the integrity either.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a star schema type data base, with fact tables that have many
I have a table that got into the db_owner schema, and I need it
I have an XML schema that includes multiple addresses: <xs:element name=personal_address maxOccurs=1> <!-- address
I have a XML schema that I will need to create Java classes for.
I have an XML schema that represents a product in a DB, and I
I have a flat-file schema that has a header and detail records. It looks
(Not related to versioning the database schema) Applications that interfaces with databases often have
I have a xml blob that's checked against a schema in sql 2005. My
I have a custom XML schema defined for page display that puts elements on
I have to make a schema for an XML format that's already being used.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.