Re: Log file to sql database
| От | KuroiNeko |
|---|---|
| Тема | Re: Log file to sql database |
| Дата | |
| Msg-id | 3AC94D5B.nailR01COLSX@ed.ed обсуждение исходный текст |
| Ответ на | RE: Log file to sql database ("Joseph" <lters@mrtc.com>) |
| Список | pgsql-general |
> Also, if your pipe reader slows down too much, syslogd will start > blocking on the pipe Indeed. > So I think it'd be much safer to > have a flat text logfile and have your program read from that Or send the data to DB backend only when the logs are rotated. As long as the logs are kept short, grep'ing should be enough. > As for the interpreter issue, well, I'd rather spend the memory and > use a language that is designed for string-slinging. Depends on revenue/RAM price ratio :) > Using Perl or > Python to parse things is *so* much easier than C (even with a good > regex library available). Well, regex is simple, just 4 functions. It doesn't do replacements but that's not what one needs in this case. But this is off-topic, anyway. -- ������������������
В списке pgsql-general по дате отправления: