Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Optimizing Salesforce Industries Solutions on the Vlocity OmniStudio Platform

You're reading from   Optimizing Salesforce Industries Solutions on the Vlocity OmniStudio Platform Implementing OmniStudio best practices for achieving maximum performance

Arrow left icon
Product type Paperback
Published in Apr 2024
Publisher Packt
ISBN-13 9781835468470
Length 278 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Dmitri Khanine Dmitri Khanine
Author Profile Icon Dmitri Khanine
Dmitri Khanine
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Part 1:The Platform Overview
2. Chapter 1: Understanding the Vlocity OmniStudio Platform FREE CHAPTER 3. Chapter 2: A Sample Application 4. Part 2: Getting to Know the Tools
5. Chapter 3: Evaluating the Performance of an OmniStudio Implementation 6. Chapter 4: An Introduction to Load Testing 7. Chapter 5: Tracking Code Changes and Deployment 8. Part 3: Best Practices for Improving Performance
9. Chapter 6: Options for Async Execution 10. Chapter 7: Understanding Caching 11. Chapter 8: Non-Selective Queries and Data Skew 12. Chapter 9: Improving the Performance of the Service Layer 13. Chapter 10: Improving the Performance of the Presentation Layer 14. Chapter 11: DataRaptor Formula Performance Considerations 15. Chapter 12: OmniStudio Performance Anti-Patterns 16. Index 17. Other Books You May Enjoy

Non-Selective Queries and Data Skew

When a DataRaptor or an Integration Procedure is slow, we are often quick to blame it on OmniStudio, while the issue may often originate in the underlying queries we’re running. In this chapter, we will look at an example of when a query on an indexed field may run slower than one on a non-indexed field. We will explore the reasons and look at tools we can use for benchmarking and optimizing our queries. So, if a query on your DataRaptor times out, or when your debug log shows a query taking a long time, the tools and techniques described in this chapter may help.

In this chapter, you will learn about the following:

  • Why the Salesforce platform is sometimes not able to leverage indexes, even in a query where they were used before
  • Factors that make queries in DataRaptors selective and non-selective and how to maintain your query performance as your data volume grows
  • How to use the Query Plan tool for query optimization
  • ...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image