@@ -2718,10 +2718,7 @@ test('筛选统计覆盖索引必须吃掉 085,且不能为 VIP 把 JSON 列
|
|||||||
'缺 orders 覆盖索引时,统计会把 26 万行 orders 整表扫来做 Hash Right Join',
|
'缺 orders 覆盖索引时,统计会把 26 万行 orders 整表扫来做 Hash Right Join',
|
||||||
)
|
)
|
||||||
assert.ok(migration.includes('INCLUDE (pay_status, order_status, total_amount)'))
|
assert.ok(migration.includes('INCLUDE (pay_status, order_status, total_amount)'))
|
||||||
assert.ok(
|
assert.ok(migration.includes('低于 5%'), 'Heap Fetches 真空后仍有约 1.7%,判据不能写成必须为 0')
|
||||||
migration.includes('低于 5%'),
|
|
||||||
'Heap Fetches 真空后仍有约 1.7%,判据不能写成必须为 0',
|
|
||||||
)
|
|
||||||
assert.ok(
|
assert.ok(
|
||||||
!/^\s*CREATE INDEX CONCURRENTLY/m.test(migration),
|
!/^\s*CREATE INDEX CONCURRENTLY/m.test(migration),
|
||||||
'迁移在事务内执行,不能使用 CONCURRENTLY',
|
'迁移在事务内执行,不能使用 CONCURRENTLY',
|
||||||
|
|||||||
Reference in New Issue
Block a user