Bug #6357 SET UNIQUE_CHECKS=0; doesn't work
| Submitted: | 1 Nov 2004 6:41 | Modified: | 1 Nov 2004 7:08 |
|---|---|---|---|
| Reporter: | Yoshinori Matsunobu | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server | Severity: | S3 (Non-critical) |
| Version: | 4.0.21 , 4.1.7 | OS: | Windows (Windows XP, RedHat AS 3.0) |
| Assigned to: | CPU Architecture: | Any |
[1 Nov 2004 6:41]
Yoshinori Matsunobu
[1 Nov 2004 6:47]
Yoshinori Matsunobu
Sorry, I experienced this problem in 4.0.21 and 4.1.7 , not 4.0.7.
[1 Nov 2004 7:08]
Heikki Tuuri
Yoshinori,
thank you for the bug report. The documentation was incorrect.
Best regards,
Heikki
ChangeSet
1.2280 04/11/01 08:39:12 heikki@hundin.mysql.fi +1 -0
manual.texi:
UNIQUE_CHECKS=0 was incorrectly documented: it only removes uniqueness checks when
secondary index entries are inserted to InnoDB's insert buffer
Docs/manual.texi
1.2167 04/11/01 08:39:06 heikki@hundin.mysql.fi +5 -3
UNIQUE_CHECKS=0 was incorrectly documented: it only removes uniqueness checks when
secondary index entries are inserted to InnoDB's insert buffer
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: heikki
# Host: hundin.mysql.fi
# Root: /home/heikki/mysqldoc
--- 1.2166/Docs/manual.texi Sat Oct 30 14:51:20 2004
+++ 1.2167/Docs/manual.texi Mon Nov 1 08:39:06 2004
@@ -59325,9 +59325,11 @@
@item UNIQUE_CHECKS = @{0 | 1@}
If set to @code{1} (the default), uniqueness checks for secondary indexes in
-@code{InnoDB} tables are performed. If set to @code{0}, no uniqueness
-checks are done. This variable was added in MySQL 3.23.52.
-@xref{InnoDB foreign key constraints, , @code{InnoDB} foreign key constraints}.
+@code{InnoDB} tables are performed. If set to @code{0}, uniqueness
+checks are not done for index entries inserted into InnoDB's insert
+buffer. If you know for certain that your data does not contain
+uniqueness violations, you can set this to 0 to speed up large table
+imports to InnoDB. This variable was added in MySQL 3.23.52.
@end table
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.