MongoDB, sharding with multi DB instanceMongoDB presplitting chunks for compound shard keyMongoDB index...
STM32 PWM problem
Almost normal subgroup
Can I legally make a website about boycotting a certain company?
How do I know my password or backup information is not being shared when creating a new wallet?
How can guns be countered by melee combat without raw-ability or exceptional explanations?
How can I portray body horror and still be sensitive to people with disabilities?
How to play songs that contain one guitar when we have two or more guitarists?
Have any astronauts or cosmonauts died in space?
In a world with multiracial creatures, what word can be used instead of mankind?
How can changes in personality/values of a person who turned into a vampire be explained?
Isn't a semicolon (';') needed after a function declaration in C++?
Is opening a file faster than reading variable content?
Can you wish for more wishes from an Efreeti bound to service via an Efreeti Bottle?
Does resurrection consume material components if the target isn’t willing to be resurrected?
Why do we divide Permutations to get to Combinations?
How can a kingdom keep the secret of a missing monarch from the public?
Why is the meaning of kanji 閑 "leisure"?
Boss asked me to sign a resignation paper without a date on it along with my new contract
Can't make vimwiki honor setting passed via command line
some confusion about singleton set?
Is it possible to detect 100% of SQLi with a simple regex?
Why are `&array` and `array` pointing to the same address?
How can I differentiate duration vs starting time
Why didn't Lorentz conclude that no object can go faster than light?
MongoDB, sharding with multi DB instance
MongoDB presplitting chunks for compound shard keyMongoDB index strategyWhy sharding does not show any improvement?MongoDB shardingMongoDB allocates chunks only to Primary when sharding is enabledMultiple MongoDB databases (1 per client) and sharding - are they compatible?mongodb - mongos - query a mix of sharded and unsharded collections / databases?Mongo Zone Sharding Implementation IssueMongoDB Zone Sharding without min & max keyMongoDB sharding by monotonic id with zones for archiving
I've a MongoDB instance with 40 DBs with same collections, every DB has a name like AWS1010, AWS1011 and so on. Now I've to activate sharding and I'd like to know if it is possible with that situation or I need to use one big DB with different collection name as AWS1010_users, AWS1011_users?
Second question, based on my data, I need to use zone sharding because I've to put collection 1010 and 1020 into shard1 and collection 1011 and collection 1050 in shard2, I think it is impossible to assign collection with other kind of sharding, hash and range. What about?
sharding
New contributor
add a comment |
I've a MongoDB instance with 40 DBs with same collections, every DB has a name like AWS1010, AWS1011 and so on. Now I've to activate sharding and I'd like to know if it is possible with that situation or I need to use one big DB with different collection name as AWS1010_users, AWS1011_users?
Second question, based on my data, I need to use zone sharding because I've to put collection 1010 and 1020 into shard1 and collection 1011 and collection 1050 in shard2, I think it is impossible to assign collection with other kind of sharding, hash and range. What about?
sharding
New contributor
add a comment |
I've a MongoDB instance with 40 DBs with same collections, every DB has a name like AWS1010, AWS1011 and so on. Now I've to activate sharding and I'd like to know if it is possible with that situation or I need to use one big DB with different collection name as AWS1010_users, AWS1011_users?
Second question, based on my data, I need to use zone sharding because I've to put collection 1010 and 1020 into shard1 and collection 1011 and collection 1050 in shard2, I think it is impossible to assign collection with other kind of sharding, hash and range. What about?
sharding
New contributor
I've a MongoDB instance with 40 DBs with same collections, every DB has a name like AWS1010, AWS1011 and so on. Now I've to activate sharding and I'd like to know if it is possible with that situation or I need to use one big DB with different collection name as AWS1010_users, AWS1011_users?
Second question, based on my data, I need to use zone sharding because I've to put collection 1010 and 1020 into shard1 and collection 1011 and collection 1050 in shard2, I think it is impossible to assign collection with other kind of sharding, hash and range. What about?
sharding
sharding
New contributor
New contributor
New contributor
asked 2 hours ago
AndrewAndrew
1
1
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
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
});
}
});
Andrew is a new contributor. Be nice, and check out our Code of Conduct.
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%2f230376%2fmongodb-sharding-with-multi-db-instance%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Andrew is a new contributor. Be nice, and check out our Code of Conduct.
Andrew is a new contributor. Be nice, and check out our Code of Conduct.
Andrew is a new contributor. Be nice, and check out our Code of Conduct.
Andrew is a new contributor. Be nice, and check out our Code of Conduct.
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%2f230376%2fmongodb-sharding-with-multi-db-instance%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