Dimitri Fontaine

25.4K posts

Dimitri Fontaine banner
Dimitri Fontaine

Dimitri Fontaine

@tapoueh

Author of https://t.co/iKDs72GUuy. #PostgreSQL Contributor, #pgloader, #pg_auto_failover. Dad. Guitar player. Board games & Craft beers. he/him. BLM ✊🏿

Paris, France Katılım Temmuz 2011
594 Takip Edilen4K Takipçiler
Sabitlenmiş Tweet
Dimitri Fontaine
Dimitri Fontaine@tapoueh·
“This book is on a higher level than generic software books. It explains the how's and why's of using Postgres's many feature. It is an excellent companion to the official Postgres documentation.” wrote Bruce Momjian about my book theartofpostgresql.com. You have your copy yet?
English
15
21
87
0
Dimitri Fontaine retweetledi
TheArtOfPostgreSQL
TheArtOfPostgreSQL@TheArtOPostgres·
How to quickly find data matching a complex set of user provided tags, all within @PostgreSQL query engine, you may ask! In the following article we use some denormalization tricks to answer that, read more at tapoueh.org/blog/2013/10/d…
English
0
2
10
0
Dimitri Fontaine retweetledi
Riccardo Odone
Riccardo Odone@RiccardoOdone·
@unamashana App devs are afraid of putting logic in SQL 🙂 @tapoueh ‘s The Art of PostgreSQL covers it well:
Riccardo Odone tweet media
English
1
4
12
0
Dimitri Fontaine
Dimitri Fontaine@tapoueh·
@fuzzychef I suppose yes. Ideally we would have a quorum based approach for multiple standbies in that place of the code. Remember that disconnected nodes are not part of pg_stat_replication though, making our lives a little harder. Contributions welcomed!
English
0
0
2
0
Dimitri Fontaine retweetledi
Euler Taveira
Euler Taveira@eulerto·
Postgres 15 is almost ready. Let's check some changes that might break compatibility with previous releases: 🧵
English
1
16
58
0
Dimitri Fontaine
Dimitri Fontaine@tapoueh·
Final tweet in that thread: see #create-a-citus-cluster-take-two" target="_blank" rel="nofollow noopener">pg-auto-failover.readthedocs.io/en/v2.0/citus-… if you're wondering about “a single command line per box, really?”. Yes, really. And you can reproduce that at home. The full Dockerfile and docker-compose.yml setup is provided.
English
0
0
1
0
Dimitri Fontaine
Dimitri Fontaine@tapoueh·
Implementing these reference architectures require a single command line per box in many cases. See the docker-compose files in the tutorials. More architectures are possible, too, with quite some flexibility!
Dimitri Fontaine tweet mediaDimitri Fontaine tweet mediaDimitri Fontaine tweet mediaDimitri Fontaine tweet media
English
1
0
0
0
Dimitri Fontaine
Dimitri Fontaine@tapoueh·
@d_gustafsson What about always going through the dry-run checks first, with clear logging for diagnostic? And allowing the drop node command to finish the clean-up when required too. Maybe just fixing the drop node command is a good start…
English
1
0
0
0
Daniel Gustafsson
Daniel Gustafsson@d_gustafsson·
@tapoueh I'm pondering a "create postgres --dry-run" to run through the motions and check for issues
English
1
0
1
0
Daniel Gustafsson
Daniel Gustafsson@d_gustafsson·
@tapoueh any idea why I would get this in a clean VM with no ~/.config/ or datadir leftovers when creating a first node: ERROR NodeId, nodename, hostname or port returned by monitor is NULL ERROR Failed to set node 1 sysidentifier to "7152867231273596547" on the monitor becaus
English
1
0
0
0
Dimitri Fontaine
Dimitri Fontaine@tapoueh·
@d_gustafsson We definitely need that for sure. I’m thinking of an additional feature in the same kind of area… we have some bug reports with a stale FSM. Rare, but happens. A way to re-Init would come in handy then. A total FSM prover also :-)
English
1
0
0
0
Daniel Gustafsson
Daniel Gustafsson@d_gustafsson·
@tapoueh Or at least some more rigorous checking on "create postgres" to make sure nothing was left behind that can impact. I'll see what I can come up with
English
1
0
1
0
Dimitri Fontaine
Dimitri Fontaine@tapoueh·
@d_gustafsson Yes please! Related: I am thinking we should have a ré-initié operation… maybe pg_auto to drop node —re-create or something. Would simplify things and also help unblock in some situations. What do you think?
English
1
0
0
0
Daniel Gustafsson
Daniel Gustafsson@d_gustafsson·
@tapoueh turns out it was the ~/.local state files being left after a pg_autoctl drop node --destroy which then blocked it from creating a new node .. shouldn't that file be cleaned up as well? Should I hack up a patch to fix?
English
1
0
1
0