PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > mysql.general > Re: issue about range optimization
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Re: issue about range optimization

Réponse
 
LinkBack Outils de la discussion
Vieux 27/12/2007, 13h36   #1
Baron Schwartz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: issue about range optimization

Hi,

On Dec 26, 2007 9:23 PM, 232160563 <232160563@qq.com> wrote:
> i can not understand sentences as following:
>
> For a BTREE index, an interval might be usable for conditions combined with AND, where each condition compares a key part with a constant value using =, <=>, IS NULL, >, <, >=, <=, !=,<>, BETWEEN, or LIKE 'pattern' (where 'pattern' does not start with a wildcard). An interval can be used as long as it is possible to determine a single key tuple containing all records that match the condition (or two intervals if <> or != is used).
>
> especially the second sentence :
>
> An interval can be used as long as it is possible to determine a single key tuple containing all records that match the condition (or two intervals if <> or != is used).
> (7.2.5.2. Range Access Method for Multiple-Part Indexes in the manual of mysql)
>
> the example showed in the manual is :
>
> key_part1 = 'foo' AND key_part2 >= 10 AND key_part3 > 10
>
> The single interval is'foo', 10, 10)< (key_part1, key_part2, key_part3)< ('foo', +inf, +inf)
>
> It is possible that the created interval contains more records than the initial condition. For example,the preceding interval includes the value ('foo', 11, 0), which does not satisfy the original condition.


You should file a bug report against the documentation, then.

Cheers
Baron
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 23h50.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08858 seconds with 9 queries