Questions tagged [nosql]
NoSQL (sometimes expanded to "not only SQL") is a broad class of database management systems that differ from the classic model of the relational database management system (RDBMS) in some significant ways.
nosql
13,174
questions
-2
votes
0
answers
18
views
How do I implement friendships between users in cloud firestore? [closed]
I'm using Node.js. I currently have a collection with users and I want to model friendships between them. The frontend should be able to query all the friends of a user with the profile picture and ...
-2
votes
1
answer
39
views
How does Tinder gives me only new profiles? [Database design]
I have probably swiped 10k profiles either left or right.
If I open the app tomorrow I will get 10 profiles I have never seen.
How can these profile be queried efficiently?
For sure an SQL query of ...
0
votes
1
answer
19
views
How to model Student/Teacher/Class with DynamoDb?
I'm modeling a DynamoDb schema, which currently supports three main entities: Teacher, Student and Class. Class entity has these relationships:
A teacher has a class
A student enrolls to a class
My ...
-2
votes
0
answers
27
views
Designing a MongoDB Schema for Efficiently Managing and Querying Ordered Sequential Values [closed]
I have a mongoDB collection findings which contains the following documents
{
name: "finding1",
group: "group1"
},
{
name: "finding2",
group: "group1"
},...
0
votes
0
answers
20
views
elasticsearch updateByQuery is not working for large data
i have written a script that will create a key "source" on 4 indices of elasticsearch based on some condition . All of my 4 indices contain at least 2~3 million data . when i ran the script ...
-5
votes
0
answers
19
views
Mongo DB visualization [closed]
I need help currently I'm using mongo DB and wanted to fetch live data to the power BI
My client wanted to see current data in dashboard if you have any ideas please feel free to mention any other
...
0
votes
1
answer
35
views
Setting primary key in Realm MongoDB
I am trying to make a collection of cocktail recipes. In this case, every recipeName field in Realm object is unique. Then can I set recipeName to be the primary key so that I can call useObject() ...
-4
votes
0
answers
30
views
Best frameworks to choose for high scale web applications including databases and architectures [closed]
I'm getting started with [tag: web development] which frameworks do you recommend for designing a high scale web application should I go with java or python javascript with microservices as my backend ...
1
vote
0
answers
37
views
How to setup Couchbase with Quarkus?
I'm using Quarkus 3.12, need to connect my application to couchbase. My goal is to do basic read and write operations.
I found quarkiverse/quarkus-couchbase, they have given the below mentioned ...
0
votes
0
answers
45
views
Database integrity in mongo DB with hooks
I am trying to use mongo DB for my MERN app. So far I have used SQL databases where database integrity has never been an issue.
But mongo being No-SQL does not support foreign key relation which is ...
-1
votes
1
answer
21
views
How to paginate filtered results with DynamoDB scan?
I have a DynamoDB table with a PK id and attributes status (boolean) and type (string with two values). I need to implement pagination for results filtering on status and type. My current approach ...
1
vote
2
answers
62
views
What is the most suitable data type for a column in a table?
Currently I'm trying to develop a PostgreSQL database schema, it has only 2 tables, one of which contains usernames. The difficulty is that for certain reasons I cannot store the username directly, so ...
0
votes
0
answers
19
views
Have access to NoSql with MoleculerJS
Please I am using a NodeJs Framwork on a project nammed MoleculerJs and i Want to Know if there is possible way to include NoSQL Db Other than mongoose as Cassandra In the FrameWork ?
const SqlAdapter ...
0
votes
1
answer
26
views
Does the order of the columns in the partition key matter?
Considering the table below, does the order of the partition key a and b matter?
CREATE TABLE t (
a varchar,
b int,
c text,
PRIMARY KEY ((a,b))
);
If a have more unique elements, should it be ...
0
votes
0
answers
46
views
MongoDB: Filter array field based on entry from the same array
Given the following collection
db.playground.insertMany([
{ "id": 1, "tags": [{"t": "T1", "v": "t11", "c": 1 }, {"t": &...