Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quellcode-Bibliothek vcol_select_innodb.result   Sprache: Lisp

 

 @.=InnoDB;
SET @
SET GLOBALGLOBALjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 37
 java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 23
  -,
c int as (-a) persistent,
index (c));
insert into t1 (a) values (2), (1), (1), (3), (NULL);
create table t2 like t1;
insert into t2 (a) values (1);
create table t3 (a int primary key,select_type type  java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 66
b int as (-a),
c int as (-a) persistent unique);
insert into t3 (a) values (2),(1),(3),(5),(4),(7);
# select_type=SIMPLE, type=system
select * from t2;
a b c
1 -1 -1
explain select * from t2  1
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t2 ALL3-
 t2 c-1;
a b c
1 typepossible_keys key_len rowsExtra
   fromt2 c-1
id select_type table type possible_keys  t1  NULLNULL5 
  t2 c  5const 1java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
#SELECT COUNT*  tbl_name
select * count* fromt1
a b c
1 -1 -1
1 -1 -1
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [43, 2) out of bounds for length 66
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 49
# select_type=SIMPLE, type=# SELECT COUNT(DISTINCT <non-vcotbl_name
select * from t3 where a=1;
a b c
1 -1 -1
explainselect *from t3 where =1
id table  key key_lenref rows Extra
1 SIMPLEjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
#select_type=SIMPLE type=
select * from id select_type table type possible_keys key key_len ref rows Extra
a b c
1 -1 -1
explain select * from t3 where c>=-1;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t3 range c c 5 NULL 1 Using where; Using index
type=ref
select * from t1,t3 where t1.c=t3.c and t3.c=-###
 b ca  c
1 -1 -##
1 -1-1 1-1 -
select* from t3  c > -2;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t3 const c c 5 const 1 Using indexa b c
1 SIMPLE t1 ref c c 5 const 2 
# select_type=PRIMARY, type1-1 1
select * from t1 where b in (select c from t3);
a b c
2 -2 -2
1-1 -1
1 -1 -1 SIMPLE t3  c   NULL  Using where; Using index
3  - 3
explain select * from t1 where  in (elect from t3)
idselect_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t1 ALL NULL NULL NULL NULL
1 PRIMARY t3 eq_ref c c 5 test.t1.b 12 2-2
# select_type=PRIMARY,type=angeref
select * from t1 where c in (select c from t3 id select_type table type possible_keys key key_len Extra
a b c
2 -2 -2
1 -1 -1
#SELECT *FROMtbl_name WHERE <non-indexed vcol expr>
explain select * from t1 where c in (select select * from t3 where b between - and-;
id select_type table type possible_keys1 -1-1
1PRIMARY t3  c  5 NULL 2Using where; Using index
1 PRIMARY t1 ref c c 5 test.t3.c 1 
#  select_typetable type possible_keys  java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 66
#select_type=UNION RESULT, type=<union1,2>
select * from t1 union select * from t2;
a b c
2 -2 -2
1 -1 -1
3 -3 -3
NULL NULL NULL
explain select * from t1 union select * from t2;
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t1 ALL NULL NULL NULL NULL 5 
2 UNION t2 ALL NULL NULL 1 1 -java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
NULL UNIONid select_type  type possible_keyskey key_len ref rows Extra
# select_type=DERIVED, type=system
set @tmp_optimizer_switch=@@optimizer_switch;
set optimizer_switch='1SIMPLE  range c5NULL 2 Using where; Using index
select * from (select a,b,c from t1) as t11;
a b c
2 -2 -2
1 SELECT * FROM tbl_name WHERE nonvcolexpr>ORDER BY <non-indexed vcol
1 - -1 -1
3 -3 -3
NULL NULL NULL
explaina  c
id        Extra
1 java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
 DERIVED  ALL NULL NULL  NULL 5 
set optimizer_switch=@tmp_optimizer_switch;
###
### Using aggregate functions with/without DISTINCT
###
# SELECT COUNT(*) FROM tbl_name
select count(*) from t1;
count*)
5
explain select count(*) from t1;
id select_type table type #SELECT *FROM tbl_name WHERE <on-vcol expr>ORDER BY <ndexed vcol>
1 SIMPLE t1 index NULL c 5 NULL 5 Using  * from  whereabetween 1and2 orderby c;
 SELECT (DISTINCT <onvcol>)FROM tbl_name
select 2- -
count(distinct 1-1-java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
3
explain select count(distinct a) from t1;
id possible_keyskey key_len ref rows 
1 SIMPLE t11SIMPLE t3  PRIMARY c 5 NULL 6 Using where; Using index
# SELECT (DISTINCT non-stored vcol>)FROM tbl_name
select count(select *from t3 where b between-2and - orderby a;
count(distinct b)
3
explain select count(distinct b) from t1a b c
id select_type 1 1 -1
SIMPLE t1 ALL NULL  NULL NULL 5java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
#SELECT COUNTDISTINCT <stored vcol>) FROM tbl_name
select count(distinct c) from t1;
idselect_type table type possible_keys key key_len ref rows Extra
3
explain select count(1  NULLPRIMARY4 6 
 select_type table type possible_keys key key_len ref rows Extra
1SIMPLE    NULL  5NULL 5 Using index for group-by
##
### filesort & range-based utils
###
# SELECT * 2-2
select * from t3 where c >= -2;
a b c
2 -2 -2
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 7
java.lang.StringIndexOutOfBoundsException: Range [34, 7) out of bounds for length 39
id select_type table type 1 SIMPLE t3 index NULL c 5 NULL 6 Using; Using index; Using filesort
SIMPLE  range  c 5 NULL 2 Using where; Using index
 SELECT  FROM tbl_name WHERE <non-vcol expr>
select * from t3 where a between 1 and 2;
a b c
1 -1 -1
2 -2 -2
explain select *from t3 where a between 1 and 2;
id select_type table type  select_type table type possible_keys key key_len ref rows Extra
 SIMPLE  rangePRIMARY PRIMARY 4 NULL  Using where
# SELECT * FROM tbl_name WHERE <non-indexed vcol expr>
select*from t3 where b  -2 and -1;
a b c
2 -2 -2
1 -1 -1
explain select * from t3 where b between -2 and -1;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t3 index NULL c 5 NULL 6 Using where Using index
# SELECT * FROM tbl_name WHERE <indexed vcol expr>
select *  t3where c between -2 and -1;
a b c
2 -2 -2
1 -1 -1
explain select * from t3 where c between -2 and -1;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t3 range c c 5 NULL 2 Using where; Using index
#SELECT *FROM tbl_name WHERE nonvcol >ORDER BY <non-indexed vcol>
select * from t3 where a between 1 and 2 order by b;
a  c
2 -c
1 -1 -1
explain select * from t3 where a between2 2-java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
rows Extra
1 SIMPLE t3 range PRIMARY PRIMARY 4 NULL 2 Using where; Using filesort select_type table type possible_keys key key_len ref rows Extra
# SELECT  FROM tbl_name WHERE <on-col expr>ORDER  <ndexed vcol>
select * from t3 where a between 1 and 2 order by c;
a b c
2 -2 -2
1 -1 -1
explain select * from t3 where a between 1 and 2 order by  (nonvcol)FROM  - java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
 select_typetable  possible_keys key key_len ref rowsExtra
 SIMPLE indexPRIMARY c 5 NULL6Usingwhere; Using index
 SELECT * WHERE <non- vcolexpr>ORDER <onvcol>
select * from t3 where b between -2 and -1 order by a;
a #SELECT sum< >  tbl_nameGROUP  indexedvcol>
1 --java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
2 -2 -2
explain selectexplain select sum()from t1 groupbyc
id select_type1SIMPLE t1    5NULL   
 SIMPLE t3 index NULL PRIMARY  NULL 6 Using where
select sum()from t1  byc;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
ajava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
2 -2 -2
1 -1 -1
java.lang.StringIndexOutOfBoundsException: Range [40, 7) out of bounds for length 62
tabletypepossible_keys key_lenrefrowsExtra
1 SIMPLE t3 # SELECT sum(<indexed)FROMtbl_name  BY <-indexedvcol>
 *FROM tbl_name WHERE <ndexed vcol expr> ORDER BY <non-indexed vcol>
select * from t3 where c between -2 and -1 order by bjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 6
a b c
2 -2 -2
1 -1 -1
explain select * from 1SIMPLE t1  NULL    Using temporary
id select_type table typeersistent=save_stats_persistent;
1 SIMPLE t3 range c c 5 NULL 2 Using where; Using index; Using filesort
# SELECT * FROM tbl_name WHERE <non-indexed vcol expr> ORDER BY <indexed vcol>
select * from t3 where b between -2 and -1 order by c;
a b c
2 -2 -2
1 -1 -1
explain select * from t3 where b between -2 and -1 order by c;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t3 index NULL c 5 NULL 6 Using where; Using index
# SELECT * FROM tbl_name WHERE <indexed vcol expr> ORDER BY <indexed vcol>
select * from t3 where c between -2 and -1 order by c;
a b c
2 -2 -2
1 -1 -1
explain select * from t3 where c between -2 and -1 order by c;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t3 range c c 5 NULL 2 Using where; Using index
# SELECT sum(<non-indexed vcol>) FROM tbl_name GROUP BY <non-indexed vcol>
select sum(b) from t1 group by b;
sum(b)
NULL
-3
-2
-2
explain select sum(b) from t1 group by b;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 5 Using temporary; Using filesort
# SELECT sum(<indexed vcol>) FROM tbl_name GROUP BY <indexed vcol>
select sum(c) from t1 group by c;
sum(c)
NULL
-3
-2
-2
explain select sum(c) from t1 group by c;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index NULL c 5 NULL 5 Using index
# SELECT sum(<non-indexed vcol>) FROM tbl_name GROUP BY <indexed vcol>
select sum(b) from t1 group by c;
sum(b)
NULL
-3
-2
-2
explain select sum(b) from t1 group by c;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index NULL c 5 NULL 5 
# SELECT sum(<indexed vcol>) FROM tbl_name GROUP BY <non-indexed vcol>
select sum(c) from t1 group by b;
sum(c)
NULL
-3
-2
-2
explain select sum(c) from t1 group by b;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 5 Using temporary; Using filesort
SET GLOBAL innodb_stats_persistent=@save_stats_persistent;

Messung V0.5 in Prozent
C=97 H=85 G=91

¤ Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.0.7Bemerkung:  ¤

*Bot Zugriff






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1126438
#Domains=1897691