MySQL InnoDB or MySQL NDB Cluster which one to use
We have an application with 8000 users accessing in parallel(max). We are trying to bring in horizontal scaling. I came across MySQL NDB cluster. Should I go with it? Just for auto sharding and other features if I go with it, will it impact performance?
Note:
- Most of the tables in our database has foreign key relationship.
- It is a B2B application.
- This is one of the deployments.
- The db size is 900 MB.
- As customers grow the size is expected to grow.
- Both outer as well as inner Joins are used frequently.
- Host machine is Windows Server 2012
- The present 8000 user count is expected to grow to 100000 within 2 weeks.
- Queries per second with 8000 users = 110.086.
If not NDB Cluster, then what is the best way to bring in horizontal scaling? with less pain like auto sharding, auto replication,...etc.
mysql performance optimization sharding mysql-cluster
bumped to the homepage by Community♦ 11 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
We have an application with 8000 users accessing in parallel(max). We are trying to bring in horizontal scaling. I came across MySQL NDB cluster. Should I go with it? Just for auto sharding and other features if I go with it, will it impact performance?
Note:
- Most of the tables in our database has foreign key relationship.
- It is a B2B application.
- This is one of the deployments.
- The db size is 900 MB.
- As customers grow the size is expected to grow.
- Both outer as well as inner Joins are used frequently.
- Host machine is Windows Server 2012
- The present 8000 user count is expected to grow to 100000 within 2 weeks.
- Queries per second with 8000 users = 110.086.
If not NDB Cluster, then what is the best way to bring in horizontal scaling? with less pain like auto sharding, auto replication,...etc.
mysql performance optimization sharding mysql-cluster
bumped to the homepage by Community♦ 11 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
How many queries per second?
– Rick James
Mar 18 '18 at 20:12
What is the size of the database? Also, do you mean horizontal scaling, i.e. adding more servers rather than upgrading the ones you have?
– dbdemon
Mar 18 '18 at 22:59
@dbdemon as ofnow db size is 900MiB. I meant horizontal scaling. This is to be done in future if data increases.
– Mani
Mar 19 '18 at 1:37
@RickJames currently total no of users=8000 and queries per second=110.086 per second.Used this to get queries/second
– Mani
Mar 19 '18 at 4:31
add a comment |
We have an application with 8000 users accessing in parallel(max). We are trying to bring in horizontal scaling. I came across MySQL NDB cluster. Should I go with it? Just for auto sharding and other features if I go with it, will it impact performance?
Note:
- Most of the tables in our database has foreign key relationship.
- It is a B2B application.
- This is one of the deployments.
- The db size is 900 MB.
- As customers grow the size is expected to grow.
- Both outer as well as inner Joins are used frequently.
- Host machine is Windows Server 2012
- The present 8000 user count is expected to grow to 100000 within 2 weeks.
- Queries per second with 8000 users = 110.086.
If not NDB Cluster, then what is the best way to bring in horizontal scaling? with less pain like auto sharding, auto replication,...etc.
mysql performance optimization sharding mysql-cluster
We have an application with 8000 users accessing in parallel(max). We are trying to bring in horizontal scaling. I came across MySQL NDB cluster. Should I go with it? Just for auto sharding and other features if I go with it, will it impact performance?
Note:
- Most of the tables in our database has foreign key relationship.
- It is a B2B application.
- This is one of the deployments.
- The db size is 900 MB.
- As customers grow the size is expected to grow.
- Both outer as well as inner Joins are used frequently.
- Host machine is Windows Server 2012
- The present 8000 user count is expected to grow to 100000 within 2 weeks.
- Queries per second with 8000 users = 110.086.
If not NDB Cluster, then what is the best way to bring in horizontal scaling? with less pain like auto sharding, auto replication,...etc.
mysql performance optimization sharding mysql-cluster
mysql performance optimization sharding mysql-cluster
edited Mar 21 '18 at 6:06
user37701
asked Mar 18 '18 at 18:00
ManiMani
1064
1064
bumped to the homepage by Community♦ 11 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 11 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
How many queries per second?
– Rick James
Mar 18 '18 at 20:12
What is the size of the database? Also, do you mean horizontal scaling, i.e. adding more servers rather than upgrading the ones you have?
– dbdemon
Mar 18 '18 at 22:59
@dbdemon as ofnow db size is 900MiB. I meant horizontal scaling. This is to be done in future if data increases.
– Mani
Mar 19 '18 at 1:37
@RickJames currently total no of users=8000 and queries per second=110.086 per second.Used this to get queries/second
– Mani
Mar 19 '18 at 4:31
add a comment |
How many queries per second?
– Rick James
Mar 18 '18 at 20:12
What is the size of the database? Also, do you mean horizontal scaling, i.e. adding more servers rather than upgrading the ones you have?
– dbdemon
Mar 18 '18 at 22:59
@dbdemon as ofnow db size is 900MiB. I meant horizontal scaling. This is to be done in future if data increases.
– Mani
Mar 19 '18 at 1:37
@RickJames currently total no of users=8000 and queries per second=110.086 per second.Used this to get queries/second
– Mani
Mar 19 '18 at 4:31
How many queries per second?
– Rick James
Mar 18 '18 at 20:12
How many queries per second?
– Rick James
Mar 18 '18 at 20:12
What is the size of the database? Also, do you mean horizontal scaling, i.e. adding more servers rather than upgrading the ones you have?
– dbdemon
Mar 18 '18 at 22:59
What is the size of the database? Also, do you mean horizontal scaling, i.e. adding more servers rather than upgrading the ones you have?
– dbdemon
Mar 18 '18 at 22:59
@dbdemon as ofnow db size is 900MiB. I meant horizontal scaling. This is to be done in future if data increases.
– Mani
Mar 19 '18 at 1:37
@dbdemon as ofnow db size is 900MiB. I meant horizontal scaling. This is to be done in future if data increases.
– Mani
Mar 19 '18 at 1:37
@RickJames currently total no of users=8000 and queries per second=110.086 per second.Used this to get queries/second
– Mani
Mar 19 '18 at 4:31
@RickJames currently total no of users=8000 and queries per second=110.086 per second.Used this to get queries/second
– Mani
Mar 19 '18 at 4:31
add a comment |
1 Answer
1
active
oldest
votes
NDB is more complex to set up, but may provide a faster way to get to 13K qps sharded across multiple machines.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "182"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f201603%2fmysql-innodb-or-mysql-ndb-cluster-which-one-to-use%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
NDB is more complex to set up, but may provide a faster way to get to 13K qps sharded across multiple machines.
add a comment |
NDB is more complex to set up, but may provide a faster way to get to 13K qps sharded across multiple machines.
add a comment |
NDB is more complex to set up, but may provide a faster way to get to 13K qps sharded across multiple machines.
NDB is more complex to set up, but may provide a faster way to get to 13K qps sharded across multiple machines.
answered Mar 19 '18 at 14:11
Rick JamesRick James
43.5k22259
43.5k22259
add a comment |
add a comment |
Thanks for contributing an answer to Database Administrators Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f201603%2fmysql-innodb-or-mysql-ndb-cluster-which-one-to-use%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
How many queries per second?
– Rick James
Mar 18 '18 at 20:12
What is the size of the database? Also, do you mean horizontal scaling, i.e. adding more servers rather than upgrading the ones you have?
– dbdemon
Mar 18 '18 at 22:59
@dbdemon as ofnow db size is 900MiB. I meant horizontal scaling. This is to be done in future if data increases.
– Mani
Mar 19 '18 at 1:37
@RickJames currently total no of users=8000 and queries per second=110.086 per second.Used this to get queries/second
– Mani
Mar 19 '18 at 4:31