I am an indexing column to speed up the queries. before that, I had only done full-text indexing. for which I need to write special syntax. My question is there a special syntax to write a query or I can just use the where() method on that column?
Can I use it like this?
Model::where('customer_id',2)->get()
Indexing will be applied to that query?
The second thing I want to know is it will consume less MySQL server CPU ? or more? Because I am having the issue of 100% percent CPU consumption because of lots of queries can indexing help me out with that?
The third thing is do I need to import data again after doing indexing? or it will be automatically implemented on all the Data?