Scale with Large Data Volumes
and Big Objects in Salesforce
December 21, 2018 | 11:00 a.m. IST
Satya Sekhar
Trailhead Developer
Salesforce
Atul Rajguru
Sr. Technical Architect
Cybage
Jigar Shah
Enterprise Solutions Architect
Eternus Solutions
Forward-Looking Statement
Statement under the Private Securities Litigation Reform Act of 1995:
This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such
uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ
materially from the results expressed or implied by the forward-looking statements we make. All statements other than
statements of historical fact could be deemed forward-looking, including any projections of product or service availability,
subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of
management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or
technology developments and customer contracts or use of our services.
The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and
delivering new functionality for our service, new products and services, our new business model, our past operating losses,
possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our
security measures, the outcome of any litigation, risks associated with completed and any possible mergers and
acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain,
and motivate our employees and manage our growth, new releases of our service and successful customer deployment,
our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further
information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report
on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter.
These documents and others containing important disclosures are available on the SEC Filings section of the Investor
Information section of our Web site.
Any unreleased services or features referenced in this or other presentations, press releases or public statements are not
currently available and may not be delivered on time or at all. Customers who purchase our services should make the
purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does
not intend to update these forward-looking statements.
Go Social!
Salesforce Developers
Salesforce Developers
Salesforce Developers
The video will be posted to YouTube & the
webinar recap page (same URL as registration).
This webinar is being recorded!
@salesforcedevs
Have Questions?
● Don’t wait until the end to ask your question!
● Technical support will answer questions starting now.
● Respect Q&A etiquette
● Please don’t repeat questions. The support team is working their way
down the queue.
● Stick around for live Q&A at the end
● Speakers will tackle more questions at the end, time-allowing
● Head to Developer Forums
● More questions? Visit developer.salesforce.com/forums
Agenda
● Introduction to LDV
● How LDV Affects Salesforce Orgs?
● Techniques to Address LDV
● What are Big Objects?
● Demo
What is LDV?
Large Data Volume
1K 100K 1-10 Million 1 Billion Records…
How LDV Affects Salesforce Orgs?
● Performance Slugs
▪ Queries
▪ Search
▪ List Views
▪ Reports
▪ Timeout
● Reduced User Adoption
● Slow Sandbox Refreshes
Addressing LDV Challenges
● Design Considerations
● Data Modeling - Data distribution
● Data Skew – Account, Lookup & User
● Active vs Inactive Data & Archival Strategy
● External Data Source, External Object & oData
● Big Objects
What are Big Objects?
● Special Type of Objects
designed to store and
retrieve LDV.
● Uses Big Data Technology
in background.
● Standard & Custom Big
Objects
Big Objects Metadata Structure
Root Folder
Objects
Demo1__b.object
Profiles
Admin.profile
Package.XML
Use Case
● UC Corp. is leading provider of online fashion products & has been using
Salesforce Service Cloud to provide immaculate post sales support to their
global customer base considering a high support case inflow.
● Over a period of time they have realized heavy storage consumption due to
accumulation of over a million closed cases in their org.
● They are looking for solution which enables them to:
✓ Liberate the transactional storage consumption
✓ On demand access to archived Cases
✓ Accessibility to closed cases for historical analysis
✓ Ability to perform all of above while being resident on the platform
Demo
● Create & Deploy a Custom Big Object
● Big Object Data Manipulation using Apex
● Data Retrieval using ASYNC SOQL
Using SOQL Vs Async SOQL
Feature Standard SOQL Async SOQL
Execution Mode Synchronous Asynchronous
Expected Result Smaller Data Sets (K) Large Data Sets (M)
Best Suited For
• Displaying Data on UI
• Manipulations within
Apex
• Aggregation
• Summarizing for Analytics
Field Filters Yes Indexed fields only
Important Considerations
● Field Types
● Triggers and Flows
● Access via Apex, Visualforce & Lightning
● Historical Data Analytics
● Data Security
Resources - Learn With Trailhead
Large Data Volumes
Big Objects Basics
Salesforce Connect
Q & A
Try Trailhead: trailhead.salesforce.com
Join the conversation: @salesforcedevs
Join Trailblazer Community Group: bit.ly/webinarinapac
Survey
Your feedback is crucial to the success of our
webinar programs. Please fill out the survey at
the end of the webinar. Thank you!
Scale with Large Data Volumes and Big Objects in Salesforce

Scale with Large Data Volumes and Big Objects in Salesforce

  • 1.
    Scale with LargeData Volumes and Big Objects in Salesforce December 21, 2018 | 11:00 a.m. IST Satya Sekhar Trailhead Developer Salesforce Atul Rajguru Sr. Technical Architect Cybage Jigar Shah Enterprise Solutions Architect Eternus Solutions
  • 2.
    Forward-Looking Statement Statement underthe Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
  • 3.
    Go Social! Salesforce Developers SalesforceDevelopers Salesforce Developers The video will be posted to YouTube & the webinar recap page (same URL as registration). This webinar is being recorded! @salesforcedevs
  • 4.
    Have Questions? ● Don’twait until the end to ask your question! ● Technical support will answer questions starting now. ● Respect Q&A etiquette ● Please don’t repeat questions. The support team is working their way down the queue. ● Stick around for live Q&A at the end ● Speakers will tackle more questions at the end, time-allowing ● Head to Developer Forums ● More questions? Visit developer.salesforce.com/forums
  • 5.
    Agenda ● Introduction toLDV ● How LDV Affects Salesforce Orgs? ● Techniques to Address LDV ● What are Big Objects? ● Demo
  • 6.
    What is LDV? LargeData Volume 1K 100K 1-10 Million 1 Billion Records…
  • 7.
    How LDV AffectsSalesforce Orgs? ● Performance Slugs ▪ Queries ▪ Search ▪ List Views ▪ Reports ▪ Timeout ● Reduced User Adoption ● Slow Sandbox Refreshes
  • 8.
    Addressing LDV Challenges ●Design Considerations ● Data Modeling - Data distribution ● Data Skew – Account, Lookup & User ● Active vs Inactive Data & Archival Strategy ● External Data Source, External Object & oData ● Big Objects
  • 9.
    What are BigObjects? ● Special Type of Objects designed to store and retrieve LDV. ● Uses Big Data Technology in background. ● Standard & Custom Big Objects
  • 10.
    Big Objects MetadataStructure Root Folder Objects Demo1__b.object Profiles Admin.profile Package.XML
  • 11.
    Use Case ● UCCorp. is leading provider of online fashion products & has been using Salesforce Service Cloud to provide immaculate post sales support to their global customer base considering a high support case inflow. ● Over a period of time they have realized heavy storage consumption due to accumulation of over a million closed cases in their org. ● They are looking for solution which enables them to: ✓ Liberate the transactional storage consumption ✓ On demand access to archived Cases ✓ Accessibility to closed cases for historical analysis ✓ Ability to perform all of above while being resident on the platform
  • 12.
    Demo ● Create &Deploy a Custom Big Object ● Big Object Data Manipulation using Apex ● Data Retrieval using ASYNC SOQL
  • 13.
    Using SOQL VsAsync SOQL Feature Standard SOQL Async SOQL Execution Mode Synchronous Asynchronous Expected Result Smaller Data Sets (K) Large Data Sets (M) Best Suited For • Displaying Data on UI • Manipulations within Apex • Aggregation • Summarizing for Analytics Field Filters Yes Indexed fields only
  • 14.
    Important Considerations ● FieldTypes ● Triggers and Flows ● Access via Apex, Visualforce & Lightning ● Historical Data Analytics ● Data Security
  • 15.
    Resources - LearnWith Trailhead Large Data Volumes Big Objects Basics Salesforce Connect
  • 16.
    Q & A TryTrailhead: trailhead.salesforce.com Join the conversation: @salesforcedevs Join Trailblazer Community Group: bit.ly/webinarinapac
  • 17.
    Survey Your feedback iscrucial to the success of our webinar programs. Please fill out the survey at the end of the webinar. Thank you!