Re: Postgresql "FIFO" Tables, How-To ?

Поиск
Список
Период
Сортировка
От Dmitry Tkach
Тема Re: Postgresql "FIFO" Tables, How-To ?
Дата
Msg-id 3F15C5A3.1010404@openratings.com
обсуждение исходный текст
Ответ на Re: Postgresql "FIFO" Tables, How-To ?  (Sean Chittenden <sean@chittenden.org>)
Ответы Re: Postgresql "FIFO" Tables, How-To ?  ("Kirill Ponazdyr" <softlist@codeangels.com>)
Список pgsql-general
>
>
>At Cisco, we had syslog messages coming in from tens of thousands of
>machines that generated millions of syslog entries a day.  The
>messages were dumped into text files and once a minute the data was
>loaded and stored in the database.  Why a database?  *shrug* The only
>useful thing that we did was run Perl regexps stored in the DB over
>the data and send out custom alerts.  I suppose the baby puke colors
>for the web interface were aesthetically pleasing to some, but I never
>saw the attaction.
>
Yeah.... but the question is - why could you not run those same regexps
on a text file :-)

>
>You can design to use or not use any one particular data storage
>format.  What's nice about using a DB for this kind of stuff, however,
>is it's easily searchable via SQL, which, can be quite valuable.
>
Searchable for what? A regexp? I'll bet you my lunch, a simple grep on a
text file will be quicker :-)
And you don't need to vacuum it, and/or concern yourslef with writing
triggers ...


Dima



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ODBC query problem
Следующее
От: Tom Lane
Дата:
Сообщение: Re: dump_all/restore times?