Courses

Better Eloquent Performance

What if Your Queries are Still Slow?

avatar

One question: If I have a very large table where my migration cannot add a simple column, how can I resolve this? Does the data structure course cover this?

avatar

We don't specifically cover this exact case. The reason here:

Big tables are usually an indicator of bad system design. Some, if not most, fields should be moved into separate database tables and queried via relationship.

Of course, there are exceptions, but if you are hitting database limit - you have designed the table wrong

avatar
You can use Markdown
avatar
You can use Markdown