I'm testing MySQL 5.6 and noticed some gap on my table idx.
while using two simple ways to bulk insert the same data on a indexed table, they produce two different indexes.
They are not weird structures just:
- normal insert using value()
- insert using select
Also, I'm not using especial insert condition, only simple insert and auto index.
The first, operate as expected but the second will generate gaps on the table index per each bulk insert.
Here is my script, to demonstrate this behavior: http://sqlfiddle.com/#!9/b138d/1
I'll be glad if someone can explain it or tell me if I'm doing something wrong.
Have a lovely celebration day..