Preface

Data is becoming more and more valuable to organizations as they realize its true potential and how it can help them to achieve their business objectives. The reason for this is that data can be turned into actionable intelligence that organizations can leverage to keep their internal and external customers happy while maintaining their competitive edge.

The key here is actionable intelligence derived from data otherwise it takes up storage space and is an expense to the organization. The Salesforce Platform facilitates turning unactionable data into actionable intelligence, but for this to happen on an on going basis, the data architecture must be properly designed and allow scalability. Data modeling blunders include creating roll-up summary fields on an account record that have the year hard coded in them to show account revenue and require the roll-up summary filter to be updated every year. Blunders also include worse situations where a lookup relationship may have been used for an application, but a parent-child relationship was created, leading to a tightly coupled relationship. The sole reason for choosing this type of relationship would be due to it providing the roll-up summary field capability.

In this book, we will start with the very basics of understanding what data architects are expected to do and how you can be a successful Salesforce data architect. You will then learn about data modeling and data management. Once we have the basics covered, we will delve into master data management, data governance, and how we can ensure performance for our applications.

Data keeps on growing at a fast pace and knowing how to design solutions effectively involving large volumes of data is a crucial skill set. Therefore, we will extensively cover Large Data Volumes (LDVs) and what we can do as architects to effectively manage them while keeping scalability and Salesforce governor limits under consideration.

I have included questions at the end of each chapter to ensure you have clearly understood the concepts discussed in the chapter. Moreover, there are extensive examples and diagrams throughout the chapters to ensure that a firm understanding of the concepts is developed.

When all is said and done and you have reached the end of the book, you will have gained a solid understanding of data architectural skills and best practices that you can apply immediately within the context of Salesforce. The content covered in this book is also very relevant to the Data Architecture and Management Designer exam and the data architecture domain that is tested in the Salesforce Certified Technical Architect (CTA) exam (https://trailhead.salesforce.com/credentials/dataarchitectureandmanagementdesigner).

Who this book is for

This book is for both aspiring and experienced architects, Salesforce admins, and developers who want to learn more about the core architecture of the Salesforce platform in the context of data management and architecture. Whether you are just starting off in the Salesforce ecosystem as an admin or a developer, or whether you are an experienced architect with several years of experience under your belt, this book has something for everyone to benefit from.

To get the most out of the book, you will have had experience with data migration and integrations in large, complex technology landscapes consisting of disparate systems. You will also have had to deal with data with privacy regulations and topics such as master data management to further manage data in your technology landscape. Salesforce professionals that have large orgs with millions of records who are concerned about performance will also benefit from the book as scalability and performance have been at the forefront when writing.

Although the book covers a multitude of topics that overlap different Salesforce certification exams, Salesforce professionals specifically preparing for the Data Architecture and Management Designer exam or the Salesforce CTA review board will find the book helpful as supporting material for these exam preparation.

What is this book covers

Chapter 1, Data Architect-Roles and Responsibilities, describes the role of a data architect and the core skills and experience that are required for it. It will also go in to detail on what soft skills are required to be successful in the role. You will also get to have a look at a day in the life of a data architect.

Chapter 2, Understanding Salesforce Objects and Data Modeling, will take you through the unique architecture of the Salesforce platform and how it is optimized for read access rather than write operations traditionally seen in relational databases. Data modeling concepts, how they get applied in the context of Salesforce, what de-normalization is, and why it is important to spend the time designing your data model properly will be discussed. At the end of the chapter, Salesforce objects and how they are created, different types of fields on them, and their use cases will be covered.

Chapter 3, Understanding Data Management, will explain data management, what it is, and why it's important. The different aspects of managing data, including the data lifecycle, will also be discussed. With Salesforce's discontinuation of data recovery services, data backup and archiving have come to the forefront, so we will discuss that in detail as well. At the end, some tools that are available to manage data effectively will be reviewed.

Chapter 4, Making Sense of Master Data Management, will discuss the key attributes of master data, what the Golden Record is and why it is so important for organizations. We will look at how to align your MDM and CRM strategy with a discussion on Salesforce's Customer 360 and its key components. MDM is a platform-agnostic concept that can be used within the context of non-Salesforce landscapes as well. The chapter is concluded with a brief discussion of the Common Information Model (CIM).

Chapter 5, Implementing Data Governance, covers the importance of enterprise data governance, the relationship between data governance and data management, and how to assess the current state of data governance. Two major privacy protection laws, the GDPR and CCPA, will also be covered in detail. To conclude and firm up understanding of the content, a sample case study will describe a hypothetical scenario and the solution approach to solve it.

Chapter 6, Managing Performance, will explore foundational aspects of performance on the Force.com platform, how to use the Query Plan tool to determine performance-impacting queries, and query costs when using indexes versus full table scans. The chapter also covers the various tools that can be used to monitor the platform for performance and auditing changes. Multiple code blocks will be used to drive the point home of how performance can be determined and optimized. Performance testing is critical especially when dealing with large volumes of data, so an extensive discussion around aspects of performance testing will be covered, followed by a discussion on monitoring the performance of the Salesforce org.

Chapter 7, Working with Large Volumes of Data, will introduce you to the concept of relational and non-relational databases. LDVs, which are becoming more and more relevant in the Salesforce ecosystem as orgs generate or consume lots of data, will be discussed extensively, from identifying LDV scenarios to managing LDV orgs and integrating data into these org types.

We will look at some options in cases where large volumes of data don't necessarily have to be brought into Salesforce, but the data can still be made available to users. We will cap our discussion with Big Objects which is yet another way to deal with very large data volumes.

Chapter 8, Best Practices for General Data Migration, will introduce you to data migration - how to assess, plan, and execute data migrations. Considerations and best practices related to data migration will also be discussed. Close to the end, we will discuss some commonly used tools that can be used for data migration. We will cap our discussion by discussing the different APIs that are available in Salesforce within the context of data migration.

To get the most out of this book

Theis book has multiple SOQL query code blocks throughout the chapters, and you are strongly encouraged to follow along and try them in a Developer Edition of Salesforce. For chapters that may appear to be theoretical in nature, for example, ones on data governance, I would encourage you to think of your own current or past organizations and try to apply the principles learned in the chapters, including the practical aspects of these topics, for example, metrics or KPIs for data quality.

The book assumes an understanding of basic Salesforce functionality, so at times, advanced topics may be challenging to grasp in the absence of the required knowledge.

Download the color images

We also provide a PDF file that has color images of the screenshots and diagrams used in this book. You can download it here: https://static.packt-cdn.com/downloads/9781801073240_ColorImages.pdf.

Conventions used

There are a number of text conventions used throughout this book.

Code in text: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Changing the criterion to LastModifiedDate will fix the issue."

A block of code is set as follows:

SELECT Id, Name, Description, LastRunDate, LastModifiedBy.Name

FROM Report

WHERE LastRunDate < 2019-06-01T00:00:00Z

ORDER BY LastRunDate DESC

LIMIT 50

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

SELECT Id, Name, Description, LastRunDate, LastModifiedBy.Name

FROM Report

WHERE LastRunDate < 2019-06-01T00:00:00Z

ORDER BY LastRunDate DESC

LIMIT 50

Any command-line input or output is written as follows:

ping -f -n 25 -l 1200 na111.salesforce.com

ping -f -n 25 -l 1300 na111.salesforce.com

ping -n 25 -l 1400 na111.salesforce.com

Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: "In Developer Console, click on the Logs tab."

Tips or important notes

Appear like this.

Get in touch

Feedback from our readers is always welcome.

General feedback: If you have questions about any aspect of this book, email us at [email protected] and mention the book title in the subject of your message.

Errata: Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you have found a mistake in this book, we would be grateful if you would report this to us. Please visit www.packtpub.com/support/errata and fill in the form.

Piracy: If you come across any illegal copies of our works in any form on the internet, we would be grateful if you would provide us with the location address or website name. Please contact us at [email protected] with a link to the material.

If you are interested in becoming an author: If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, please visit authors.packtpub.com.

Share Your Thoughts

Once you've read Salesforce Data Architecture and Management, we'd love to hear your thoughts! Please https://packt.link/r/1801073244 for this book and share your feedback.

Your review is important to us and the tech community and will help us make sure we're delivering excellent quality content.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.229.113