Questions tagged [database-cluster]

Use database-cluster for questions related to running a group of databases as a cluster, which helps prevent the existence of a single point of failure in case a database server fails or is compromised.

References

66 questions
85
votes
9 answers

Scaling solutions for MySQL (Replication, Clustering)

At the startup I'm working at we are now considering scaling solutions for our database. Things get somewhat confusing (for me at least) with MySQL, which has the MySQL cluster, replication and MySQL cluster replication (from ver. 5.1.6), which is…
Eran Galperin
  • 83,588
  • 23
  • 113
  • 132
12
votes
1 answer

What's a good balance to decide when to partition a table in BigQuery?

We are using a public dataset to benchmark BigQuery. We took the same table and partitioned it by day, but it's not clear we are getting many benefits. What's a good balance? SELECT sum(score) FROM…
Felipe Hoffa
  • 39,978
  • 8
  • 105
  • 241
8
votes
2 answers

When to prefer master-slave and when to cluster?

I know there have been many articles written about database replication. Trust me, I spent some time reading those articles including this SO one that explaints the pros and cons of replication. This SO article goes in depth about replication and…
th3an0maly
  • 2,865
  • 7
  • 27
  • 49
8
votes
4 answers

Resources for Database Sharding and Partitioning

I'm working with a database schema that is running into scalability issues. One of the tables in the schema has grown to around 10 million rows, and I am exploring sharding and partitioning options to allow this schema to scale to much larger…
Peter Bratton
  • 6,024
  • 5
  • 35
  • 60
7
votes
2 answers

Cluster vs replication

I have an use case where I am looking to replicate a single database on multiple servers (for HA and scalability purposes), Would there be any disadvantage to run a 3 node replica instead of a 3 nodes cluster ?
romainrbr
  • 73
  • 1
  • 4
5
votes
4 answers

MySQL cluster error 1114 (HY000): The table 'users' is full

I have a MySQL cluster setup, There are 2 data nodes and 1 management node. We are now getting errors on our data nodes when doing inserts. ERROR 1114 (HY000): The table 'users' is full Please any help is appreciated, Is this a config issue, if so…
T-Wrecks
  • 143
  • 1
  • 2
  • 6
4
votes
1 answer

pgpool-II for Postgres - Is it what I need?

I just stumbled upon pgpool-II in my search for clustering my Postgres DB (just getting ready to deploy a web app in a couple months). I still have the shakes from excitement, but I'm nervous, as each time I find something this excellent I am soon…
orokusaki
  • 48,267
  • 47
  • 159
  • 244
3
votes
1 answer

Add cluster to an existing table in oracle

Is it possible to add cluster to an existing table? For example... I have a table: CREATE TABLE table_name( t_id number PRIMARY KEY, t_name varchar2(50)); Cluster: CREATE CLUSTER my_cluster (c_id NUMBER) SIZE 100; Is there a command like:…
randomUser56789
  • 866
  • 2
  • 12
  • 32
3
votes
2 answers

Galera replication ignore table

With normal Mysql replication we can ignore tables with: replicate_ignore_table I can't find any information on whether or not it's possible to do this with Galera cluster replication. I'd like to ignore a table that is not important so that no…
gijs007
  • 223
  • 1
  • 6
  • 19
3
votes
1 answer

Got error 4239 'Trigger with given name already exists' from NDBCLUSTER

We are running a MySQL Cluster Version: mysql> SELECT VERSION(); +------------------------------+ | VERSION() | +------------------------------+ | 5.6.15-ndb-7.3.4-cluster-gpl | +------------------------------+ Trying to create a…
gies0r
  • 2,543
  • 1
  • 24
  • 35
3
votes
5 answers

Is it true that MyISAM engine is more preferable than InnoDB when we are building clustered storage? Why if it is so?

I heard this today during interview for java developer. I had to list some advantages of MyISAM over InnoDB and why it's still being widely used. And they were waiting to hear from me the answer as the title of this question. As I understand from…
Roman
  • 59,060
  • 84
  • 230
  • 322
2
votes
1 answer

Where exactly the table-data stored using MySQL-cluster gets stored?

I am a new-bee to MySQL cluster and wanted to know where exactly the data is stored in MySQL-cluster and where can i see it without directly. As we can see the separate files for each tables in MySQL 5.x databases. I have to verify for the same in…
HarsH
  • 641
  • 3
  • 11
  • 26
2
votes
3 answers

Cassandra received an invalid gossip generation for peer

We have a basic 2 node Cassandra cluster. Both nodes run version 3.9 with minimal configurations to enable clustering. One of the nodes is sending wrong generation which causes the other node to show the warning WARN [GossipStage:1]…
Arslan Mehboob
  • 952
  • 8
  • 19
2
votes
0 answers

How to deploy a MongoDB sharded cluster with SSL/TLS only on mongos instances?

I have a MongoDB deployment we wanted to enable SSL for external connections, but only for external connections. There's a number of reasons for not wanting SSL in internal communication. It adds unnecessary overhead, and we also don't want to…
brocoli
  • 542
  • 3
  • 16
2
votes
3 answers

MySQL Load Balancing

We have 6 Servers (4 Applications servers and 2 DB Servers) We are using HAProxy to load balance between the Application and API servers (2/2) Now the issue I'm having is that the system administrator setup a Master/Slave on the MySQL but it's…
Tarek
  • 3,682
  • 3
  • 32
  • 61
1
2 3 4 5