Soft delete | Postgres.FM 103 |

  Рет қаралды 568

PostgresTV 💙💛

PostgresTV 💙💛

Күн бұрын

[ 🇬🇧_🇺🇸 Check out the subtitles - we now edit them, ChatGPT+manually! You can also try KZbin's auto-translation of them from English to your language; try it and share it with people interested in Postgres!]
Nikolay and Michael discuss soft deletion in Postgres - what it means, several use cases, some implementation options, and which implementations suit which use cases.
Here are some links to things they mentioned:
* Soft Deletion Probably Isn't Worth It (blog post by Brandur) brandur.org/so...
* Easy, alternative soft deletion (blog post by Brandur) brandur.org/fr...
* Our episode on auditing postgres.fm/ep...
* CREATE FUNCTION … SECURITY DEFINER (docs) www.postgresql...
* Principle of least privilege en.wikipedia.o...
~~~
What did you like or not like? What should we discuss next time? Let us know in the comments, or by tweeting us on @postgresfm / postgresfm , @samokhvalov / samokhvalov and @michristofides / michristofides
~~~
Postgres FM is produced by:
- Nikolay Samokhvalov, founder of Postgres.ai postgres.ai/
- Michael Christofides, founder of pgMustard pgmustard.com/
~~~
This is the video version. Check out postgres.fm to subscribe to the audio-only version, to see the transcript, guest profiles, and more.

Пікірлер: 3
@Neoshadow42
@Neoshadow42 3 ай бұрын
Subtitles are incredible, thanks guys!
@kirkwolak6735
@kirkwolak6735 3 ай бұрын
I loved this one! I love how PG allows the entire record to be easily encoded and stored. We implemented an audit feature like this in Oracle. It was way too much code. We stored the OLD and NEW record. When I saw how easy it was for a single table in PG... I started falling in love... For us, the table, and the timestamp was always attached. To Answer the question: "How do you show this to the Manager" (the record changes. Assuming you stored the table_name, table_id columns with it. Then you would create a visible link that pointed to that record if there was an updated record in existence. And if it is a deleted recorded you will either need to merge it into the results, or show them NEAR the messages of the rough similar timestamp. You don't have to show them. Just show that they exist, with an easy way to get to them. FWIW, Day 1 in training. We showed users that all of their edits were stored. And Deletes were Stored as well. we only had to recover a couple of times.
@drasticfred
@drasticfred 3 ай бұрын
i always do add a reserve "flag column" to my tables, usually type int, no matter what the table serves for, it comes very handy, gives a flexibility that glue it any other table, service or logic etc.
To 100TB, and beyond! | Postgres.FM 100 | #PostgreSQL #Postgres podcast
47:42
PostgresTV 💙💛
Рет қаралды 1,4 М.
Out of disk | Postgres.FM 106 | #PostgreSQL #Postgres podcast
43:26
PostgresTV 💙💛
Рет қаралды 373
إخفاء الطعام سرًا تحت الطاولة للتناول لاحقًا 😏🍽️
00:28
حرف إبداعية للمنزل في 5 دقائق
Рет қаралды 35 МЛН
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 38 МЛН
🍉😋 #shorts
00:24
Денис Кукояка
Рет қаралды 3,6 МЛН
Index-Only Scans | Postgres.FM 109 | #PostgreSQL #Postgres podcast
39:15
PostgresTV 💙💛
Рет қаралды 570
Boring Tech, Bold Results | Jon Behr, VP of Engineering at FM
51:55
The Business of Laravel Podcast
Рет қаралды 159
Compression | Postgres.FM 107 | #PostgreSQL #Postgres podcast
45:16
PostgresTV 💙💛
Рет қаралды 349
Should you Delete or Soft Delete?
6:38
CodeOpinion
Рет қаралды 10 М.
Creator of git, Linus Torvalds Presents the Fundamentals of git
1:10:15
Developers Alliance
Рет қаралды 100 М.
Minor releases | Postgres.FM 097 | #PostgreSQL #Postgres podcast
39:46
PostgresTV 💙💛
Рет қаралды 270
DHH - Ruby on Rails, 37signals, and the future of web development
1:09:57
إخفاء الطعام سرًا تحت الطاولة للتناول لاحقًا 😏🍽️
00:28
حرف إبداعية للمنزل في 5 دقائق
Рет қаралды 35 МЛН