0% found this document useful (0 votes)
16 views5 pages

Unit 2 - Database Essentials

Salesforce is a cloud-based CRM software that utilizes a robust database architecture primarily based on Oracle, incorporating features from PostgreSQL. The database consists of objects, fields, and records, allowing for custom applications and multi-tenant architecture, which ensures consistent functionality across user enterprises. Key features include unique identifiers (keys), relationships between objects, and tools for data import/export, facilitating efficient data management and integration with external systems.

Uploaded by

shree
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views5 pages

Unit 2 - Database Essentials

Salesforce is a cloud-based CRM software that utilizes a robust database architecture primarily based on Oracle, incorporating features from PostgreSQL. The database consists of objects, fields, and records, allowing for custom applications and multi-tenant architecture, which ensures consistent functionality across user enterprises. Key features include unique identifiers (keys), relationships between objects, and tools for data import/export, facilitating efficient data management and integration with external systems.

Uploaded by

shree
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Salesforce Database

Salesforce is a cloud-based Customer Relationship Management (CRM) software. The


Salesforce CRM provides a robust database largely based on Oracle. The database also uses
features of PostgreSQL and a few other languages for its functions.

The Salesforce Database architecture

The Salesforce database is not just a repository of customer and company data, but also
offers numerous custom services. These services include, the capability of building custom
apps, pages, components, etc. This is possible because of the Salesforce database’s well-
designed multilayer architecture.

The Salesforce architecture is built of stacked levels and offers a flexible and adaptable
interface that is easy and efficient to use.

Some essential features of the Salesforce database architecture include:

• Combination of various layers for a multi-tenant architecture


• Multi-tenancy assures consistency of functions across the growth and evolution of the
user enterprise.
• The inclusion of custom setups, functions, and scripts in the metadata allows for easier
browsing of the site.
• Rapid sharing of information between the components of the Salesforce database is
enabled by APIs that can locate metadata.
• APIs, data services, and AI services comprise the fundamental layer of services provided
by Salesforce.

The Salesforce database is made of three functional components:

1. Objects
2. Fields and
3. Records

1. Salesforce Database Objects

The database in Salesforce is relational in structure, which means that the data is stored in
tables.

In Salesforce, these tables are called Objects. The tables or objects comprise columns that
indicate the type and rows that are the records.

The entries are called fields or data records. Multiple objects can be associated with a single
record, and these objects are interconnected using unique identifiers.

Multiple objects in the Salesforce database are interrelated through different types of
relationships, often set by the user.

The objects that may be used in the database of Salesforce:

• Standard Objects are pre-created by the Salesforce platform and may be used directly.
Details like leads, accounts, contacts, etc., are examples of standard objects.
• Custom Objects can be created by the user according to their needs that are driven by
business processes or functionalities
• External Objects can be created to map data stored outside the organization.

Various combinations of these types of objects allow businesses to manage different kinds
of data and make the platform flexible for their use.

2. Salesforce Database Fields

The column of an object is the field. Each field indicates a specific type of data.

Two types of Fields available in the Salesforce Database.

• Standard Fields and common to all objects on Salesforce that are prebuilt and provided
on the platform.
Examples:

• Identity: a 15-character, case-sensitive field that is automatically generated


when a new record is entered.
• System: a Read-only field that holds the information about a record.
• Name: The name of each record that helps in creating a distinguishing
feature. These can be text or auto-numbered names.

• Custom Fields: Fields that are created by the user on standard and custom objects on the
database of Salesforce.
3. Salesforce Database Records

Records are the actual entries of the tables in the database of Salesforce. Records can be
created for leads, tasks, opportunities, notes, and accounts. Records are the data that are
stored.

Records may be of numerous types depending on the business processes, nature of users,
customers and admin. These records run and link different business processes and collate
the activities that include users, customers, and admins.

Features of the Salesforce Database

Few important features of relational databases are keys and relationships.

1. Keys

Keys are unique identifiers of the columns in the tables of the database. Each table also has
a unique key. So, the unique key can be used to link to other tables. The column keys and
the table keys produce a massive web of tables that are interconnected. This
interconnection allows for exceptional functionalities like tracking, measuring and utilizing
vast volumes of customer data.

The Salesforce database, like all relational databases, uses two kinds of keys to identify the
columns in the tables:

• Primary Key: A Primary key is a column or a combination of multiple columns that


uniquely identifies the record in an object. When multiple columns are used as the
primary key, data from every column is used to determine the uniqueness of a record.
• Foreign Key: A Foreign key is a column or a combination of multiple columns of the table
(object) that refers to the primary key of another table (object). The Foreign key may not
always point to a primary key in the other table, but will always uniquely identify a row
(record) in a table.
2. Relationships

Relationships are defined to connect the tables (Objects) in Salesforce with each other.
Object relationships allow the creation of intricate dynamic webs of data. Salesforce also
allows the setting up of Object relationships with custom objects. Standard objects come
with prebuilt share relationships.

The Two Types of important types of Relationships in Salesforce are

• Lookup relationships: Wherein related objects are “looked up” from within the object
itself.
• Master-Detail relationships: This connects a master object with a detail object, the
former controlling the latter. Thus, a customer contact master object can be connected to
a customer sales detail object. Deleting the detail object won’t delete the master object,
but deleting the contact master object will delete the sales detail object as well.

Some relationships types used in the Salesforce Database are

• Many to One
• Many to Many
• External lookup
• Self
• Hierarchical

3. Schema Builder

Schema builder is a tool used to visualize, understand, and edit data models. It can help
create fields and objects. It provides a clear visualization of the data flow within the system.

Syncing Data from Salesforce

An important aspect of Salesforce Database management is the transfer of data from


Salesforce to other external systems. The external systems could be data handling
applications, warehouses, other databases, etc. The procedure for Syncing or Migration of
data from Salesforce greatly depends on the format, size, and accuracy of the source data
involved. When the migration involves a large volume of data, there arises a risk of errors.
To overcome this problem, Salesforce uses a virtual space called Org that helps in the
accurate migration of data from the Salesforce Database to external systems.

Some of the efficient tools offered by Salesforce for importing and exporting data are:

• The data import wizard allows the import of objects such as contacts, accounts, and
leads into custom tables (objects) in the database of Salesforce. Over 50,000 records can
be simultaneously imported using this tool. An easy-to-use interface is provided to specify
configuration parameters, field mappings, and data sources. Field mappings support
mapping the field names in the imported file with the field names of the Salesforce
database.
• The Data Loader can import over 5 million records at a time. The advantage of the data
loader is that the data can be of any type, and the source can also be any database
connection. GUI and command line windows are used to operate this tool

Data can be exported automatically or manually in one of two methods:

• The data Export Service is a browser service that can be accessed using a setup
menu. This tool can be used to export data weekly or monthly.
• The data Loader is a separately installable tool that works on GUI and command line
prompts to automate the export process.

APIs can also be used to integrate Salesforce with other systems.

You might also like