skip to Main Content

mysql dump produces strange binary blobs that cause problems on import

i am running backups of my mysql database with this command: mysqldump -u admin -p`cat /etc/psa/.psa.shadow` --hex-blob --skip-opt --single-transaction --add-drop-table --create-options --quick --extended-insert --max_allowed_packet=32M --default-character-set=utf8 --disable-keys databasename -r database.sql In an inconsistent way this dump produces in some cases things…

VIEW QUESTION

Why mysql fulltext-search so slowly?

The table xx_user_detail, user_id is int primary index, site1-site9 is combined fulltext index, the total row count is 5 million SELECT * FROM xx_user_detail WHERE (user_id=14) AND MATCH (site1,site2,site3,site4,site5,site6,site7,site8,site9) AGAINST ('苏娟的食品店'); this SQL1 use 0.3s SELECT * FROM xx_user_detail WHERE…

VIEW QUESTION

MySQL pagination query is very slow

I have this table using InnoDB as engine: create table if not exists Playlists( UserId bigint unsigned not null, Title varchar(50) not null, IsPublic bool not null, primary key (UserId, Title), foreign key (UserId) references Users(Id) on delete cascade on…

VIEW QUESTION
Back To Top
Search