Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
32344d86
Commit
32344d86
authored
May 11, 2001
by
heikki@donna.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
manual.texi Added a note on table defragmenting and a sentence on InnoDB speed
parent
4e04aa4a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
Docs/manual.texi
Docs/manual.texi
+19
-0
No files found.
Docs/manual.texi
View file @
32344d86
...
@@ -24513,6 +24513,10 @@ non-locking read in @code{SELECTS}, which increases transaction
...
@@ -24513,6 +24513,10 @@ non-locking read in @code{SELECTS}, which increases transaction
concurrency. There is not need for lock escalation in InnoDB,
concurrency. There is not need for lock escalation in InnoDB,
because row level locks in InnoDB fit in very small space.
because row level locks in InnoDB fit in very small space.
InnoDB has been designed for maximum performance when processing
large data volumes. Its CPU efficiency is probably not
matched by any other disk-based relational database engine.
Technically, InnoDB is a database backend placed under @strong{MySQL}. InnoDB
Technically, InnoDB is a database backend placed under @strong{MySQL}. InnoDB
has its own buffer pool for caching data and indexes in main
has its own buffer pool for caching data and indexes in main
memory. InnoDB stores its tables and indexes in a tablespace, which
memory. InnoDB stores its tables and indexes in a tablespace, which
...
@@ -25399,6 +25403,21 @@ but remember that deleted rows can be physically removed only in a
...
@@ -25399,6 +25403,21 @@ but remember that deleted rows can be physically removed only in a
purge operation after they are no longer needed in transaction rollback or
purge operation after they are no longer needed in transaction rollback or
consistent read.
consistent read.
@subsubsection Defragmenting a table
If there are random insertions or deletions
in the indexes of a table, the indexes
may become fragmented. By this we mean that the physical ordering
of the index pages on the disk is not close to the alphabetical ordering
of the records on the pages. It can speed up index scans if you
periodically use @code{mysqldump} to dump the table to
a text file, drop the table, and reload it from the dump.
Note that if the insertions to and index are always ascending and
records are deleted only from the end, then the the file space management
algorithm of InnoDB guarantees that fragmentation in the index will
not occur.
@node Error handling, InnoDB restrictions, File space management, InnoDB
@node Error handling, InnoDB restrictions, File space management, InnoDB
@subsection Error handling
@subsection Error handling
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment