For the complete documentation index, see llms.txt. This page is also available as Markdown.

LOAD Data into Tables or Index

Bulk load data efficiently. This section covers commands like LOAD DATA INFILE and LOAD XML for high-speed data import from text or XML files.

Import rows into a table at high speed from a text file, with control over field and line formatting, column mapping, and duplicate handling.

Preload table indexes into the key cache. This command, used for MyISAM tables, loads index blocks into memory to warm up the cache and improve subsequent query performance.

Read data from an XML file into a table. This command parses XML content, mapping elements and attributes to table columns for direct data import.

Last updated

Was this helpful?