Extremesalesforcedatavolumes final-130220113913-phpapp02
Upcoming SlideShare
Loading in...5

Extremesalesforcedatavolumes final-130220113913-phpapp02






Total Views
Views on SlideShare
Embed Views



0 Embeds 0

No embeds



Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

Extremesalesforcedatavolumes final-130220113913-phpapp02 Extremesalesforcedatavolumes final-130220113913-phpapp02 Presentation Transcript

  • Extreme Salesforce Data VolumesForce.com Architecture Best PracticesFrom salesforce.com’s Customer Centric Engineering – Technical Enablement team
  • Safe harbor Safe harbor 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 intellectual property and other litigation, risks associated with 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-Q for the most recent fiscal quarter ended July 31, 2012. This 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.Join the conversation: #forcewebinar
  • Speakers Bud Vieira Steve Bobrowski Architect Evangelist Architect Evangelist @aavra @sbob909Join the conversation: #forcewebinar
  • Follow Developer Force for the latest news @forcedotcom / #forcewebinar Developer Force – Force.com Community +Developer Force – Force.com Community Developer Force Developer Force groupJoin the conversation: #forcewebinar
  • Architect Core Resource page •  Featured content for architects •  Articles, papers, blog posts, events •  Follow us on Twitter Updated weekly! http://developer.force.com/architectJoin the conversation: #forcewebinar
  • Have questions? §  We have an expert support team at the ready to answer your questions during the webinar. §  Ask your questions via the GoToWebinar Questions Pane. §  The speaker(s) will choose top questions to answer live at the end of the webinar. §  Please post your questions as we go along! §  Only post your question once; we’ll get to it as we go down the list.Join the conversation: #forcewebinar
  • Today s Learning Goal AWARENESSJoin the conversation: #forcewebinar
  • How much data can the Salesforce Platform handle? You might be surprised!Join the conversation: #forcewebinar
  • Best practices Design Load Configure MaintainJoin the conversation: #forcewebinar
  • Design best practicesJoin the conversation: #forcewebinar
  • Design phase best practices Data volu me Requirements an d growth Que r y Text design searchingJoin the conversation: #forcewebinar
  • RequirementsJoin the conversation: #forcewebinar
  • Understand application and user requirements Ho w m uc h How many o perational data records make is really sense in each list necessar y? view an d report? Can yo u deem certain data historical or not useful for views an d reports?Join the conversation: #forcewebinar
  • Example: Design list views that make sense How many pages of data records can a human process?Join the conversation: #forcewebinar
  • Data volume and growthJoin the conversation: #forcewebinar
  • Estimate the growth and volume of data Can yo u eliminate At what rate w ill certain types of the data volu me data fro m yo ur increase fro m schema? Fro m transactions? yo ur data loa ds? Fro m data loa ds? Can yo u offset the data growth by archiving data? Hard- deletes? Recycle bin empties?Join the conversation: #forcewebinar
  • Example: Project monthly and annual growth Large Object X (Monthly) Transaction growth rate •  Records •  GB Data load growth rate •  Records •  GB Archival offset •  Records •  GBJoin the conversation: #forcewebinar
  • Key success factor: Minimize data volume Devise a data Devise a data loa ding plan offloa ding plan that meets, but that archives doesn t excee d, unnecessar y data requirements After archiving, hard- delete rows or empty the recycle binJoin the conversation: #forcewebinar
  • Query designJoin the conversation: #forcewebinar
  • Learn how to design efficient queries Un derstan d Docu ment SOQL quer y available o ptimization in dexes Design selective list views, reports, an d SOQL queriesJoin the conversation: #forcewebinar
  • Document available indexesJoin the conversation: #forcewebinar
  • Cheat Sheet: Indexed Fields http://developer.force.com/architectJoin the conversation: #forcewebinar
  • Example: Design and profile selective SOQLJoin the conversation: #forcewebinar
  • Full-text searchJoin the conversation: #forcewebinar
  • Learn how to design efficient searches Docu ment Un derstan d available SOSL quer y in dexes o ptimization Design selective list views, reports, an d SOSL queriesJoin the conversation: #forcewebinar
  • Document text fields with Search indexesJoin the conversation: #forcewebinar
  • Cheat Sheet: Search Fields http://developer.force.com/architectJoin the conversation: #forcewebinar
  • Learn how Search retrieves rows INDEX Millions of DB records Query across entire index for matches to Record IDs of DB processing search string matches to includes sharing query are sent access check to DB for processingJoin the conversation: #forcewebinar
  • Review: Design phase best practices ü  Know your requirements ü  Estimate data growth rate ü  Minimize data volume ü  Design efficient operations ü  Plan an efficient sharing modelJoin the conversation: #forcewebinar
  • Data load best practicesJoin the conversation: #forcewebinar
  • Data load best practices Clean an d Check o ut organize data AppExchange before loa ding to ols Use Bulk APIs for Disable an d defer better what yo u can thro ughputJoin the conversation: #forcewebinar
  • Prepare your data to avoid overheadJoin the conversation: #forcewebinar
  • Disable actions that fire on insert Validation Rules Workflow Rules TriggersJoin the conversation: #forcewebinar
  • Understand the Force.com Bulk APIJoin the conversation: #forcewebinar
  • Be aware of Bulk API limitsJoin the conversation: #forcewebinar
  • Look for utilities to help get the job done easyJoin the conversation: #forcewebinar
  • Defer sharing calculations Or … load with Public default sharingJoin the conversation: #forcewebinar
  • Review: Data load phase best practices ü  Load cleansed data ü  Use the Bulk API ü  Consider loading utilities that use the Bulk API ü  Disable triggers, validations, and workflow ü  Defer sharing calculationsJoin the conversation: #forcewebinar
  • Configuration best practicesJoin the conversation: #forcewebinar
  • Learn how to create an efficient sharing model Don t o verprotect Streamline gro up yo ur data nesting an d yo ur role hierarchy Distribute Beware of locking ownership an d on updates parenting of recordsJoin the conversation: #forcewebinar
  • Don’t overprotect your dataJoin the conversation: #forcewebinar
  • Streamline your role Hierarchy Complex hierarchies = longer sharing calculations Keep nesting below 10 levels Simplify sales branch if using territory managementJoin the conversation: #forcewebinar
  • Avoid skewed data configurations Ownership Parent-childJoin the conversation: #forcewebinar
  • Beware of locking on updates Organization Lock Record Lock X X Single thread group updates Avoid parent child skew Use Granular Locking Sequence updates by ParentIDJoin the conversation: #forcewebinar
  • Review: Configuration phase best practices ü  Keep data public when possible ü  Use a lean role hierarchy ü  Avoid data skews ü  Minimize record lock trapsJoin the conversation: #forcewebinar
  • Maintenance best practicesJoin the conversation: #forcewebinar
  • Maintenance phase best practices Custo m Data in dexing partitioning Application Skinny tables partitioningJoin the conversation: #forcewebinar
  • Custom indexesJoin the conversation: #forcewebinar
  • Create your own indexesJoin the conversation: #forcewebinar
  • Request non-standard indexes Create a Support request to implement custom one and two-field indexesJoin the conversation: #forcewebinar
  • Skinny tablesJoin the conversation: #forcewebinar
  • Query tuning with skinny tablesJoin the conversation: #forcewebinar
  • Data partitioningJoin the conversation: #forcewebinar
  • Test and implement divisionsJoin the conversation: #forcewebinar
  • Application partitioningJoin the conversation: #forcewebinar
  • Leverage Salesforce Platform components Force.com Canvas facilitates seamless, transparent integration of operational & historical data ETL process 100010010 Lean Salesforce org manages operational data Heroku app & database manages historical dataJoin the conversation: #forcewebinar
  • Demo Integrated best practicesJoin the conversation: #forcewebinar
  • Demo: Integrated best practices ü  Lean Salesforce database ü  Archive historical data ü  Hard-delete archived records ü  Leverage external application (Heroku) for analytics ü  Integrate UIs using Force.com CanvasJoin the conversation: #forcewebinar
  • Additional Resources More Best Practices @ Architect Core Resources http://developer.force.com/architectJoin the conversation: #forcewebinar