mariadb/client
Vladislav Vaintroub 3bd23b76c5 MDEV-34740 mariadb-import: optimize index and constraint creation
For InnoDB tables, parse the CREATE TABLE statement to defer index and
constraint creation until after data loading. For other storage engines,
the DISABLE/ENABLE KEYS commands achieve similar optimization.

This behavior is controlled by a new option, innodb-optimize-keys
(default: ON), compatible with mydumper.

Additionally, this commit separates the table creation phase from data
loading. Running DDL statements (such as DROP IF EXISTS) in a single
thread avoids the "table not locked" issue from MDEV-34741. As a bonus,
view creation no longer requires a separate step.
2025-01-24 13:15:05 +01:00
..
async_example.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
client_metadata.h MDEV-17832 Protocol: extensions for Pluggable types and JSON, GEOMETRY 2020-03-10 20:43:32 +04:00
client_priv.h MDEV-33627 : Implement option --dir in mariadb-import 2024-07-16 15:16:29 +02:00
CMakeLists.txt MDEV-34740 mariadb-import: optimize index and constraint creation 2025-01-24 13:15:05 +01:00
completion_hash.cc Merge 10.4 into 10.5 2020-11-03 16:24:47 +02:00
completion_hash.h Update FSF Address 2019-05-11 21:29:06 +03:00
connection_pool.cc MDEV-32216 Connection pool with asynchronous query execution. 2024-01-29 11:54:37 +01:00
connection_pool.h MDEV-32216 Connection pool with asynchronous query execution. 2024-01-29 11:54:37 +01:00
echo.c Fix typos in the codebase. 2022-08-09 18:41:09 +03:00
import_util.cc MDEV-34740 mariadb-import: optimize index and constraint creation 2025-01-24 13:15:05 +01:00
import_util.h MDEV-34740 mariadb-import: optimize index and constraint creation 2025-01-24 13:15:05 +01:00
mariadb-conv.cc unify client/tool version string 2023-01-19 12:39:28 +01:00
my_readline.h Update FSF Address 2019-05-11 21:29:06 +03:00
mysql.cc Merge 11.4 into 11.7 2025-01-09 09:41:38 +02:00
mysql_plugin.c Merge branch '10.11' into 11.2 2024-09-18 10:45:26 +10:00
mysql_upgrade.c Merge 10.11 into 11.1 2024-06-17 09:21:50 +03:00
mysqladmin.cc cleanup: CREATE_TYPELIB_FOR() helper 2024-11-05 14:00:47 -08:00
mysqlbinlog.cc MDEV-33239: mysqlbinlog always stops at timestamp 0xffffffff 2024-12-17 17:54:17 +01:00
mysqlcheck.c cleanup: CREATE_TYPELIB_FOR() helper 2024-11-05 14:00:47 -08:00
mysqldump.cc MDEV-32250 Enable --no-autocommit by default in mysqldump 2024-12-03 20:25:04 +05:30
mysqlimport.cc MDEV-34740 mariadb-import: optimize index and constraint creation 2025-01-24 13:15:05 +01:00
mysqlshow.c [MDEV-14978] Client programs to use $MARIADB_HOST consistently 2024-10-04 06:44:39 +01:00
mysqlslap.c [MDEV-14978] Client programs to use $MARIADB_HOST consistently 2024-10-04 06:44:39 +01:00
mysqltest.cc Merge 11.4 into 11.7 2025-01-09 09:41:38 +02:00
readline.cc MDEV-27142 disable text mode for Windows stdio by default 2022-07-18 13:18:03 +02:00