I still can't understand the technical background of how indexes work really.
I was running this simple (maybe a little complex) script on these tables that have thousands of data and it took about 3 minutes to return values.
I put indexes on some of the fields I search by (WHERE CLAUSE) and it took less than a second to bring the data up.
So I just read trough what indexes an how they work, but technically how does it work?
Some people say too many indexes can hamper the database's performance.
I was running this simple (maybe a little complex) script on these tables that have thousands of data and it took about 3 minutes to return values.
I put indexes on some of the fields I search by (WHERE CLAUSE) and it took less than a second to bring the data up.
So I just read trough what indexes an how they work, but technically how does it work?
Some people say too many indexes can hamper the database's performance.