sharding Questions
10
Solved
I am connecting to a MongoDB sharding server via mongodb java driver in Spring MVC. I am using the following versions:
spring-webmvc-3.2.1.RELEASE
mongo-java-driver/2.10.0/mongo-java-driver-2.10....
Meryl asked 24/10, 2013 at 2:45
8
Assume there is a worker service that receives messages from a queue, reads the product with the specified Id from a document database, applies some manipulation logic based on the message, and fin...
Unaccountedfor asked 8/3, 2015 at 19:10
8
Solved
I have been reading about scalable architectures recently. In that context, two words that keep on showing up with regards to databases are sharding and partitioning. I looked up descriptions but s...
Bakemeier asked 25/12, 2013 at 9:54
1
Mongo DB supports zoned sharding (as described here) by associating each shard with zone sh.addShardTag(<shard name>, "ZONENAME") and applying zone chunk ranges based on sharding key values w...
3
Solved
I read you can have multiple consumer apps per kinesis stream.
http://docs.aws.amazon.com/kinesis/latest/dev/developing-consumers-with-kcl.html
however, I heard you can only have one consumer per s...
Traction asked 29/12, 2015 at 1:34
8
What is the best approach for Sharding MySQL tables.
The approaches I can think of are :
Application Level sharding?
Sharding at MySQL proxy layer?
Central lookup server for sharding?
Do you kn...
4
I have a collection "documentDev" present in the database with sharding key as 'dNumber'
Sample Document :
{
"_id" : "12831221wadaee23",
"dNumber" : "115",
"processed": false
}
If I try to upda...
Gris asked 14/3, 2019 at 18:26
3
I have an index on AWS Elasticsearch which were unassighed due to NODE_LEFT. Here's an output of _cat/shards
rawindex-2017.07.04 1 p STARTED
rawindex-2017.07.04 3 p UNASSIGNED NODE_LEFT
rawindex-...
Gagarin asked 2/8, 2017 at 13:37
28
Solved
I have an ES cluster with 4 nodes:
number_of_replicas: 1
search01 - master: false, data: false
search02 - master: true, data: true
search03 - master: false, data: true
search04 - master: false, da...
Essentiality asked 14/11, 2013 at 0:49
1
Solved
I'm having an issue with some of my elastic search indices in the cluster:
I have 5 regular shards for an example index logs-2021.08, so when I'm running _cat/shards elastic API I'm getting good re...
Damien asked 1/11, 2021 at 11:17
9
Solved
What's the best way to deal with a sharded database in Rails? Should the sharding be handled at the application layer, the active record layer, the database driver layer, a proxy layer, or somethin...
Candlepin asked 4/9, 2008 at 16:40
3
I have a Django project based on multiple PostgreSQL servers.
I want users to be sharded across those database servers using the same sharding logic used by Instagram:
User ID => logical shard ID...
Ceyx asked 2/8, 2012 at 16:57
4
Solved
For an online marketplace product under construction, I have a situation which requires implementing a database sharding solution. I am new to sharding and after reading the posts in this forum I f...
2
I'm currently in the process of converting my 6 years old C# application to .NET Core v3 and EF Core (and also using Blazor).
Most of it is working except for the Sharding part.
Our application cre...
Phagy asked 6/5, 2020 at 10:6
1
Solved
I'd like to try a project I found on GitHub, so I installed MongoDB on MacOS and now I'm trying to understand how to set up it correctly through the docker compose file in the directory. This is th...
Wayward asked 25/7, 2021 at 9:10
2
Solved
With Elasticsearch 2.3.3, is there a way to get shard sizes using the GET API which returns JSON?
Currently I have found the following methods to get shard size, both of which are problematic:
/_r...
Corsair asked 28/6, 2016 at 18:44
3
Solved
This might be a dummy question, but I cannot find any clue in all online doc.
For a already-built-up mongodb cluster, How can I find which sharding key(s) is used for given collecton?
2
$lookup is new in MongoDB 3.2. It performs a left outer join to an unsharded collection in the same database to filter in documents from the “joined” collection for processing.
To use $lookup, the...
Crin asked 6/1, 2016 at 12:24
8
Here's the problem I am trying to solve: I have recently completed a data layer re-design that allows me to load-balance my database across multiple shards. In order to keep shards balanced, I need...
Skimmia asked 21/7, 2009 at 12:26
2
Solved
I am using Hibernate/JPA.
When i do an entity.save() or session.update(entity), hibernate generates a query like this :-
update TABLE1 set COL_1=? , COL_2=? , COL_3=? where COL_PK=?
Can I include ...
Loincloth asked 6/10, 2020 at 10:33
2
I recently had a SNAFU cause my cluster to end up with split-brain (despite having many controls in place) resulting in shards that are basically busted. I've got all the nodes back in play properl...
Mousse asked 9/1, 2014 at 4:59
3
Solved
I am trying to shard MongoDB. I am done with Sharding configuration, but I am not sure how to verify if sharding is functional.
How do i check whether my data is get sharded? Is there a query to v...
4
Solved
I am running an elastic search version 4.1 on windows 8. I tried to index a document through java. When running a JUNIT test the error appears as below.
org.elasticsearch.action.UnavailableShards...
Millisent asked 18/12, 2014 at 12:55
1
When I read about sharding, looks like authors don't take into account other tables the sharded table has to be joined to (even though they describe a shard as a "subset of an original database"). ...
Marsden asked 24/11, 2017 at 11:19
5
Solved
In a non-sharded DB, I could just use auto-increment to generate a unique ID to reference a specific row.
I want to shard my DB, say into 12 shards. Now when I insert into a specific shard, the au...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.