Re: Thoughts on "Love Your Database"

From: "Mike Sofen" <msofen(at)runbox(dot)com>
To: "'pgsql-general'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Thoughts on "Love Your Database"
Date: 2016-05-05 00:12:00
Message-ID: 061601d1a662$bfe81980$3fb84c80$@runbox.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>From: Vincent Veyron Sent: Wednesday, May 04, 2016 3:35 PM

>I write management applications for businesses, and give _a lot_ of care to
the database structure.
>I find that the number of lines of code that need to be written is strictly
inversely correlated to the
>appropriateness of the database design (meaning that the better the
database structure, the lesser
>code is needed).

>Knowing about the many fine functions Postgresql offers also helps, of
course.
> Bien à vous, Vincent Veyron

An inverse corollary is also true, imo: encountering demands for exotic,
wild functions, cursors and code constructs (like triggers calling triggers
or frankly, triggers in general), is nearly always an indication of poor
database design. I'm not talking about windowing functions or json or CTEs,
btw.

Postgres and mysql have piles and piles of functions that I will never use
and can't even imagine scenarios in which to use them. So I agree 100% -
it's all about the database (design). BTW, I'm currently
designing/building OLTP databases for use in genomics research (using
Postgres)...that's big data...where there is zero tolerance for slack db
design that could cause scalability or performance issues. My stored
functions are...relatively simple.

Mike Sofen (San Diego, CA USA)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mike Sofen 2016-05-05 00:27:53 Re: Thoughts on "Love Your Database"
Previous Message dandl 2016-05-05 00:04:53 Re: Thoughts on "Love Your Database"