Most voted "nosql" questions
Nosql is a kind of persistent data storage that uses not only SQL but other storage forms like documents, Key-Value tables (Key-Value)
Learn more…88 questions
Sort by count of
-
50
votes5
answers2269
viewsIs Nosql as troublesome as it seems?
I’ve been reading about Nosql lately, because the first impression I had about the technology was good. I did tests with Mongodb specifically and found it very practical and much easier than…
-
47
votes1
answer5885
viewsHow to choose between Nosql and SQL?
Nosql databases are there, and one question I always have when starting a project is what criteria to choose between a relational database or not. How to evaluate my project to know the best option…
-
20
votes1
answer1388
viewsWhat is a Nosql bank? How does it work?
I’ve heard a lot about Nosql database. Searching about it I found the following definition: Nosql (sometimes interpreted as Not Only SQL - Not Only SQL) is a generic term for a defined database…
-
18
votes1
answer8163
viewsWhat is a graph-based database?
I did not find on this site the answer to this question. So my question is basically this: What is a graph-based database?
-
17
votes1
answer655
viewsAlternatives to the (anti-)standard Entity-Attribute-Value
I am working on two systems that have a common feature: entities whose attributes are dynamic (i.e. cannot be "plastered" - hardcoded), need to be consulted in search operations (result filter), but…
-
16
votes1
answer1772
viewsIs Nosql synonymous with an Object-Oriented Database?
Nosql is synonymous with Object-Oriented Database? If the answer is nay: What’s the difference between the two?
-
12
votes1
answer510
viewsHow to generate reports using Nosql?
i own a Message document and in my Nosql database I can have thousands of messages as follows: [{"origem":1,"destinatario":1,"created_at":"2016-12-20","conteudo":"P ligula pellentesque ultrices"},…
nosqlasked 7 years, 12 months ago Emília Parsons 131 -
10
votes4
answers5616
viewsWhat kind of application can I use Mongodb in?
Use Mongodb in every kind of application is bad? There are application types where it is most recommended and types where it is not recommended to use a Nosql?…
-
7
votes2
answers985
viewsWhat are the appropriate scenarios for graph-based databases
Lately I’ve been studying the graph-based database Neo4j. Given that the vast majority of current applications use traditional relational databases, I ask: What are the appropriate scenarios to use…
-
6
votes2
answers1682
viewsHow to make a "JOIN" in two Colections in Mongodb?
I know Mongodb doesn’t have Ner Join, but I really need to filter the data from a Collection by reference to its _id in another Collection. I need to display only the projects of a particular user.…
-
6
votes2
answers2498
viewsIs there a modeling tool for Nosql database?
I’m doing a database creation project for a web application that will use the Cassandra database. I was wondering if there’s any tools that can help
-
6
votes2
answers820
viewsDifference between non-relational database models
When it comes to non-relational databases, we have some options, such as the Document database and Graph database. Regarding the two, what are the main differences and benefits of using each?…
-
5
votes1
answer1398
viewsNo-SQL database modeling
I’m developing a system that will use angular for the front-end part and firebase for the database. Firebase uses a No-Sql database and I’m having a hard time understanding how I can model it. For…
-
5
votes1
answer28
viewsI cannot return another field other than the primary key using $project
I’m starting in Mongodb and would like to perform a consultation in my database of type: Which animals got sick in the year 2016? Using $group and $project: db.animais.aggregate([ {$unwind :…
-
4
votes2
answers2228
viewsUpdate in array in Mongodb
{ "_id" : "55dcb404478e7227203d3a65", "Nome" : "Grupo Familia", "Pessoas" : [ { "PessoaId" : "55dcb425478e72207833e970", "Nome" : "Carlos", "Habilidades" : [ { "HabilidadeId" :…
-
4
votes2
answers1693
viewsWhy can’t I open the Mongodb interface on port : 28017?
I installed Mongo in the C drive and did some data creation tests and persisted,then consulted and there they were perfectly listed at the prompt. So far so good! I open the browser and type…
-
4
votes1
answer849
viewsFirebase database modeling: n:n relations
I’m studying firebase that uses Nosql and I came up with a question when watching this video: Converting SQL Structures into Firebase Structures - Firebase Database for SQL Developers #2 In it the…
-
4
votes1
answer112
viewsHow to page a query in Azure Cosmos DB?
I’m trying to pay for a consultation on Azure Cosmos DB, reading this post: Paging through query Results in Azure Documentdb, got to the code: public async Task <ICollection <TEntity>>…
-
3
votes1
answer406
viewsAuthentication in Java EE
I am developing an app whose client will be Html5 + javascript (single-page-app) and the backend will be basically Jax-rs + cdi + nosql (glassfish & orientdb). In this scenario, I need help to…
-
3
votes1
answer853
viewsTime interval query in mongodb using pymongo
I need to perform a query in a mongodb database that results in a set of results per time range. I am using pymongo. My consultation is as follows: queryConsulta = {"$and": [ {"id_no": id_node},…
-
3
votes2
answers372
viewsCollate Mongodb
I need to make an auto complete that consumes a Mongodb database. The words can be written with or without accent, uppercase or lowercase, that is, I need to define a collate in the Ngo that allows…
-
3
votes0
answers464
viewsPostgresql Nosql and integration between relational and non-relational databases
I have been researching about Postgresql Nosql and found the concept of Key-Value Stores in some publications, also from HSTORE. I also researched the integration between Postgresql and the Spring…
-
3
votes5
answers628
views -
3
votes1
answer98
viewsMount Query to last Google Datastore record
I’m working with the Datastore from Google and I’m unable to mount a Query to return what I need. Situation I have a Entity, keyed {"item": codItem, "item": id}, still within that Entity I have the…
-
3
votes1
answer45
viewsCouchdb best practices for updating related documents
I’m using CouchDB and NodeJs with these examples of documents. Role { _id, name } User { _id, email, password, role: { _id, name } } What is the best practice for when I update a Role, also update…
-
3
votes2
answers51
viewsAre Mongodb’s "id" unique among collections?
It is possible that the same ObjectId is generated for a document in two different collections in the same database?
-
2
votes1
answer763
viewsWhat is the correct way to structure addresses in Mongodb?
When I learned SQL, the way address was structured was to create a series of tables (neighborhoods, cities, states, countries). So I listed the tables. Then just add only the neighborhood id to the…
-
2
votes1
answer1704
viewsEdit an element within an object, within an array, with Mongoose
I could use a hand! I am new to Node.JS and decided to "create a system" to put into practice what I already know and create challenges to encourage my learning! I did a beginner workshop (with Jean…
-
2
votes2
answers515
viewsHow to get duplicated records with mongoDB and Morphia?
How do I get mongoDB to return me a list of un-duplicated documents. In my case mongoDB returns a list of ingredients from all registered recipes, but I want these records without duplication…
-
2
votes2
answers763
viewsRecover the value of an attribute of a generic object in Java
I’m making a system where I read Java objects of different types of XML files. So I don’t have a single object type and consequently I don’t know its attributes or methods. I would like to perform a…
-
2
votes1
answer691
viewsSort with Accentuation in Elasticsearch
I’m trying to make an ordination with Elastic Search, however some fields have accentuation, as name of cities, I tried to use fields with index not_analyzed and with ptbr in the second form: {…
-
2
votes2
answers1562
viewsImport JSON to Database
I have a json file, and I’d like to import it into a database. Is there any way to automate this process? There is no preference for database, but if you had any function for Postgresql would be…
-
2
votes1
answer50
viewsProblems with Firebase Insertion
I am developing a native application on Android that uses maps, the insertion is normally happening through the code below. Local is a variable of type LatLng.…
-
2
votes2
answers786
viewsHigh demand stock control with Firebird and/or mongodb
I’m thinking of migrating my ERP (currently in java) from a relational database (currently in Firebird) to a Nosql (probably Mongodb). I am planning and trying to anticipate the possible problems.…
-
2
votes0
answers1031
viewsFirebase - Relationship between documents
I know the firebase is Nosql/Norel, but I have this doubt and it is very relevant given to the project I am developing. In the traditional Mysql model, when we have a table of categorias, for…
-
2
votes1
answer1192
viewsCount the number of records in firebase
Good morning Developers! I’m having a hard time in a project that I can’t move forward, here’s the problem/scenario: We have a screen that brings information, a message, and on the screen there is…
-
1
votes0
answers123
viewsWhat is the best way or method to study banks in the QTL?
I need to develop a script that Sincronize an apache database with another Elastic search. However, I do not know the operating mechanism of the two, which are banks in the SQL. What is the fastest…
-
1
votes2
answers351
viewsDoubt with mongodb test
I am a beginner in Mongo I have a question with select/query. I need to make a query that searches at the base Yoda and in the collection configuracoes return all documents that hold the key…
-
1
votes1
answer53
viewsCouchbase + N1QL
In a bank of approximately 300,000 records, the query below: SELECT count(usuario) FROM analytics where datahora.entrada >= '2016-11-18T00:00:00.000Z' and datahora.entrada <=…
-
1
votes0
answers56
viewspython relationship in neo4j
I have the following code where I am migrating a relational database to neo4j. I made a node for each latitude and longitude sensor and a distinct node for each rainfall recorded in my database. db…
-
1
votes1
answer1254
viewsReturn the maximum sum of Collection with Mongodb
I have a collection in the MongoDB and it has several records and I need to sum up a column by UF and then return the highest value of that sum. For example UF: 'SP', Valor: 10 ---- UF: 'SP', Valor:…
-
1
votes1
answer984
viewsReturn list from a child in firebase
Good morning ! Guys, I have a situation in which I want to return in a list all the data whose one of the children are equal to id, in the image below I have the nodes structures of my database in…
-
1
votes1
answer648
viewsWhich diagram best describes a Nosql bank?
When using SQL database, there are different ways to show the system flow. In the database you can use an ER to show its attributes. And for its operation a UML Class Diagram is used. How best to…
-
1
votes1
answer624
viewsRelationship between documents - Mongodb
I have the following model: A schema called suspects, which holds information of suspicious persons. And 3 other so-called alerts, criminal actions and risk events. These 3 other schemas, must have…
-
1
votes0
answers15
viewsHow to popular an array of an object based on its Index using Rethinkdb
Hello, I’m starting to "understand" how Rethinkdb works and I’m seeing that it is for sure the Nosql database that comes closest to the logic of an SQL database without losing the optimization and…
nosqlasked 7 years, 1 month ago LeandroLuk 4,989 -
1
votes1
answer301
viewsMysql structure in firebase/firestore
How to create a collection 1:1 and 1:n in firebase, as in the images, where I have company tables, city and categories, as would the relationship between them in the firestore, mainly the relation 1…
-
1
votes1
answer22
viewsHow to store notifications for performance?
Thinking of a system that at first is small and there is a possibility of a large growth in the flow, what would be the most intelligent/appropriate way to store notifications (a la facebook)? In .…
-
1
votes1
answer71
viewsWhat is Mongodb and why should I, as a front-end dev, adopt it instead of good old Mysql?
I have heard comments from other devs to migrate to Mongodb to create my applications. How and why I should do this? There is an interface by which I can manipulate the data, etc.?…
-
1
votes1
answer439
viewsHow to return an object from a bank in QTL(Mongodb)?
I currently have some objects in a Mongodb database. The structure is as follows. { "_id" : ObjectId("55cb9c666c522cafdb053a68"), "geometry" : { "type" : "Polygon", "coordinates" : [ [ […
-
1
votes1
answer647
viewsHow to insert equal objects or list of objects in Mongodb?
Example, I have the following JSON: { Casa:'b32', integrantes:{ pessoa: 'joao', pessoa: 'Maria', pessoa: 'Daniel' } } When you enter it into the database it looks like this. Apparently it is…