|
-
Jul 22nd, 2003, 11:02 AM
#1
Thread Starter
Addicted Member
urgent
Hi all,
I know that while we r using the property "Indexing" in the database then searching becomes fast and updation becomes slow. my question is why? then how we use the property for search and save?
-
Jul 23rd, 2003, 03:00 AM
#2
Frenzied Member
By indexing a field the database in the background indexes all the data stored in that field. You don't really need to know what it does just that it does it. Once a field is indexed then the database will be able to search the field quicker as it has an index to look up (think of indexes in books). The reason it takes long to update a field is because once indexed a field must have the actual field updated along with the index associated with it. To use indexes you don't need to do anything different (at least thats my experience with SQL server) by just being indexed it does the job.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|