Questions tagged [data-consistency]

126 questions
0
votes
0 answers

how to maintain hibernate data consistency between if the two microservices sharing same table of database

**I'm new to microservices I have a service A , service B Service C are using same database to access the User details which is in Service C. can we have the the same hibernate entity to get the info in service A and Service B , there will be…
prachi
  • 113
  • 1
  • 8
0
votes
1 answer

Store named items in lookup table

Consider the following class class Person { public: explicit Person(RegistrationNumber id, std::string const& name); RegistrationId id() const; std::string const& name() const; Person& name(std::string…
user877329
  • 6,717
  • 8
  • 46
  • 88
0
votes
0 answers

when to use locks for MYSQL queries

I am wondering if it is necessary for data consistency concerns to use locks for none-persistent connections to MYSQL server. While performing changes to tables accessed by multiple users at the same time. To illustrate more I will use a scenario…
zedsa
  • 1
0
votes
1 answer

why this code works and eloquent create the subdocument if it is not exists?

suppose I have a collection with name ParrentObj and a corresponding Eloquent class named ParrentObj: [//ParentObj eloquent objects { "_id":ObjectId("5e11ae242cb48f79afcd4b07"), "Code":"a" "Children":[ //children eloquent…
0
votes
2 answers

Data consistency between Oracle tables

I have one big table A who has PK (C1, C2, C3) and many other columns, to make the select faster, a smaller table B was created with PK (C1, C2). So we can do a select by joining the two tables to find a row in A. But the problem now is that it can…
0
votes
2 answers

change specific value in mdf-object (python, asammdf)

I would like to change some values in an mdf file (specifically, I would like to check for consistency, since the measurement instrument for some reason writes 10**10 when no value could be found). I can't figure out how to access specific values…
wiseboar
  • 175
  • 2
  • 13
0
votes
1 answer

Keeping all instance of in memory graph db in sync

We are building an java application which will use embedded Neo4j for graph traversal. Below are the reasons why we want to use embedded version instead of centralized server This app is not a data owner. Data will be ingested on it through other…
Rishi Saraf
  • 1,644
  • 2
  • 14
  • 27
0
votes
1 answer

distributed crawler and consistency

The case is that we have multiple servers (40+) to scrape one same URL at the same time (to make sure we have smallest legacy) and save the data into the database (MySQL). and the problem now is that: the data is switch back and forth. for example,…
Fayland Lam
  • 1,016
  • 8
  • 11
0
votes
0 answers

PostgreSQL accessing the same data in different timezones

I'm using postgreSQL to store my data where users from different timezones can access. However, the data is inconsistent. For example, user A from Canada and user B from Australia can see different content of the same data if they are trying to…
0
votes
0 answers

Is it possible to perform atomic file replacement in root-owned directory (SUID program security concerns?)

To ensure consistency on power outage, files can be updated as follows (pseudocode): echo original_contents > file echo new_contents > /tmp_dir_in_same_fs/file.tmp mv /tmp_dir_in_same_fs/file.tmp file Now the thing is, if the files are in a folder…
cJ Zougloub
  • 1,484
  • 10
  • 19
0
votes
1 answer

Some confusion on the description of read consistency in Oracle

Below is a short brief of read consistency from oracle concepts guide. What is a sql statement, just one sql? Or Pl/SQL or Store Procedure? Anyone can help provide me one opposite example which can indicates the un-consistency read? read…
Tom
  • 121
  • 2
  • 14
0
votes
1 answer

How does a replication set get request and respond to it from Cassandra's coordinator request?

Suppose a request from the coordinator arrives at the set. If one of the members takes and requests this request, do not you need the rest of the members to take this request and respond to it? If one member receives an application, for example, a…
Amirio
  • 628
  • 1
  • 6
  • 12
0
votes
1 answer

Inconsistency between Network object and Igraph object in R

I am starting a descriptive network analysis using both SNA (statnet suite) and igraph in R. I was wondering which suite to use to investigate the different properties of my network, since they have slightly different features that make them not…
Filippo Santi
  • 109
  • 1
  • 8
0
votes
1 answer

Data consistency across nodes in NOSQL

This is a design level question, I have a node setup like Node N1, N2 and N3 where my application and database (as of now consider as Cassandra) runs in all 3 nodes. I need to provide the data consistency for the following scenario, Could someone…
Harry
  • 3,072
  • 6
  • 43
  • 100
0
votes
1 answer

What kind of consistency guarantee does a multi-master-master innodb cluster guarantee?

Assume I have a multi-master innodb cluster (with just 2 data nodes) where clients make requests through mysql routers. Suppose a specific row on some table in a database is updated on both the nodes by two clients almost at the same time. Now both…
Nipun Talukdar
  • 4,975
  • 6
  • 30
  • 42
1 2 3
8 9