Get the App
SLTechnology News&Howtos  ›  Database  › 

[MySQL] piecemeal knowledge collection

Shulou Source: shulou.com Published: 2022-06-01 09:39:17 10月04日 Update

Learning bits and pieces of knowledge always feels like a bear breaking sticks and forgetting one by one. Write a post and collect it, and wait until the outline is strung together.

1.limit paging optimization, 100 pages can be directly used in the simplest way, too large, you can first find out the id, and then Join associated. Pay attention to the creation of associated indexes

two。 Whether the federated index can be used under multiple conditions, for example: idx_c1_c2_c3. Where C1 > x and c2 > y and c3 > z. Then three conditions if the comparison condition contains "=", the index key of the column can be used and can be matched to the subsequent index. But if >

Tags: Index condition address or association storage piecemeal knowledge three representatives function only multiple clause post outline direction way standard stick Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Huawei Microsoft macOS Xiaomi