Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance optimisation with Composite Index #84

Open
scwall opened this issue Jan 7, 2021 · 0 comments
Open

Performance optimisation with Composite Index #84

scwall opened this issue Jan 7, 2021 · 0 comments

Comments

@scwall
Copy link

scwall commented Jan 7, 2021

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']);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant