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
2f7f0982
Commit
2f7f0982
authored
Sep 13, 2002
by
monty@mashka.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing nodes to InnoDB section
parent
945b6e8f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
13 deletions
+18
-13
Docs/manual.texi
Docs/manual.texi
+18
-13
No files found.
Docs/manual.texi
View file @
2f7f0982
...
@@ -39498,6 +39498,9 @@ transaction.
...
@@ -39498,6 +39498,9 @@ transaction.
* InnoDB Locks set:: Locks Set by Different SQL Statements in InnoDB
* InnoDB Locks set:: Locks Set by Different SQL Statements in InnoDB
* InnoDB Deadlock detection:: Deadlock Detection and Rollback
* InnoDB Deadlock detection:: Deadlock Detection and Rollback
* InnoDB Consistent read example:: An Example of How the Consistent Read Works in InnoDB
* InnoDB Consistent read example:: An Example of How the Consistent Read Works in InnoDB
* Innodb deadlocks::
* Innodb tuning::
* Innodb Monitor::
@end menu
@end menu
...
@@ -39718,7 +39721,7 @@ set by the SQL statement may be preserved. This is because InnoDB
...
@@ -39718,7 +39721,7 @@ set by the SQL statement may be preserved. This is because InnoDB
stores row locks in a format where it cannot afterwards know which was
stores row locks in a format where it cannot afterwards know which was
set by which SQL statement.
set by which SQL statement.
@node InnoDB Consistent read example,
, InnoDB Deadlock detection, InnoDB transaction model
@node InnoDB Consistent read example,
Innodb deadlocks
, InnoDB Deadlock detection, InnoDB transaction model
@subsubsection An Example of How the Consistent Read Works in InnoDB
@subsubsection An Example of How the Consistent Read Works in InnoDB
When you issue a consistent read, that is, an ordinary @code{SELECT}
When you issue a consistent read, that is, an ordinary @code{SELECT}
...
@@ -39767,6 +39770,7 @@ use a locking read:
...
@@ -39767,6 +39770,7 @@ use a locking read:
SELECT * FROM t LOCK IN SHARE MODE;
SELECT * FROM t LOCK IN SHARE MODE;
@end example
@end example
@node Innodb deadlocks, Innodb tuning, InnoDB Consistent read example, InnoDB transaction model
@subsubsection How to cope with deadlocks?
@subsubsection How to cope with deadlocks?
Deadlocks are a classic problem in transactional databases,
Deadlocks are a classic problem in transactional databases,
...
@@ -39811,7 +39815,8 @@ and @code{UNLOCK TABLES} implicitly ends the transaction in a
...
@@ -39811,7 +39815,8 @@ and @code{UNLOCK TABLES} implicitly ends the transaction in a
@code{COMMIT}.
@code{COMMIT}.
@end itemize
@end itemize
@subsection Performance Tuning Tips
@node Innodb tuning, Innodb Monitor, Innodb deadlocks, InnoDB transaction model
@subsubsection Performance Tuning Tips
@strong{1.}
@strong{1.}
If the Unix @file{top} or the Windows @file{Task Manager} shows that
If the Unix @file{top} or the Windows @file{Task Manager} shows that
...
@@ -39898,11 +39903,12 @@ INSERT INTO yourtable VALUES (1, 2), (5, 5);
...
@@ -39898,11 +39903,12 @@ INSERT INTO yourtable VALUES (1, 2), (5, 5);
This tip is of course valid for inserts into any table type, not just InnoDB.
This tip is of course valid for inserts into any table type, not just InnoDB.
@node Innodb Monitor, , Innodb tuning, InnoDB transaction model
@subsubsection The InnoDB Monitor
@subsubsection The InnoDB Monitor
Starting from version 3.23.41 InnoDB includes the InnoDB
Starting from version 3.23.41 InnoDB includes the InnoDB
Monitor which prints information on the InnoDB internal state.
Monitor which prints information on the InnoDB internal state.
When swithed on, InnoDB Monitor
When swit
c
hed on, InnoDB Monitor
will make the MySQL server @file{mysqld} to print data
will make the MySQL server @file{mysqld} to print data
(note: the MySQL client will not print anything)
(note: the MySQL client will not print anything)
to the standard
to the standard
...
@@ -40149,13 +40155,12 @@ index. Note that if the primary key is long, the secondary indexes
...
@@ -40149,13 +40155,12 @@ index. Note that if the primary key is long, the secondary indexes
will use more space.
will use more space.
@menu
@menu
* InnoDB physical structure::
Physical Structure of an Index
* InnoDB physical structure::
* InnoDB Insert buffering::
Insert Buffering
* InnoDB Insert buffering::
* InnoDB Adaptive hash::
Adaptive Hash Indexes
* InnoDB Adaptive hash::
* InnoDB Physical record::
Physical Record Structure
* InnoDB Physical record::
@end menu
@end menu
@node InnoDB physical structure, InnoDB Insert buffering, Table and index, Table and index
@node InnoDB physical structure, InnoDB Insert buffering, Table and index, Table and index
@subsubsection Physical Structure of an Index
@subsubsection Physical Structure of an Index
...
@@ -46131,7 +46136,7 @@ is not the case, you should run the script
...
@@ -46131,7 +46136,7 @@ is not the case, you should run the script
@menu
@menu
* UDF calling:: UDF Calling Sequences
* UDF calling:: UDF Calling Sequences
* UDF aggr. calling
:: UDF Calling Sequences for aggregate functions
* UDF aggr. calling
::
* UDF arguments:: Argument Processing
* UDF arguments:: Argument Processing
* UDF return values:: Return Values and Error Handling
* UDF return values:: Return Values and Error Handling
* UDF compiling:: Compiling and Installing User-definable Functions
* UDF compiling:: Compiling and Installing User-definable Functions
...
@@ -46248,7 +46253,7 @@ change! If you need memory, you should allocate it in @code{xxx_init()}
...
@@ -46248,7 +46253,7 @@ change! If you need memory, you should allocate it in @code{xxx_init()}
and free it in @code{xxx_deinit()}.
and free it in @code{xxx_deinit()}.
@node UDF calling, UDF aggr. calling
, Adding UDF, Adding UDF
@node UDF calling, UDF aggr. calling, Adding UDF, Adding UDF
@subsubsection UDF Calling Sequences for simple functions
@subsubsection UDF Calling Sequences for simple functions
@cindex calling sequences for simple functions, UDF
@cindex calling sequences for simple functions, UDF
...
@@ -46391,7 +46396,7 @@ into @code{*error}! This is just a 1 byte flag!
...
@@ -46391,7 +46396,7 @@ into @code{*error}! This is just a 1 byte flag!
If @code{isnull} or @code{error} are set after @code{xxx()} then MySQL
If @code{isnull} or @code{error} are set after @code{xxx()} then MySQL
will return @code{NULL} as the result for the group function.
will return @code{NULL} as the result for the group function.
@node UDF arguments, UDF return values, UDF aggr. calling
, Adding UDF
@node UDF arguments, UDF return values, UDF aggr. calling, Adding UDF
@subsubsection Argument Processing
@subsubsection Argument Processing
@cindex argument processing
@cindex argument processing
...
@@ -47661,7 +47666,7 @@ limits! In this case you should start @code{safe_mysqld} with @code{sh}!
...
@@ -47661,7 +47666,7 @@ limits! In this case you should start @code{safe_mysqld} with @code{sh}!
@menu
@menu
* Link errors:: Problems When Linking with the MySQL Client Library
* Link errors:: Problems When Linking with the MySQL Client Library
* Changing MySQL user:: How to Run MySQL As a Normal User
* Changing MySQL user:: How to Run MySQL As a Normal User
* File permissions
:: Problems with File Permissions
* File permissions
::
@end menu
@end menu
@node Link errors, Changing MySQL user, Installation Issues, Installation Issues
@node Link errors, Changing MySQL user, Installation Issues, Installation Issues
...
@@ -47734,7 +47739,7 @@ before linking your code. In the second case you should be
...
@@ -47734,7 +47739,7 @@ before linking your code. In the second case you should be
sure that no other programs are using the dynamic libraries!
sure that no other programs are using the dynamic libraries!
@node Changing MySQL user, File permissions
, Link errors, Installation Issues
@node Changing MySQL user, File permissions, Link errors, Installation Issues
@appendixsubsec How to Run MySQL As a Normal User
@appendixsubsec How to Run MySQL As a Normal User
@cindex starting, @code{mysqld}
@cindex starting, @code{mysqld}
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