Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Speed up the execution of query activity

El-Coder
Level 2
Level 2

What are the main recommendations for speeding up the execution of Query Activity?

1 Accepted Solution
keertij82676895
Correct answer by
Level 2
Level 2

Hi,

 

As the Query recomputes every time usually it depends on the filters you are using on the data,

and if you really want to purge the data which already having some records and dont wants to recompute and fetch only the latest records we usually recommends to use Incremental Query.

 

Regards,

Keerti J

View solution in original post

3 Replies
craigthonis
Employee
Employee

Hello,

 

That really all depends on what the query is, how long it's running and the amount of data being pulled and the number of tables being joined.

 

In general, you want to query against indexed values, pull in only as much data as needed, if joining to other tables ensure that the fields being joined on are indexed. 

 

There are also a vast number of resources online that you can do a web search on that will give you best practices of querying a database so I'd recommend doing one of those.

 

Regards,

Craig

 

keertij82676895
Correct answer by
Level 2
Level 2

Hi,

 

As the Query recomputes every time usually it depends on the filters you are using on the data,

and if you really want to purge the data which already having some records and dont wants to recompute and fetch only the latest records we usually recommends to use Incremental Query.

 

Regards,

Keerti J

View solution in original post

Sukrity_Wadhwa
Employee
Employee
Hi @El-Coder, Was any of the given solutions helpful to resolve your query? Do let us know. Thanks!