Re: [pgsql-advocacy] Me And My Database

Поиск
Список
Период
Сортировка
От Leif B. Kristensen
Тема Re: [pgsql-advocacy] Me And My Database
Дата
Msg-id 200606071531.07943.leif@solumslekt.org
обсуждение исходный текст
Ответ на Re: [pgsql-advocacy] Me And My Database  (Robert Treat <xzilla@users.sourceforge.net>)
Список pgsql-general
On Wednesday 7. June 2006 06:26, Robert Treat wrote:

>On Tuesday 06 June 2006 18:44, Leif B. Kristensen wrote:

>> The reason why the generation of eg. the family sheet is faster in
>> the MySQL web context than in my production environment, is that I'm
>> really comparing apples and potatoes here. The Web database has a
>> much flatter and denormalized structure, due to the fact that
>> there's no editing. The entire Web database is repopulated from
>> scratch every time I do an update.
>
>If you going through this kind of step now, why not just generate the
> whole site from the pg database as html pages and then push those out
> to the client?  That way you eliminate any dbms overhead and reduce
> load on your webservers (and eliminate the need for a 2nd db schema)

Ouch. The method I'm using today, is quick, easy, and works like a
charm. It's one local script that runs in a few seconds, generating SQL
command files which are tarred and gzipped to a 1.5MB file, and scp'ed
to the server, and then a serverside load script which takes a couple
of minutes. Generating 40000+ static HTML pages, each of up to 10K,
would fill up my disk quota faster than I can spell postgresql.

And how would you write a name search for static pages?

It ain't broken, and I ain't gonna fix it.
--
Leif Biberg Kristensen | Registered Linux User #338009
http://solumslekt.org/ | Cruising with Gentoo/KDE

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

Предыдущее
От: "Tim Hart"
Дата:
Сообщение: What are the characteristics of a good user-defined data type?
Следующее
От: Markus Schiltknecht
Дата:
Сообщение: Re: Problem with 'postgres' db with 8.0 on a MacBook