[GENERAL] Re: [GENERAL] Love Your Database project — Thoughts on effectively handling constraints?

Поиск
Список
Период
Сортировка
От Guyren Howe
Тема [GENERAL] Re: [GENERAL] Love Your Database project — Thoughts on effectively handling constraints?
Дата
Msg-id A240F0EC-D803-4D9E-9822-46380180F343@gmail.com
обсуждение исходный текст
Ответ на Re: [GENERAL] Love Your Database project — Thoughts on effectively handling constraints?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Dec 16, 2016, at 16:52 , Tom Lane <tgl@sss.pgh.pa.us> wrote:

So I’ve started a project to fix this. I’m initially going to write a series of blog posts demonstrating in principle how a developer can put much/all of their model logic in their database.

Cool.  This sounds well worth while.

Thanks, Tom.

I had a sort of slowly developing epiphany a few years back as I dug deeper into Postgres: it’s not just a database server. The whole rationale for the design of Postgres, which it takes considerably further than any of the other relational databases, is that it should be a “Model Server”. The pluggable languages, data types, FDW and all the rest is there to provide the most efficient possible way to implement your domain model, business logic, etc.

I think folks understood this back in the day, but as architectures shifted, new paradigms arose, and a new generation came along hungry to do their own thing, this perspective has been just completely lost in enormous parts of the software development community. The old wisdom, the whole intent of the RDBMS I think can now be, weirdly, the radical new thing.

I’m just getting started on this. If anyone has any thoughts on what the role of the RDBMS should be in modern software architectures and how that should be communicated, please get in touch so I can make this as good as it can be.

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] Love Your Database project — Thoughts on effectively handling constraints?
Следующее
От: Arup Rakshit
Дата:
Сообщение: [GENERAL] Delete from table conditionally