List:Internals« Previous MessageNext Message »
From:Hartmut Holzgraefe Date:September 3 2007 2:43pm
Subject:Re: what does "index map: N" mean?
View as plain text  
Michael Widenius wrote:
> Hartmut, what information are you missing ?
> 
> The above is as quite good way to describe it without going to pseudo code.
> 
> The only things I can see that could be added are:
> 
> - Indexes are numbered from 1 uppwards, in the same order as given
>   by SHOW CREATE TABLE or SHOW INDEX
> 
> - The index map is a bitmap that shows which index we will use for
>   checking if we can use an index to retrieve the rows with either the
>   range or index_merge methods.  Ie, the value 5 (= 1 + 4 ) would
>   tell you that mysqld will try to use index 1 and 3 for this.

that is exactly what was missing: the explanation of "N"
in the "(index map: N)" part ... which lead to all the
guessing (both right and wrong) in this thread ...

-- 
Hartmut Holzgraefe, Principal Support Engineer
               .
Discover new MySQL Monitoring & Advisory features at:
http://www.mysql.com/products/enterprise/whats_new.html

Hauptsitz: MySQL GmbH, Dachauer Str.37, 80335 München
Geschäftsführer: Kaj Arnö - HRB München 162140

Thread
what does "index map: N" mean?Baron Schwartz29 Aug
  • Re: what does "index map: N" mean?Chad MILLER29 Aug
  • Re: what does "index map: N" mean?Sergey Petrunia29 Aug
    • Re: what does "index map: N" mean?Baron Schwartz29 Aug
      • Re: what does "index map: N" mean?Jay Pipes29 Aug
        • Re: what does "index map: N" mean?Baron Schwartz30 Aug
          • Re: what does "index map: N" mean?Hartmut Holzgraefe30 Aug
            • Re: what does "index map: N" mean?Paul DuBois30 Aug
Re: what does "index map: N" mean?Hartmut Holzgraefe3 Sep
  • Re: what does "index map: N" mean?Baron Schwartz3 Sep
    • Re: what does "index map: N" mean?Baron Schwartz5 Sep