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
b6e2989c
Commit
b6e2989c
authored
Sep 13, 2006
by
pekka@orca.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - bug#21191: ndb index stats OFF by default
parent
a2928a35
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
16 deletions
+3
-16
mysql-test/r/ndb_index_ordered.result
mysql-test/r/ndb_index_ordered.result
+2
-2
sql/mysqld.cc
sql/mysqld.cc
+1
-14
No files found.
mysql-test/r/ndb_index_ordered.result
View file @
b6e2989c
...
...
@@ -663,7 +663,7 @@ set autocommit=1;
show session variables like 'ndb_index_stat_%';
Variable_name Value
ndb_index_stat_cache_entries 32
ndb_index_stat_enable O
N
ndb_index_stat_enable O
FF
ndb_index_stat_update_freq 20
set ndb_index_stat_enable = off;
show session variables like 'ndb_index_stat_%';
...
...
@@ -794,5 +794,5 @@ set ndb_index_stat_update_freq = @@global.ndb_index_stat_update_freq;
show session variables like 'ndb_index_stat_%';
Variable_name Value
ndb_index_stat_cache_entries 32
ndb_index_stat_enable O
N
ndb_index_stat_enable O
FF
ndb_index_stat_update_freq 20
sql/mysqld.cc
View file @
b6e2989c
...
...
@@ -4693,7 +4693,6 @@ enum options_mysqld
OPT_NDB_MGMD
,
OPT_NDB_NODEID
,
OPT_NDB_DISTRIBUTION
,
OPT_NDB_INDEX_STAT_ENABLE
,
OPT_NDB_INDEX_STAT_CACHE_ENTRIES
,
OPT_NDB_INDEX_STAT_UPDATE_FREQ
,
OPT_NDB_EXTRA_LOGGING
,
OPT_NDB_REPORT_THRESH_BINLOG_EPOCH_SLIP
,
OPT_NDB_REPORT_THRESH_BINLOG_MEM_USAGE
,
...
...
@@ -5397,19 +5396,7 @@ Disable with --skip-ndbcluster (will save memory).",
"Use ndb index statistics in query optimization."
,
(
gptr
*
)
&
global_system_variables
.
ndb_index_stat_enable
,
(
gptr
*
)
&
max_system_variables
.
ndb_index_stat_enable
,
0
,
GET_BOOL
,
OPT_ARG
,
1
,
0
,
1
,
0
,
0
,
0
},
{
"ndb-index-stat-cache-entries"
,
OPT_NDB_INDEX_STAT_CACHE_ENTRIES
,
"Number of start/end keys to store in statistics memory cache."
" Zero means no cache and forces query of db nodes always."
,
(
gptr
*
)
&
global_system_variables
.
ndb_index_stat_cache_entries
,
(
gptr
*
)
&
max_system_variables
.
ndb_index_stat_cache_entries
,
0
,
GET_ULONG
,
OPT_ARG
,
32
,
0
,
~
0L
,
0
,
0
,
0
},
{
"ndb-index-stat-update-freq"
,
OPT_NDB_INDEX_STAT_UPDATE_FREQ
,
"How often, in the long run, to query db nodes instead of statistics cache."
" For example 20 means every 20th time."
,
(
gptr
*
)
&
global_system_variables
.
ndb_index_stat_update_freq
,
(
gptr
*
)
&
max_system_variables
.
ndb_index_stat_update_freq
,
0
,
GET_ULONG
,
OPT_ARG
,
20
,
0
,
~
0L
,
0
,
0
,
0
},
0
,
GET_BOOL
,
OPT_ARG
,
0
,
0
,
1
,
0
,
0
,
0
},
#endif
{
"ndb-use-copying-alter-table"
,
OPT_NDB_USE_COPYING_ALTER_TABLE
,
...
...
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