• Sergey Vojtovich's avatar
    Scalability bottleneck in ha_innodb::general_fetch · 91511216
    Sergey Vojtovich authored
    With "WL#6047 - Do not allocate trx id for read-only transactions"
    m_prebuilt->trx->id is always 0 for read-only transactions. This makes
    it useless as an index for fuzzy counters.
    
    Use server thread id instead similarly to MySQL.
    91511216
ha_innodb.cc 702 KB