Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Optimise read-only database. MariaDB Galera Cluster Cassandra engine. Beginner

$
0
0

I have a table which I want to use to read data. Usual query:

SELECT id FROM table1 WHERE (col1 BETWEEN A AND B) AND (col2 BETWEEN C AND D)

SELECT * FROM table2 WHERE id IN()

Average number of returned rows 10^5. DB runs just on cluster of rather old PCs.

Is it correct to use as high replication as possible (optimally equal to number of nodes and perform reads with consistency level ONE?


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>