Better HN
topnewbestaskshowjobs
Log inSign up

martin_marques

-1 karma · joined Sep 22, 2017 (9y ago) · 4 submissions

Submissions

comment 7y ago · link · parent

That's a joke right? I mean, you don't measure market share by looking at how many "websites" use one or the other database.

comment 9y ago · link · parent

We have "día de los inocentes" here, but it ain't that day either!

comment 9y ago · link · parent

No. You need Global indexes for that.

comment 9y ago · link · parent

There is no native solution as there is no unique scenario regarding failover. Some people prefer to do fencing using network tools like firewall rules or managed switches, other just reconfigure their applications connection string to remove the failed node, or even reconfigure connections with a middle-ware like pgbouncer. There surely are other fencing solutions that don't come to my mind now, and others I don't even know of. For failover you can use tools like repmgr which provides automatic failover, or set up your own monitoring which can either trigger an alert to your pager and you run the failover. Or you have it trigger some configuration manager to reset the nodes (I strongly suggest using Ansible ;) ) This is what makes postgres flexible, as it's not tied to one solution.