TungNT (Blue)

tungnt.blue@gmail.com

User Tools

Site Tools


development:database:mysql:count

This is an old revision of the document!


Select count

MYISAM:lưu thông tin bảng vào metadata ⇒ count lấy nhanh

InnoDB: cần phải đảm bảo dữ liệu transaction là nhất quán ⇒ count chậm, lệnh “SHOW TABLE STATUS LIKE 'TABLE_NAMe'” thông tin rows không chính xác.

development/database/mysql/count.1743565436.txt.gz · Last modified: 2025/04/02 03:43 by tungnt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki