From: Dmitry Lebkov <dima@sakhalin.ru> To: community@altlinux.ru Subject: Re: [Comm] Re: [JT] Форматирование логов: shell или perl Date: Wed, 29 Jan 2003 23:17:27 +1000 Message-ID: <20030129231727.6cc557ac.dima@sakhalin.ru> (raw) In-Reply-To: <20030129115859.2D0047A6A@sorry.mcnet.ru> On Wed, 29 Jan 2003 14:49:30 +0300 Flach <flach@mcnet.ru> wrote: > > > Повторится, конечно. Лучше бросайте логи в mуsql базу (с помощью > > перла, например) и генерируйте репорты средствами mysql (перл здесь > > понадобится лишь для форматирования). Это быстро, надежно и > > практично, к тому же можно будет накопить данные за годы! > > Спасибо, Ilya. > Тут встает другой вопрос. Машинка на которой работают mysql и Apache > не очень мощная - PIII-800, 256Mb, HDD20Gb и все это на маме Gyga с > чипсетом i815. Я совсем недавно начал работать с MySQL и Perl и > поэтому пока не очень ориентируюсь в их потребностях. Но есть какое-то Такой машинки за глаза хватит ... :) > сомнение, что эта машинка сможет быстро шевелиться проглатывая > ежедневно по 50 Мегов информации. Кроме того, для того чтобы лог > кинуть в базу в любом случае его надо как-то отформатировать и тогда > мы возвращаемся к первому вопросу. Зачем ворочать весь лог за день, если его можно лить построчно, с интерфвалом в 5 минут, например? -- WBR, Dmitry Lebkov
next prev parent reply other threads:[~2003-01-29 13:17 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-01-29 9:14 [Comm] " Flach 2003-01-29 9:29 ` Ilya Palagin 2003-01-29 11:49 ` [Comm] " Flach 2003-01-29 12:36 ` Denis S. Filimonov 2003-01-29 12:54 ` Sergey Degtyaryov 2003-01-29 13:17 ` Dmitry Lebkov [this message] 2003-01-29 13:33 ` Ilya Palagin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030129231727.6cc557ac.dima@sakhalin.ru \ --to=dima@sakhalin.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git