When you create an index on a database, how does it work with your sql query statements in code?
Do you create an additional datasource on the server that connects to the index rather than the database?
Or do your query structures remain the same, but since you have an index, results come back quicker?
ex. if you use a datasource named table1 that connects to table1. you then create an index. do you create a new datasource pointing to the index and call it table1_index, and then query that new datasource in your code?
Do you create an additional datasource on the server that connects to the index rather than the database?
Or do your query structures remain the same, but since you have an index, results come back quicker?
ex. if you use a datasource named table1 that connects to table1. you then create an index. do you create a new datasource pointing to the index and call it table1_index, and then query that new datasource in your code?
