1. CREATE TYPE States (
2. id uuid PRIMARY KEY,
3. name text
4. );
Why all operations are strongly consistent?
1. CREATE TABLE countries (
2. country text,
3. state text,
4. pop int STATIC,
5. PRIMARY KEY (country, state)
6. );
7.
8. INSERT INTO countries (country, state, pop) VALUES ('USA', 'Oregon', 4200000);
9. INSERT INTO countries (country, state, pop) VALUES ('USA', 'Idaho', -1);
10. INSERT INTO countries (country, state, pop) VALUES ('USA', 'Idaho', 1700000);
What can NOT happen on an UPDATE query for one single row, when the consistency level is set to ONE?
© Copyrights DumpsEngine 2024. All Rights Reserved
We use cookies to ensure your best experience. So we hope you are happy to receive all cookies on the DumpsEngine.