baum icon indicating copy to clipboard operation
baum copied to clipboard

Performance optimisation with Composite Index

Open scwall opened this issue 4 years ago • 0 comments

UPDATE/INFORMATION

After the creation of a compound index I saw my performance greatly implied for the cost of a slightly slower insertion due to the reconstruction of the index but considering the size of the nested data I am a big winner in terms of performance: Index

$table->index(['id', 'lft', 'rgt']);

scwall avatar Jan 07 '21 09:01 scwall