Home | History | Annotate | Download | only in amalgamation

Lines Matching defs:aiRowEst

9819   unsigned *aiRowEst; /* Result of ANALYZE: Est. rows selected by each column */
75871 pIndex->aiRowEst[i] = v;
75905 ** contents of sqlite_stat1 are used to populate the Index.aiRowEst[]
79432 sizeof(int)*(nCol+1) + /* Index.aiRowEst */
79443 pIndex->aiRowEst = (unsigned *)(&pIndex->aiColumn[nCol]);
79444 pIndex->aSortOrder = (u8 *)(&pIndex->aiRowEst[nCol+1]);
79704 ** Fill the Index.aiRowEst[] array with default information - information
79707 ** aiRowEst[0] is suppose to contain the number of elements in the index.
79708 ** Since we do not know, guess 1 million. aiRowEst[1] is an estimate of the
79710 ** first column of the index. aiRowEst[2] is an estimate of the number
79714 ** aiRowEst[N]<=aiRowEst[N-1]
79715 ** aiRowEst[N]>=1
79718 ** how aiRowEst[] should be initialized. The numbers generated here
79722 unsigned *a = pIdx->aiRowEst;
100219 nRowEst = p->aiRowEst[0]/(SQLITE_INDEX_SAMPLES*2);
100222 nRowEst = (iUpper-iLower)*p->aiRowEst[0]/SQLITE_INDEX_SAMPLES;
100298 nRowEst = (nSpan*2+nSingle)*p->aiRowEst[0]/(2*SQLITE_INDEX_SAMPLES)
100299 + nNotFound*p->aiRowEst[1];
100300 if( nRowEst > p->aiRowEst[0] ) nRowEst = p->aiRowEst[0];
100354 unsigned int aiRowEstPk[2]; /* The aiRowEst[] value for the sPk index */
100387 sPk.aiRowEst = aiRowEstPk;
100409 const unsigned int * const aiRowEst = pProbe->aiRowEst;
100588 nRow = (double)(aiRowEst[nEq] * nInMul);
100589 if( bInEst && nRow*2>aiRowEst[0] ){
100590 nRow = aiRowEst[0]/2;
100591 nInMul = (int)(nRow / aiRowEst[nEq]);
100640 cost = aiRowEst[0]*4;
100642 log10N = estLog(aiRowEst[0]);