To create a database index for the Cloud Events table, use an admin account in the Cloud Provisioning and Governance scope. Open the table configuration, then create an index with State, Process Id, and Resource ID in that order. This index supports faster AWS cloud event processing; check whether it already exists before adding it.
Check whether the Cloud Events index is needed
The table is Cloud Events [sn_cmp_cloud_event]. Its index addresses Amazon Web Services event processing within Cloud Provisioning and Governance. Start with that table and workload when investigating the change. A general alert-processing problem is not enough evidence to create an index on this particular table.
The upgrade history matters. After upgrading Cloud Provisioning and Governance to Utah, create this index. If you first started using Cloud Provisioning and Governance on Utah, installation creates it automatically, so check the Database Indexes list before adding one. Check the installed application history and existing index definition before deciding that a manual change is missing. These instructions reflect Brazil behavior; verify the controls and application history on your instance and release.
Record the reason for the work: the affected AWS event workload, the observed processing delay, and the existing index configuration. Treat those observations as a baseline for comparison after the change. An index creation record establishes that a database change happened; your operational observations establish whether the original processing concern improved.
If the issue begins further downstream, use the plain-language Event Management guide to frame that investigation. Keep the Cloud Events change tied to the AWS processing workload that prompted it.
Prepare the scope, access, and change window
The required role for the Cloud Events index procedure is admin. Set the application scope to Cloud Provisioning and Governance before opening the table configuration. Include both checks in the change record so that someone reviewing the work can distinguish an access problem from a table or index-selection mistake.
Review the current Database Indexes related list before creating anything. Compare the selected columns and their sequence with the required definition. A name alone is a weak basis for deciding that the correct index is present. If the definition is unclear, have a database administrator review it before proceeding.
Creating an index on a large table can take an hour or longer, so plan the work for a quieter period when table size and concurrent activity make that sensible. Avoid placing a database change into an already busy operational window simply because the creation form is short. Include the person responsible for observing the AWS workload after completion.
Prepare a concise checklist: correct table, correct scope, admin access, existing indexes reviewed, intended column order recorded, and a comparison period selected. The Event Management connector guide provides context when the investigation also involves how events arrive.
Create a database index for the Cloud Events table
Open the Cloud Events list for sn_cmp_cloud_event. Use the following sequence for the table-specific change. The column labels matter: select Process Id as shown rather than substituting a similarly named field.
- From the list, select Column options > Configure > Table.
- On the table configuration, select the Database Indexes related list.
- Select New to begin defining the index.
- Select State from the available columns first.
- Add Process Id second, then Resource ID third.
- Review the sequence, then select Create Index.
- If needed, choose whether to receive an index-creation notification, then select OK.
- Rename the new index so that it is easy to identify during later review.
Instead of creating the index by hand, you can use a scheduled job to create it. Whichever route you choose, record it in the change so that a later reviewer knows how the index came to exist.
The index is defined by its column order. Read the three selected fields from first to last before you select Create Index, and check them against the planned sequence.
Use the three columns in the stated order and do not add other options to the new index without a separate database review.
For help planning this work, see ServiceNow implementation.
Scaling the cloud event schedulers is a separate way to raise the AWS event processing rate. Because it works on a different part of the processing path, make it its own change with its own baseline instead of bundling it into the index work.
Verify the definition and the processing outcome
After creation, return to the table’s Database Indexes related list and inspect the new index. Check the table identity, the three selected fields, and their order. Record the index name alongside the definition so that later troubleshooting can identify the same object without relying on memory.
Next, compare the AWS event-processing behavior with the baseline collected before the change. Keep the comparison conditions as similar as the workload permits. Note changes in event volume or other configuration work that could explain a different result. Describe what you observed rather than assigning an unsupported percentage improvement to the index.
If processing remains slow, avoid adding more indexes as an immediate reaction. First establish whether the affected query or processing stage is the one this change addresses. A correct index definition and a continuing delay can coexist; that finding calls for further diagnosis rather than a claim that the table change was unsuccessful.
Use the Event Management troubleshooting guide when the remaining symptom concerns the wider event-to-alert path. Keep the evidence for this database change together: prior definition, new definition, completion observations, and workload comparison.
For the handover, state whether the requested index was already present or was newly created. Include the selected field order and any unresolved observations. If another team continues the investigation, this prevents them from repeating the same database change while working on a different symptom. Leave a clear distinction between work completed and performance still under review.
Investigate a remaining slow query with index suggestions
A separate query investigation may be appropriate when a slow database query remains after the prescribed Cloud Events definition has been checked. The Index Suggestion Engine supports MySQL databases. For generating a suggestion, the required role is admin. Navigate to All > System Diagnostics > Stats > Slow Queries, open the relevant query record, and select Suggest Index.
The engine may request recent query metrics or column statistics before it can recommend an index. Follow the message associated with the missing information. For column statistics, the Collect Column Stats job can be scheduled or run immediately. Once the required information is available, return to the query and select Suggest Index again as needed.
Read missing-information messages before repeating the request. Updated metrics and column statistics address different gaps in the engine’s analysis. When statistics collection is scheduled for later, allow that collection to complete before requesting the next suggestion. Record which query you selected so that a later reviewer can connect the recommendation to its originating workload.
A generated suggestion has the State Suggested. Review it in relation to the actual query before scheduling creation. This workflow evaluates a proposed query-specific index; do not assume that manually creating the Cloud Events index automatically starts an Index Suggestion Engine evaluation.
For an index created through the suggestion workflow, the engine assesses effectiveness over a 14-day evaluation period. Keep those evaluation results separate from your AWS processing observations. One describes query-level index behavior; the other describes the operational issue that led to this work.
Questions about testing and reversing index changes
Can a slow-query suggestion be tested on a non-production instance?
Yes. With the admin role, open the suggestion under System Diagnostics > Index Suggestions > Index Suggestions > To review and select Export. On the non-production instance, use Import Suggestions under Related Links, select the exported XML file, and select Upload. The imported suggestion can then proceed through creation and performance testing.
How is a separately created custom index removed?
The custom-index removal action requires admin. Navigate to All > System Definition > Tables and open the relevant table. In Database Indexes, select the specific custom index, then select Drop on its form. Review the exact object and change authorization before removal, especially when several indexes have similar names.
Can removal of an evaluated slow-query index be scheduled?
Yes. An admin can open the associated record under Index Suggestions > In Progress and select Schedule Drop. Choose the time in Schedule Index Drop and select Drop. A deferred removal uses Drop Scheduled; completion is recorded as Dropped. Check the suggestion record afterward to establish that removal completed.
What does an unused-index recommendation mean?
The engine can recommend dropping an index because the database does not use it, or because it does not improve query execution time. Treat the recommendation as evidence for reviewing that evaluated index. Do not use it as an instruction to delete a different Cloud Events index simply because both belong to the same table.