mysql 索引優化、聯合索引(有效索引) 如下圖為多索引,有聯合索引 timestamp 和 txid 做為單個關鍵字段查詢有效。 timestamp 和 txid 聯合查詢時,則聯合索引 txid, timestamp, ...