~ubuntu-branches/ubuntu/trusty/mysql-5.5/trusty-updates

« back to all changes in this revision

Viewing changes to man/ndb_index_stat.1

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2015-04-20 09:30:47 UTC
  • mfrom: (1.1.22)
  • Revision ID: package-import@ubuntu.com-20150420093047-yd9g5p2hesgvlzwm
Tags: 5.5.43-0ubuntu0.14.04.1
* SECURITY UPDATE: Update to 5.5.43 to fix security issues (LP: #1444616)
  - http://www.oracle.com/technetwork/topics/security/cpuapr2015-2365600.html
  - CVE-2015-0433
  - CVE-2015-0441
  - CVE-2015-0499
  - CVE-2015-0501
  - CVE-2015-0505
  - CVE-2015-2568
  - CVE-2015-2571
  - CVE-2015-2573

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
.\"     Title: \fBndb_index_stat\fR
3
3
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4
4
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
5
 
.\"      Date: 11/04/2014
 
5
.\"      Date: 02/26/2015
6
6
.\"    Manual: MySQL Database System
7
7
.\"    Source: MySQL 5.5
8
8
.\"  Language: English
9
9
.\"
10
 
.TH "\FBNDB_INDEX_STAT\FR" "1" "11/04/2014" "MySQL 5\&.5" "MySQL Database System"
 
10
.TH "\FBNDB_INDEX_STAT\FR" "1" "02/26/2015" "MySQL 5\&.5" "MySQL Database System"
11
11
.\" -----------------------------------------------------------------
12
12
.\" * Define some portability stuff
13
13
.\" -----------------------------------------------------------------
36
36
.SH "DESCRIPTION"
37
37
.PP
38
38
\fBndb_index_stat\fR
39
 
\&.\&.\&.
 
39
provides per\-fragment statistical information about indexes on
 
40
NDB
 
41
tables\&. This includes cache version and age, number of index entries per partition, and memory consumption by indexes\&.
40
42
Usage.PP
41
43
To obtain basic index statistics about a given
42
44
NDB
97
99
is the number of index entries found per partition\&. You can estimate the total number of entries by multiplying this by the number of fragments (shown as
98
100
fragCount)\&.
99
101
.PP
100
 
sampleCount cab be compared with the cardinality of
 
102
sampleCount
 
103
can be compared with the cardinality of
101
104
SHOW INDEX
102
105
or
103
106
INFORMATION_SCHEMA\&.STATISTICS, although the latter two provide a view of the table as a whole, while
332
335
.TE
333
336
.sp 1
334
337
.PP
335
 
\fBndb_index_stat statistics options\fR. The following options are used to generate index statistics\&. They work with a given table and database\&. They cannot be mixed with
336
 
ndb_index_stat system options\&.
 
338
\fBndb_index_stat statistics options\fR. The following options are used to generate index statistics\&. They work with a given table and database\&. They cannot be mixed with system options (see
 
339
ndb_index_stat system options)\&.
337
340
.sp
338
341
.RS 4
339
342
.ie n \{\
350
353
.TS
351
354
allbox tab(:);
352
355
l l s s
353
 
l l s s
354
 
l l s s
355
 
^ l l s
 
356
l l l s
356
357
^ l l s
357
358
^ l l s
358
359
^ l l s.
362
363
\-\-database=name
363
364
T}
364
365
T{
365
 
\ \&
366
 
T}:T{
367
 
\-d
368
 
T}
369
 
T{
370
 
\ \&
371
 
T}:T{
372
366
\fBPermitted Values\fR
373
 
T}
374
 
:T{
 
367
T}:T{
375
368
\fBType\fR
376
369
T}:T{
377
370
string
407
400
.TS
408
401
allbox tab(:);
409
402
l l s s
410
 
l l s s
411
 
^ l l s
 
403
l l l s
412
404
^ l l s
413
405
^ l l s
414
406
^ l l s.
418
410
\-\-delete
419
411
T}
420
412
T{
421
 
\ \&
422
 
T}:T{
423
413
\fBPermitted Values\fR
424
 
T}
425
 
:T{
 
414
T}:T{
426
415
\fBType\fR
427
416
T}:T{
428
417
boolean
430
419
:T{
431
420
\fBDefault\fR
432
421
T}:T{
433
 
true
 
422
false
434
423
T}
435
424
:T{
436
425
\fBMin Value\fR
458
447
.TS
459
448
allbox tab(:);
460
449
l l s s
461
 
l l s s
462
 
^ l l s
 
450
l l l s
463
451
^ l l s
464
452
^ l l s
465
453
^ l l s.
469
457
\-\-update
470
458
T}
471
459
T{
472
 
\ \&
473
 
T}:T{
474
460
\fBPermitted Values\fR
475
 
T}
476
 
:T{
 
461
T}:T{
477
462
\fBType\fR
478
463
T}:T{
479
464
boolean
481
466
:T{
482
467
\fBDefault\fR
483
468
T}:T{
484
 
true
 
469
false
485
470
T}
486
471
:T{
487
472
\fBMin Value\fR
493
478
T}
494
479
.TE
495
480
.sp 1
496
 
Update the index statistics for the given table, and restart any auto\-update that previously configured\&.
 
481
Update the index statistics for the given table, and restart any auto\-update that was previously configured\&.
497
482
.RE
498
483
.sp
499
484
.RS 4
509
494
.TS
510
495
allbox tab(:);
511
496
l l s s
512
 
l l s s
513
 
^ l l s
 
497
l l l s
514
498
^ l l s
515
499
^ l l s
516
500
^ l l s.
520
504
\-\-dump
521
505
T}
522
506
T{
523
 
\ \&
524
 
T}:T{
525
507
\fBPermitted Values\fR
526
 
T}
527
 
:T{
 
508
T}:T{
528
509
\fBType\fR
529
510
T}:T{
530
511
boolean
532
513
:T{
533
514
\fBDefault\fR
534
515
T}:T{
535
 
true
 
516
false
536
517
T}
537
518
:T{
538
519
\fBMin Value\fR
560
541
.TS
561
542
allbox tab(:);
562
543
l l s s
563
 
l l s s
564
 
^ l l s
 
544
l l l s
565
545
^ l l s
566
546
^ l l s
567
547
^ l l s.
571
551
\-\-query=#
572
552
T}
573
553
T{
574
 
\ \&
575
 
T}:T{
576
554
\fBPermitted Values\fR
577
 
T}
578
 
:T{
 
555
T}:T{
579
556
\fBType\fR
580
557
T}:T{
581
558
numeric
600
577
Perform random range queries on first key attribute (must be int unsigned)\&.
601
578
.RE
602
579
.PP
603
 
\fBndb_index_stat system options\fR. The following options are used to generate and update the statistics tables in the NDB kernel\&. They cannot be mixed with
604
 
ndb_index_stat statistics options\&.
 
580
\fBndb_index_stat system options\fR. The following options are used to generate and update the statistics tables in the NDB kernel\&. None of these options can be mixed with statistics options (see
 
581
ndb_index_stat statistics options)\&.
605
582
.sp
606
583
.RS 4
607
584
.ie n \{\
616
593
.TS
617
594
allbox tab(:);
618
595
l l s s
619
 
l l s s
620
 
^ l l s
 
596
l l l s
621
597
^ l l s
622
598
^ l l s
623
599
^ l l s.
627
603
\-\-sys\-drop
628
604
T}
629
605
T{
630
 
\ \&
631
 
T}:T{
632
606
\fBPermitted Values\fR
633
 
T}
634
 
:T{
 
607
T}:T{
635
608
\fBType\fR
636
609
T}:T{
637
610
boolean
639
612
:T{
640
613
\fBDefault\fR
641
614
T}:T{
642
 
true
 
615
false
643
616
T}
644
617
:T{
645
618
\fBMin Value\fR
668
641
.TS
669
642
allbox tab(:);
670
643
l l s s
671
 
l l s s
672
 
^ l l s
 
644
l l l s
673
645
^ l l s
674
646
^ l l s
675
647
^ l l s.
679
651
\-\-sys\-create
680
652
T}
681
653
T{
682
 
\ \&
683
 
T}:T{
684
654
\fBPermitted Values\fR
685
 
T}
686
 
:T{
 
655
T}:T{
687
656
\fBType\fR
688
657
T}:T{
689
658
boolean
691
660
:T{
692
661
\fBDefault\fR
693
662
T}:T{
694
 
true
 
663
false
695
664
T}
696
665
:T{
697
666
\fBMin Value\fR
719
688
.TS
720
689
allbox tab(:);
721
690
l l s s
722
 
l l s s
723
 
^ l l s
 
691
l l l s
724
692
^ l l s
725
693
^ l l s
726
694
^ l l s.
730
698
\-\-sys\-create\-if\-not\-exist
731
699
T}
732
700
T{
733
 
\ \&
734
 
T}:T{
735
701
\fBPermitted Values\fR
736
 
T}
737
 
:T{
 
702
T}:T{
738
703
\fBType\fR
739
704
T}:T{
740
705
boolean
742
707
:T{
743
708
\fBDefault\fR
744
709
T}:T{
745
 
true
 
710
false
746
711
T}
747
712
:T{
748
713
\fBMin Value\fR
770
735
.TS
771
736
allbox tab(:);
772
737
l l s s
773
 
l l s s
774
 
^ l l s
 
738
l l l s
775
739
^ l l s
776
740
^ l l s
777
741
^ l l s.
781
745
\-\-sys\-create\-if\-not\-valid
782
746
T}
783
747
T{
784
 
\ \&
785
 
T}:T{
786
748
\fBPermitted Values\fR
787
 
T}
788
 
:T{
 
749
T}:T{
789
750
\fBType\fR
790
751
T}:T{
791
752
boolean
793
754
:T{
794
755
\fBDefault\fR
795
756
T}:T{
796
 
true
 
757
false
797
758
T}
798
759
:T{
799
760
\fBMin Value\fR
821
782
.TS
822
783
allbox tab(:);
823
784
l l s s
824
 
l l s s
825
 
^ l l s
 
785
l l l s
826
786
^ l l s
827
787
^ l l s
828
788
^ l l s.
832
792
\-\-sys\-check
833
793
T}
834
794
T{
835
 
\ \&
836
 
T}:T{
837
795
\fBPermitted Values\fR
838
 
T}
839
 
:T{
 
796
T}:T{
840
797
\fBType\fR
841
798
T}:T{
842
799
boolean
844
801
:T{
845
802
\fBDefault\fR
846
803
T}:T{
847
 
true
 
804
false
848
805
T}
849
806
:T{
850
807
\fBMin Value\fR
872
829
.TS
873
830
allbox tab(:);
874
831
l l s s
875
 
l l s s
876
 
^ l l s
 
832
l l l s
877
833
^ l l s
878
834
^ l l s
879
835
^ l l s.
883
839
\-\-sys\-skip\-tables
884
840
T}
885
841
T{
886
 
\ \&
887
 
T}:T{
888
842
\fBPermitted Values\fR
889
 
T}
890
 
:T{
 
843
T}:T{
891
844
\fBType\fR
892
845
T}:T{
893
846
boolean
895
848
:T{
896
849
\fBDefault\fR
897
850
T}:T{
898
 
true
 
851
false
899
852
T}
900
853
:T{
901
854
\fBMin Value\fR
925
878
.TS
926
879
allbox tab(:);
927
880
l l s s
928
 
l l s s
929
 
^ l l s
 
881
l l l s
930
882
^ l l s
931
883
^ l l s
932
884
^ l l s.
936
888
\-\-sys\-skip\-events
937
889
T}
938
890
T{
939
 
\ \&
940
 
T}:T{
941
891
\fBPermitted Values\fR
942
 
T}
943
 
:T{
 
892
T}:T{
944
893
\fBType\fR
945
894
T}:T{
946
895
boolean
948
897
:T{
949
898
\fBDefault\fR
950
899
T}:T{
951
 
true
 
900
false
952
901
T}
953
902
:T{
954
903
\fBMin Value\fR
978
927
.TS
979
928
allbox tab(:);
980
929
l l s s
981
 
l l s s
982
 
l l s s
983
 
^ l l s
 
930
l l l s
984
931
^ l l s
985
932
^ l l s
986
933
^ l l s.
990
937
\-\-verbose
991
938
T}
992
939
T{
993
 
\ \&
994
 
T}:T{
995
 
\-v
996
 
T}
997
 
T{
998
 
\ \&
999
 
T}:T{
1000
940
\fBPermitted Values\fR
1001
 
T}
1002
 
:T{
 
941
T}:T{
1003
942
\fBType\fR
1004
943
T}:T{
1005
944
boolean
1007
946
:T{
1008
947
\fBDefault\fR
1009
948
T}:T{
1010
 
true
 
949
false
1011
950
T}
1012
951
:T{
1013
952
\fBMin Value\fR
1035
974
.TS
1036
975
allbox tab(:);
1037
976
l l s s
1038
 
l l s s
1039
 
^ l l s
 
977
l l l s
1040
978
^ l l s
1041
979
^ l l s
1042
980
^ l l s.
1046
984
\-\-loops=#
1047
985
T}
1048
986
T{
1049
 
\ \&
1050
 
T}:T{
1051
987
\fBPermitted Values\fR
1052
 
T}
1053
 
:T{
 
988
T}:T{
1054
989
\fBType\fR
1055
990
T}:T{
1056
991
numeric
1077
1012
.SH "COPYRIGHT"
1078
1013
.br
1079
1014
.PP
1080
 
Copyright \(co 1997, 2014, Oracle and/or its affiliates. All rights reserved.
 
1015
Copyright \(co 1997, 2015, Oracle and/or its affiliates. All rights reserved.
1081
1016
.PP
1082
1017
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
1083
1018
.PP