Getting Data In

DB Connect - Query timed out Issue

spl_unker
Explorer

Im setting up a new DB connect. While creating inputs i could execute the SQL query and get results in Batch Mode. Where as when i execute the same query in Rising Column mode (which adds Order by clause to the query) takes more time and i get query time out message.

I suspect this is because  the initial query pulls entire records which is around 13 Million records

Please suggest if there is any alternate method?

Query im using :

Select * from table_name where column_name1  LIKE %abc% AND column_name2 > ? ORDER BY column_name2 ASC

TIA

Labels (1)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

have the column_name2 index in dB? If not then I propose that it will be added. Otherwise the only option is increase timeout parameter for this input query.

r. Ismo

0 Karma
Get Updates on the Splunk Community!

Data Preparation Made Easy: SPL2 for Edge Processor

By now, you may have heard the exciting news that Edge Processor, the easy-to-use Splunk data preparation tool ...

Introducing Edge Processor: Next Gen Data Transformation

We get it - not only can it take a lot of time, money and resources to get data into Splunk, but it also takes ...

Tips & Tricks When Using Ingest Actions

Tune in to learn about:Large scale architecture when using Ingest ActionsRegEx performance considerations ...