Accelerate table datasets
If you have a table dataset that contains a large amount of data, you can accelerate it so that searches, reports, and dashboard panels that use or extend it return results faster.
Things to know about table acceleration
Before you accelerate your table datasets, there are some requirements, restrictions, and best practices to be aware of.
- Table acceleration only works when you run a search that uses the
pivotcommands to reference a table. You also see acceleration benefits when you use the Pivot editor to create a report or dashboard panel that uses an accelerated table. You do not see acceleration benefits when you use a command such as
fromto reference an accelerated table.
- By default, only users whose roles have the
accelerate_datamodelcapability can accelerate table datasets.
- You must share a table to make it eligible for acceleration. You must also share related knowledge objects, such as lookup tables and lookup definitions that your lookup fields are dependent upon.
- If you want to accelerate a table that is extended from other tables, you must share those tables as well. The parent table or tables that a child table is extended from must be shared before you can accelerate the child table.
- You can apply table acceleration only to tables that use purely streaming search commands.
- You cannot enable acceleration for private tables.
- If you use the action menus to apply the Sort, Limit Rows, Remove Duplicates, or Stats actions to your table, you cannot accelerate it.
- You cannot accelerate a table that is extended from a lookup file or lookup definition. Lookup dataset extension involves search operations that are not streaming. This disqualifies it from being accelerated because you can apply table acceleration only to tables that use purely streaming search commands.
- Table acceleration can be resource-intensive, so use it conservatively with a limited number of Splunk users.
- When you change a dataset definition, its summary becomes invalid and must be replaced. The Splunk software automatically rebuilds its acceleration summary when you edit an accelerated table and save your changes.
- In tables that you accelerate, specify the indexes to be searched in their initial data search. This leads to more efficient table acceleration. If you do not specify an index, the Splunk software searches all available indexes for the table and can create unnecessarily large acceleration summaries.
For details about how table acceleration works and tips on managing table acceleration summaries, see Accelerate data models.
Accelerate a table dataset
Access the table dataset acceleration settings through the Datasets listing page or the Explorer view of a dataset.
- Select Edit > Edit Acceleration for the dataset you want to accelerate.
- Select Accelerate.
- Choose a Summary Range.
- Your choice depends on the range of time over which you plan to run searches, reports, or dashboard panels that use the accelerated table.
- (Optional) If you require a different summary range than the ones supplied by the Summary Range field, configure it for your table in datamodels.conf. See datamodels.conf.
- Click Save.
When your table is accelerated, the symbol for the table has a yellow color. You can also check the datasets listing page to see if your table is accelerated.
Inspect table acceleration metrics
After you accelerate a table you can find its acceleration metrics on the Data Models management page. Expand the row for the accelerated table and review the information that appears under ACCELERATION.
|Status||Tells you whether the acceleration summary for the table is complete. When the summary is in Building status, you also see what percentage of the summary is complete. Many table summaries are constantly updating with new data. This means that a summary that is Complete at one moment might be Building later.|
|Access Count||Shows you how many times the table summary has been accessed since it was created, and when the last access time was. This metric is useful when you are trying to determine which accelerated tables are not being used frequently. Because table acceleration uses system resources, you might not want to accelerate tables that are not regularly accessed.|
|Size on Disk||Shows you how much disk space the table acceleration summary uses. Use this metric along with the Access Count to determine which summaries are unnecessary and can be deleted. If a table acceleration summary is using a large amount of disk space, consider reducing its summary range.|
|Summary Range||Presents the range of the table acceleration summary, in seconds, always relative to the present moment. You set this range when you enable acceleration for the table.|
|Buckets||Displays the number of index buckets spanned by the table acceleration summary.|
Click Rebuild to rebuild the summary. You might want to do this if you suspect that there has been data loss due to a system crash or a similar mishap. The Splunk software rebuilds summaries when you edit a table, or when you disable and reenable table acceleration.
Click Update to refresh the acceleration summary detail information.
Click Edit to open the Edit Acceleration dialog box to change the Summary Range or to disable acceleration for the table.
Accelerating data model datasets
Data model datasets are accelerated at the data model level. You can access the Data Models management page by selecting Settings > Data Models.
For more information, see Accelerate data models.
About data models
This documentation applies to the following versions of Splunk Cloud Platform™: 9.0.2209 (latest FedRAMP release), 8.2.2109, 8.1.2103, 8.2.2105, 8.2.2106, 8.2.2107, 8.2.2111, 8.2.2112, 8.2.2201, 8.2.2202, 8.2.2203, 9.0.2205, 9.0.2208