what are Text index, Database index ? How to create the both? difference?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-24-2019 09:42 PM
what are Text index, Database index ? How to create the both? difference?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-25-2019 01:20 AM
Hi,
Text Index
Administrators can enable text indexing on a table to allow users to search for string values from table records.
- Navigate to System Definition > Dictionary.
- Click the table name to open the dictionary entry.
A table in the System Dictionary is a record that has a Table name but no Column name.
3.Select the Text index check box to enable text indexing for text fields on the table.
4.Click Update.
5.Click Generate Text Index.
Database indexing
Indexing is one of the most important database features and must be implemented properly where needed to improve response time. Just like in other database-based applications, creating an index must be dealt with carefully, and only the fields that will be looked up often must be indexed. Indexing will not just improve the response time; it also greatly improves the database performance and can help optimize slow queries:
- In the ServiceNow platform, to create a database index, we can use the
System Definition
|Tables
module. Let's create an index for theCaller
field in theBooking Request
table. - In the
System Definition
|Tables
module, open theBooking Request
table by clicking on the info icon next to the record:
- In the ServiceNow platform, to create a database index, we can use the
- It will bring you up to the details page of the
Booking Request
table's configuration. Navigate to the bottom of the page and click on theNew
button in theDatabase Indexes
related list, as shown in the following screenshot:
If my response is worthy please mark as correct and helpful
Regards,
Monali Patil
Developer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-25-2019 10:35 PM
Text Index: allow users to search for string values from table records mean, can you please give an example that how search works? as any table can have different type of data type field.
Database Index: In the above example, for active index, 3 fields given , how indexing will be different for normal search, what is the order of execution , Can you please elaborate?