🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.bazy-danych
Article #194959

wolne select count(*)

#194959
From: Borneq
Date: Fri, 20 May 2016 19:17
4 lines
1047 bytes
Zapuściłem select count(*) na mySQL, aby zobaczyć jak długo potrwa 
pobranie danych, ale samo select count(*) wciąż się wykonuje.
Dlaczego to tak długo trwa? rozumiem że np. distinct by trwało długo, 
ale podanie ilości rekordów?
Technical Details
Message-ID: <nhnns7$en$1@node2.news.atman.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail
From: Borneq <borneq@antyspam.hidden.pl>
Newsgroups: pl.comp.bazy-danych
Subject: wolne select count(*)
Date: Fri, 20 May 2016 21:17:26 +0200
Organization: ATMAN - ATM S.A.
Lines: 4
Message-ID: <nhnns7$en$1@node2.news.atman.pl>
NNTP-Posting-Host: 91.239.205.105
Mime-Version: 1.0
X-Trace: node2.news.atman.pl 1463771847 471 91.239.205.105 (20 May 2016 19:17:27 GMT)
X-Complaints-To: usenet@atman.pl
NNTP-Posting-Date: Fri, 20 May 2016 19:17:27 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0
X-Mozilla-News-Host: news://news.atman.pl:119
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit