Getting Data In

Predict that the sql text will consume high resources

swetar
New Member

Hi everyone,
Req# Predict that the sql text running in the system will consume high resources.
I wanted to predict this based on the temp space and undo table space used by the query.
I am thinking to use Clustering algo.
Can anyone suggest me, which algo should I use.

Thanks

0 Karma

DavidHourani
Super Champion

Are you using MLTK ?

0 Karma

swetar
New Member

yes , I am using Splunk MLTK.
Is it recommended to do it with Clustering algorithm K-means

0 Karma

DavidHourani
Super Champion

yeah that makes sense if you have multiple queries and you wish to classify them, is that what you're trying to achieve ?

0 Karma

swetar
New Member

Yes there will be multiple queries. I wanted to classify bad sql ( bad sql meaning, sql which are going to consume more than 80% temp or consuming high io)

0 Karma

DavidHourani
Super Champion

In that case try BDSCAN could be better than fitting into a set number of clusters.
https://docs.splunk.com/Documentation/MLApp/4.3.0/User/Algorithms#DBSCAN

0 Karma
Get Updates on the Splunk Community!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...