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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
64bf449b
Commit
64bf449b
authored
May 03, 2005
by
marko@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InnoDB: Disable throttling against thread thrashing by default.
parent
3009f4bf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
sql/ha_innodb.cc
sql/ha_innodb.cc
+3
-4
sql/ha_innodb.h
sql/ha_innodb.h
+1
-1
sql/mysqld.cc
sql/mysqld.cc
+1
-1
No files found.
sql/ha_innodb.cc
View file @
64bf449b
...
@@ -98,8 +98,7 @@ long innobase_mirrored_log_groups, innobase_log_files_in_group,
...
@@ -98,8 +98,7 @@ long innobase_mirrored_log_groups, innobase_log_files_in_group,
innobase_buffer_pool_awe_mem_mb
,
innobase_buffer_pool_awe_mem_mb
,
innobase_buffer_pool_size
,
innobase_additional_mem_pool_size
,
innobase_buffer_pool_size
,
innobase_additional_mem_pool_size
,
innobase_file_io_threads
,
innobase_lock_wait_timeout
,
innobase_file_io_threads
,
innobase_lock_wait_timeout
,
innobase_thread_concurrency
,
innobase_force_recovery
,
innobase_force_recovery
,
innobase_open_files
;
innobase_open_files
;
/* The default values for the following char* start-up parameters
/* The default values for the following char* start-up parameters
are determined in innobase_init below: */
are determined in innobase_init below: */
...
@@ -279,7 +278,7 @@ innodb_srv_conc_enter_innodb(
...
@@ -279,7 +278,7 @@ innodb_srv_conc_enter_innodb(
/*=========================*/
/*=========================*/
trx_t
*
trx
)
/* in: transaction handle */
trx_t
*
trx
)
/* in: transaction handle */
{
{
if
(
srv_thread_concurrency
>=
500
)
{
if
(
UNIV_LIKELY
(
srv_thread_concurrency
>=
20
)
)
{
return
;
return
;
}
}
...
@@ -296,7 +295,7 @@ innodb_srv_conc_exit_innodb(
...
@@ -296,7 +295,7 @@ innodb_srv_conc_exit_innodb(
/*========================*/
/*========================*/
trx_t
*
trx
)
/* in: transaction handle */
trx_t
*
trx
)
/* in: transaction handle */
{
{
if
(
srv_thread_concurrency
>=
500
)
{
if
(
UNIV_LIKELY
(
srv_thread_concurrency
>=
20
)
)
{
return
;
return
;
}
}
...
...
sql/ha_innodb.h
View file @
64bf449b
...
@@ -219,7 +219,7 @@ extern long innobase_log_file_size, innobase_log_buffer_size;
...
@@ -219,7 +219,7 @@ extern long innobase_log_file_size, innobase_log_buffer_size;
extern
long
innobase_buffer_pool_size
,
innobase_additional_mem_pool_size
;
extern
long
innobase_buffer_pool_size
,
innobase_additional_mem_pool_size
;
extern
long
innobase_buffer_pool_awe_mem_mb
;
extern
long
innobase_buffer_pool_awe_mem_mb
;
extern
long
innobase_file_io_threads
,
innobase_lock_wait_timeout
;
extern
long
innobase_file_io_threads
,
innobase_lock_wait_timeout
;
extern
long
innobase_force_recovery
,
innobase_thread_concurrency
;
extern
long
innobase_force_recovery
;
extern
long
innobase_open_files
;
extern
long
innobase_open_files
;
extern
char
*
innobase_data_home_dir
,
*
innobase_data_file_path
;
extern
char
*
innobase_data_home_dir
,
*
innobase_data_file_path
;
extern
char
*
innobase_log_group_home_dir
,
*
innobase_log_arch_dir
;
extern
char
*
innobase_log_group_home_dir
,
*
innobase_log_arch_dir
;
...
...
sql/mysqld.cc
View file @
64bf449b
...
@@ -5170,7 +5170,7 @@ log and this option does nothing anymore.",
...
@@ -5170,7 +5170,7 @@ log and this option does nothing anymore.",
{
"innodb_thread_concurrency"
,
OPT_INNODB_THREAD_CONCURRENCY
,
{
"innodb_thread_concurrency"
,
OPT_INNODB_THREAD_CONCURRENCY
,
"Helps in performance tuning in heavily concurrent environments."
,
"Helps in performance tuning in heavily concurrent environments."
,
(
gptr
*
)
&
srv_thread_concurrency
,
(
gptr
*
)
&
srv_thread_concurrency
,
(
gptr
*
)
&
srv_thread_concurrency
,
(
gptr
*
)
&
srv_thread_concurrency
,
0
,
GET_LONG
,
REQUIRED_ARG
,
8
,
1
,
1000
,
0
,
1
,
0
},
0
,
GET_LONG
,
REQUIRED_ARG
,
20
,
1
,
1000
,
0
,
1
,
0
},
{
"innodb_thread_sleep_delay"
,
OPT_INNODB_THREAD_SLEEP_DELAY
,
{
"innodb_thread_sleep_delay"
,
OPT_INNODB_THREAD_SLEEP_DELAY
,
"Time of innodb thread sleeping before joining InnoDB queue (usec). Value 0"
"Time of innodb thread sleeping before joining InnoDB queue (usec). Value 0"
" disable a sleep"
,
" disable a sleep"
,
...
...
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