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
cd1ac3bd
Commit
cd1ac3bd
authored
Nov 01, 2009
by
Hakan Kuecuekyilmaz
Browse files
Options
Browse Files
Download
Plain Diff
Merge.
parents
1a0796e4
018b451e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
29 deletions
+29
-29
sql/mysqld.cc
sql/mysqld.cc
+1
-1
storage/xtradb/include/srv0srv.h
storage/xtradb/include/srv0srv.h
+14
-14
storage/xtradb/srv/srv0srv.c
storage/xtradb/srv/srv0srv.c
+14
-14
No files found.
sql/mysqld.cc
View file @
cd1ac3bd
...
...
@@ -8084,7 +8084,7 @@ mysqld_get_one_option(int optid,
switch
(
optid
)
{
#ifndef DBUG_OFF
case
OPT_DEBUG_FLUSH
:
argument
=
IF_WIN
(
default_dbug_option
,
(
char
*
)
"d:t:i:O,/tmp/mysqld.trace"
);
argument
=
IF_WIN
(
(
char
*
)
default_dbug_option
,
(
char
*
)
"d:t:i:O,/tmp/mysqld.trace"
);
/* fall through */
case
'#'
:
if
(
!
argument
)
...
...
storage/xtradb/include/srv0srv.h
View file @
cd1ac3bd
...
...
@@ -116,8 +116,8 @@ extern ulint srv_log_file_size;
extern
ulint
srv_log_buffer_size
;
extern
ulong
srv_flush_log_at_trx_commit
;
extern
ul
int
srv_show_locks_held
;
extern
ul
int
srv_show_verbose_locks
;
extern
ul
ong
srv_show_locks_held
;
extern
ul
ong
srv_show_verbose_locks
;
/* The sort order table of the MySQL latin1_swedish_ci character set
collation */
...
...
@@ -166,11 +166,11 @@ extern ulint srv_fast_shutdown; /* If this is 1, do not do a
extern
ibool
srv_innodb_status
;
extern
unsigned
long
long
srv_stats_sample_pages
;
extern
ul
int
srv_stats_method
;
extern
ul
ong
srv_stats_method
;
#define SRV_STATS_METHOD_NULLS_EQUAL 0
#define SRV_STATS_METHOD_NULLS_NOT_EQUAL 1
#define SRV_STATS_METHOD_IGNORE_NULLS 2
extern
ul
int
srv_stats_auto_update
;
extern
ul
ong
srv_stats_auto_update
;
extern
ibool
srv_use_doublewrite_buf
;
extern
ibool
srv_use_checksums
;
...
...
@@ -183,19 +183,19 @@ extern ulong srv_max_purge_lag;
extern
ulong
srv_replication_delay
;
extern
ul
int
srv_io_capacity
;
extern
ul
ong
srv_io_capacity
;
extern
long
long
srv_ibuf_max_size
;
extern
ul
int
srv_ibuf_active_contract
;
extern
ul
int
srv_ibuf_accel_rate
;
extern
ul
int
srv_flush_neighbor_pages
;
extern
ul
int
srv_enable_unsafe_group_commit
;
extern
ul
int
srv_read_ahead
;
extern
ul
int
srv_adaptive_checkpoint
;
extern
ul
ong
srv_ibuf_active_contract
;
extern
ul
ong
srv_ibuf_accel_rate
;
extern
ul
ong
srv_flush_neighbor_pages
;
extern
ul
ong
srv_enable_unsafe_group_commit
;
extern
ul
ong
srv_read_ahead
;
extern
ul
ong
srv_adaptive_checkpoint
;
extern
ul
int
srv_expand_import
;
extern
ul
ong
srv_expand_import
;
extern
ul
int
srv_extra_rsegments
;
extern
ul
int
srv_dict_size_limit
;
extern
ul
ong
srv_extra_rsegments
;
extern
ul
ong
srv_dict_size_limit
;
/*-------------------------------------------*/
extern
ulint
srv_n_rows_inserted
;
...
...
storage/xtradb/srv/srv0srv.c
View file @
cd1ac3bd
...
...
@@ -160,8 +160,8 @@ UNIV_INTERN ulint srv_log_file_size = ULINT_MAX;
UNIV_INTERN
ulint
srv_log_buffer_size
=
ULINT_MAX
;
UNIV_INTERN
ulong
srv_flush_log_at_trx_commit
=
1
;
UNIV_INTERN
ul
int
srv_show_locks_held
=
10
;
UNIV_INTERN
ul
int
srv_show_verbose_locks
=
0
;
UNIV_INTERN
ul
ong
srv_show_locks_held
=
10
;
UNIV_INTERN
ul
ong
srv_show_verbose_locks
=
0
;
/* The sort order table of the MySQL latin1_swedish_ci character set
...
...
@@ -338,8 +338,8 @@ UNIV_INTERN ibool srv_innodb_status = FALSE;
/* When estimating number of different key values in an index, sample
this many index pages */
UNIV_INTERN
unsigned
long
long
srv_stats_sample_pages
=
8
;
UNIV_INTERN
ul
int
srv_stats_method
=
0
;
UNIV_INTERN
ul
int
srv_stats_auto_update
=
1
;
UNIV_INTERN
ul
ong
srv_stats_method
=
0
;
UNIV_INTERN
ul
ong
srv_stats_auto_update
=
1
;
UNIV_INTERN
ibool
srv_use_doublewrite_buf
=
TRUE
;
UNIV_INTERN
ibool
srv_use_checksums
=
TRUE
;
...
...
@@ -349,7 +349,7 @@ UNIV_INTERN int srv_query_thread_priority = 0;
UNIV_INTERN
ulong
srv_replication_delay
=
0
;
UNIV_INTERN
ul
int
srv_io_capacity
=
100
;
UNIV_INTERN
ul
ong
srv_io_capacity
=
100
;
/* Returns the number of IO operations that is X percent of the capacity.
PCT_IO(5) -> returns the number of IO operations that is 5% of the max
...
...
@@ -357,20 +357,20 @@ where max is srv_io_capacity. */
#define PCT_IO(pct) ((ulint) (srv_io_capacity * ((double) pct / 100.0)))
UNIV_INTERN
long
long
srv_ibuf_max_size
=
0
;
UNIV_INTERN
ul
int
srv_ibuf_active_contract
=
0
;
/* 0:disable 1:enable */
UNIV_INTERN
ul
int
srv_ibuf_accel_rate
=
100
;
UNIV_INTERN
ul
ong
srv_ibuf_active_contract
=
0
;
/* 0:disable 1:enable */
UNIV_INTERN
ul
ong
srv_ibuf_accel_rate
=
100
;
#define PCT_IBUF_IO(pct) ((ulint) (srv_io_capacity * srv_ibuf_accel_rate * ((double) pct / 10000.0)))
UNIV_INTERN
ul
int
srv_flush_neighbor_pages
=
1
;
/* 0:disable 1:enable */
UNIV_INTERN
ul
ong
srv_flush_neighbor_pages
=
1
;
/* 0:disable 1:enable */
UNIV_INTERN
ul
int
srv_enable_unsafe_group_commit
=
0
;
/* 0:disable 1:enable */
UNIV_INTERN
ul
int
srv_read_ahead
=
3
;
/* 1: random 2: linear 3: Both */
UNIV_INTERN
ul
int
srv_adaptive_checkpoint
=
0
;
/* 0: none 1: reflex 2: estimate */
UNIV_INTERN
ul
ong
srv_enable_unsafe_group_commit
=
0
;
/* 0:disable 1:enable */
UNIV_INTERN
ul
ong
srv_read_ahead
=
3
;
/* 1: random 2: linear 3: Both */
UNIV_INTERN
ul
ong
srv_adaptive_checkpoint
=
0
;
/* 0: none 1: reflex 2: estimate */
UNIV_INTERN
ul
int
srv_expand_import
=
0
;
/* 0:disable 1:enable */
UNIV_INTERN
ul
ong
srv_expand_import
=
0
;
/* 0:disable 1:enable */
UNIV_INTERN
ul
int
srv_extra_rsegments
=
0
;
/* extra rseg for users */
UNIV_INTERN
ul
int
srv_dict_size_limit
=
0
;
UNIV_INTERN
ul
ong
srv_extra_rsegments
=
0
;
/* extra rseg for users */
UNIV_INTERN
ul
ong
srv_dict_size_limit
=
0
;
/*-------------------------------------------*/
UNIV_INTERN
ulong
srv_n_spin_wait_rounds
=
20
;
UNIV_INTERN
ulong
srv_n_free_tickets_to_enter
=
500
;
...
...
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