ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Evgeny Yugov <yugov@scs-900.ru>
To: Alexey Morsov <community@altlinux.ru>
Subject: Re[2]: [Comm] [OFF] PHP and mysql
Date: Fri, 7 May 2004 09:54:40 +0700
Message-ID: <207194379.20040507095440@scs-900.ru> (raw)
In-Reply-To: <409A30A4.8070802@ricom.ru>

Здравствуйте Alexey,

Thursday, May 6, 2004, 7:33:40 PM, you wrote:


AM> Alexey I. Froloff wrote:

>> * Alexey Morsov <samurai@> [040506 16:25]:
>> 
>>>>Под нагрузкой запросы обычно любят ставать в дли-и-инную очередь
>>>>со статусом 'Locked'
>>>
>>>Простите, я еще очень зелен в sql..
>>>| Id    | User | Host      | db      | Command | Time | State | 
>>>| 21590 | root | localhost | traffic | Sleep   | 355  |       | 
>> 
>> Когда State Locked, Time больше N (N - 60-600) и таких процессов
>> много - что-то тут не так с таблицами либо с запросами.
AM> :-( Да с запросами по идее все так (простые они - очень)
AM> да и после того как я поправил в паре таблицы ключи и индексы по 
AM> умнее (после explain) все выскакивать стло практически пулей...

AM> я правда в php использую mysql_pconnect
ВЫПЛЮНТЕ ЭТО ИЗ ГОЛОВЫ!
Персистент актуален для "громоздких" RDBMS, например как Oracle, где
время на коннект может порой превышать обработку самого запроса.

-- 
With Best regards,
Evgeny Yugov,
MTS, programmer of Advanced Technologies Departament.
Registered Linux User #316667
mailto:yugov@scs-900.ru

Origin: Утром пить хочется от водки, а голова болит от скалки.



  parent reply	other threads:[~2004-05-07  2:54 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-06  8:57 Alexey Morsov
2004-05-06  9:00 ` Evgeny Yugov
2004-05-06  9:10   ` Alexey Morsov
2004-05-06  9:14     ` Alexey I. Froloff
2004-05-06  9:20       ` Alexey Morsov
2004-05-06  9:19     ` Leonid B. Sysoletin
2004-05-06  9:21       ` Alexey Morsov
2004-05-06  9:23         ` Alexey I. Froloff
2004-05-06  9:38         ` Leonid B. Sysoletin
2004-05-06  9:45     ` Mike Lykov
2004-05-06  9:44 ` Mike Lykov
2004-05-06 10:52   ` Alexey Morsov
2004-05-06 11:08     ` Mike Lykov
2004-05-06 11:33       ` Alexey Morsov
2004-05-06 11:44         ` Alexey I. Froloff
2004-05-06 12:24           ` Alexey Morsov
2004-05-06 12:28             ` Alexey I. Froloff
2004-05-06 12:33               ` Alexey Morsov
2004-05-06 12:54                 ` Leonid B. Sysoletin
2004-05-06 13:03                   ` Alexey Morsov
2004-05-07  2:54                 ` Evgeny Yugov [this message]
2004-05-07  2:51     ` Re[2]: " Evgeny Yugov
2004-05-07  6:00       ` Alexey Morsov
2004-05-07  6:27         ` Re[2]: " Evgeny Yugov
2004-05-07  7:49           ` Alexey Morsov
2004-05-07  7:55           ` Alexey Morsov
2004-05-07  8:23             ` Re[2]: " Evgeny Yugov
2004-05-07  9:34               ` Alexey Morsov
2004-05-07  6:20 ` Sashnov Alexander

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=207194379.20040507095440@scs-900.ru \
    --to=yugov@scs-900.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