Data Management

Objectives
By the end o this module, you should understand the fundamentals of data management, including:
1.Explain typical data management operations.
2.Describe typical user cases for inserting system fields.
3.List the ways to obtain record IDS.
4.Perform mass transfer of records.
5.describe External IDs.
6.Explain the basics of object relationships.

Data Management Operations
1.Data management:
- Is an on-going process.
- Is not a one-time task.
2.Various data management operations include:
- Exporting data
- Deleting data
- Insert data
- Updating data
- Upserting data

Exporting Data
1.Data can be exported from Salesforce into a set of CSV files.

2.Data is exported to:
- Create backups.
- Get reference IDS for records.

Deleting Data
1.Data can be deleted from Salesforce using the deleting data operation.
2.This operation is used to:
- Free up the space used by out of data or bad data.
- Fix mistakes.
3.On deletion, data is moved to the Recycle Bin.

Insert Data
1. This insert data operation can be used to load data into Salesforce
2.This operation can be used for:
- Initial Salesforce setup
- Migrating data from legacy systems.
- Load data to sandbox.

Inserting System Fields
1.Salesforce allows the use of inserting System Fields feature to set the system fields.
2.Inserting System Fields:
- Works only at the time of setting a record's system fields.
- Are accessible only through the API-based management tools.
- Work for all custom objects.
- Restricted to Account, Opportunity, Contact, Lead, Case, task, and Event standard objects.

Updating Data
1.The updating data operation is used for:
- Add data to existing records.
- Transfer ownership of records to a different user.
2.Salesforce record IDs are required to perform this operation.

Salesforce Record IDs
1. Salesforce records ID is:
- An ID value generated by Salesforce when a new record is created.
- A unique identifier of the record.
- Analogous to a primary or foreign key field in a database table.
2.Saleforce.com record IDs exist in two forms:
- The 15-digit case sensitive form.
For example:005E000000KF38
- The 18-digit case insensitive form.
For example:005E0000000KF38IAG

Record IDs Introduction
You can access record IDs in four ways:
1.From URL(15-digit ID)
2.From a report
-In a report, record IDs for all records are displayed in a separate column.
- Reports return the 15 digit-ID
3.Through the SOAP-based Web Service API
- All record IDs are obtained when records are extracted using the Web service API.
4.Through formulas
- You can access record IDS by creating a formula(5-digit ID)

Mass Transferring Records
1. The mass transfer tool is used to transfer multiple accounts, leads, or custom objects from one use to another.
2.To transfer records, following permissions are required:
- "Transfer Records" of "Transfer lead".
- "Edit" on the specified object.
- "Read" on the records being transferred.

Upserting data
1.Migrate new and existing records from a legacy system to Salesforce.
2.Upsert data operation is useful to identify duplicate entries for the same ID.
3.This operation uses Salesforce ID or external ID to create a new record of update an existing record as follows:
- If the ID is not matched, a new record is created.
- If the ID is matched once, the existing record is updated.
- If the ID is matched multiple times, an error is reported.

External IDs
1.External IDs are useful while migrating data or integrating data between legacy system and Salesforce.
2.External ID:
- Is a flag that can be added to a custom field.
- Can be created for any custom field of type text, number, or email.
- Each object can have up to three external IDs.

Upsert with object Relationships
1. Relationships existed between objects.
2.Object relationships affect the order in which data can be managed.
3.Relationship are expressed through:
- Replaced lists and look-up in the application.
- Foreign keys or IDs in the database.
4.The upsert function allows to load data with their relationships using the external IDs.

Steps to Load Data
1.Object relationships introduce data dependencies.
2.Dependencies dictate the order of data load.

Summary
1.Data management is an on-going process to keep data in your application up-todate,accurate, and clean.
2.To manage data effectively and efficiently, to perform data management operations such as exporting, inserting, updating, upserting and deleting data.
3.When inserting data, you have the option of using inserting system fields.
4.Saleforce generate an id value when you create a new record and add data.
5.Record IDs describe object relationships that define the order in which data can be managed.

Data Management Tool

Objectives
By the end of the module, you should be able to:
1.List available tools to perform data management operations.
2.Use the Data Loader to perform data management operations.
3.Define the Bulk API and its use cases.

Tools for Data Migration
Data van be migrated into Saleforce using:
1.Import Wizards, or
2.Web service API.

Import Wizards
1.Are easy to use
2.Can be used to load up to 50,000 records.
3.Load accounts, contracts, leads, solutions, or custom objects.

API-Based tools
1. Load any object support by the API
2. Load more that 50,000 records
3.Schedule regular data loads such as nightly feeds
4.Export data for backup
5.Delete multiple supported objects at the same time
6.Tools that function through Web Services API include;
- Data loader
- Partner tools
- Custom-biult tools
- Open Source tools

Data Loader:
1.Is a Salesforce product.
2.Supports data import from and export to a CSV files.
3.Support data load from and export to a database through JDBC.
4.Supports custom relationships for upsert.
5.Can be run from command line.
6.Can be run in batch mode.

Obtaining the Data Loader
The data Loader:
1.Can be downloaded by System Administrators.
2.Is available in UE, EE, and DE orgs.

Other Avaiable API Data Management Tools
1.Additional data Management tools can be obtained from:http://develper.force.com

Bulk API
The Bulk API:
1.Is used to load high-volume data.
2.Is optimized to perform insert, update, upsert, or delete operation on larger number or records.
3.Improves throughput when loading large data sets due to parallel processing.
4.Can be monitored by navigating to Monitoring section in the Setup menu.

Working of the Bulk API
1.Data is transferred at full network speeds, reducing dropped connections.
2.The whole data set is managed in a job that can be monitored and controlled from Setup menu.
3.The data set van be processed faster by allocating multiple servers to process in parallel.

Using Data Loader with the Bulk API
1.Data Loader uses SOAP-based Web services by default.
2.To use the Bulk API, enable the Bulk API option.
3.Salesforce provides an additional serial mode for Bulk API.
4.With serial mode, batched can be processed one at a time.
5.Hard deletes can be performed using the Hard Delete.

Summary
1.Data can be managed either using the import wizards, or through the API.
2.The import wizards do not require any programming or developer skills.
3.API-based tools can be used to schedule regular data loads such as nightly feeds, export data for backup, and delete multiple supported objects data.

Data Management and Data Management Tools的更多相关文章

  1. Coursera, Big Data 2, Modeling and Management Systems (week 4/5/6)

    week4 streaming data format 下面讲 data lakes schema-on-read: 从数据源读取raw data 直接放到 data lake 里,然后再读到mode ...

  2. Coursera, Big Data 2, Modeling and Management Systems (week 1/2/3)

    Introduction to data management 整个coures 2 是讲data management and storage 的,主要内容就是分布式文件系统,HDFS, Redis ...

  3. Datasets for Data Mining and Data Science

    https://github.com/mattbane/RecommenderSystem http://grouplens.org/datasets/movielens/ KDDCUP-2012官网 ...

  4. SQL data reader reading data performance test

    /*Author: Jiangong SUN*/ As I've manipulated a lot of data using SQL data reader in recent project. ...

  5. Desktop Management Interface & System Management BIOS

    http://en.wikipedia.org/wiki/Desktop_Management_Interface Desktop Management Interface From Wikipedi ...

  6. 【转】浏览器中的data类型的Url格式,data:image/png,data:image/jpeg!

    所谓"data"类型的Url格式,是在RFC2397中 提出的,目的对于一些"小"的数据,可以在网页中直接嵌入,而不是从外部文件载入.例如对于img这个Tag, ...

  7. 初探 spring data(一)--- spring data 概述

    由于自己一个项目要用多到Sql与NoSql两种截然不同的数据结构,但在编程上我希望统一接口API,让不同类型的数据库能在相同的编程接口模式下运作.于是找了一个spring的官网,发现一个spring ...

  8. OCM_第二十天课程:Section9 —》Data Guard _ DATA GUARD 搭建/DATA GUARD 管理

    注:本文为原著(其内容来自 腾科教育培训课堂).阅读本文注意事项如下: 1:所有文章的转载请标注本文出处. 2:本文非本人不得用于商业用途.违者将承当相应法律责任. 3:该系列文章目录列表: 一:&l ...

  9. OCM_第十九天课程:Section9 —》Data Guard _ DATA GUARD 原理/DATA GUARD 应用/DATA GUARD 搭建

    注:本文为原著(其内容来自 腾科教育培训课堂).阅读本文注意事项如下: 1:所有文章的转载请标注本文出处. 2:本文非本人不得用于商业用途.违者将承当相应法律责任. 3:该系列文章目录列表: 一:&l ...

随机推荐

  1. Leetcode 141题 环形链表(Linked List Cycle) Java语言求解

    题目描述: 给定一个链表,判断链表中是否有环. 为了表示给定链表中的环,我们使用整数 pos 来表示链表尾连接到链表中的位置(索引从 0 开始). 如果 pos 是 -1,则在该链表中没有环. Map ...

  2. 5,Hadoop中的文件

    1,文件结构 · bin:脚本和命令目录. · etc:配置文件目录. · sbin:命令目录,主要包含HDFS和YARN中各类服务的启动和关闭,依赖于bin中的脚本. · share:各个模块编译后 ...

  3. 完全依赖QML实现播放器

    前言 一直听闻QML无比强大好用,工作中需要扣一个同时播放视频的Demo,所以就趁这个机会研究了一下. 效果图和源码 源码仓库 主要设计 主页面QML import QtQuick 2.12 impo ...

  4. nx-admin1.2版本发布

    nx-admin 是一个开源的管理系统前端集成方案 github地址 nx-admin的初心 组件更易用, 让每个小白快速上手, 最大程度上帮助个人,企业节省时间成本和费用开支. 尽管这个过程不简单, ...

  5. [红日安全]Web安全Day9 - 文件下载漏洞实战攻防

    本文由红日安全成员: Once 编写,如有不当,还望斧正. 大家好,我们是红日安全-Web安全攻防小组.此项目是关于Web安全的系列文章分享,还包含一个HTB靶场供大家练习,我们给这个项目起了一个名字 ...

  6. C++读入输出优化

    读入输出优化虽然对于小数据没有半点作用,但是对于大数据来说,可以优化几十ms. 有时就是那么几十ms,可以被卡掉大数据的点 读入优化 int read() { int x=0,sig=1; char ...

  7. 【Java必修课】判断String是否包含子串的四种方法及性能对比

    1 简介 判断一个字符串是否包含某个特定子串是常见的场景,比如判断一篇文章是否包含敏感词汇.判断日志是否有ERROR信息等.本文将介绍四种方法并进行性能测试. 2 四种方法 2.1 JDK原生方法St ...

  8. Html5 部分帮助文档 未完待续

     W3cSchoolH5帮助文档 Video属性 视频播放效果 Video标签 src视频得目录 controls属性提供添加 播放 和音量控件 当然呢 不设置宽和高得话 视频会很大 Video还可以 ...

  9. JS数组遍历方法集合

    就让我们在逆战中成长吧,加油武汉,加油自己 1.for循环 使用零时变量将长度存起来,当数组较大时优化效果才会比较明显. var ar1=[2,4,6,8] for(var i=0;i<ar1. ...

  10. (28)ASP.NET Core AutoMapper组件

    1.什么是AutoMapper? AutoMapper是一个对象-对象映射器.对象-对象映射通过将一种类型的输入对象转换为另一种类型的输出对象来工作.使AutoMapper变得有趣的是,它提供了一些有 ...