Connection Managers are used to centralize connection strings to data sources and to abstract them
from the SSIS packages themselves. They can be shared across multiple packages in a project or
isolated to a single package. Connection Managers also allow you to externalize the configuration
of them at runtime by your DBA with a configuration file or parameters (which we’ll describe in
Chapter 22). SSIS will not use the connection until you begin to instantiate it in the package. This
provides the ultimate in lightweight development portability for SSIS.
You learned earlier that the Data Flow Task is simply another executable task in the package. The
Data Flow Task is the pipeline mechanism that moves data from source to destination. However, in
the case of SSIS, you have much more control of what happens from start to finish. In fact, you have
a set of out-of-the-box transformation components that you snap together to clean and manipulate
the data while it is in the data pipeline.
One confusing thing for new SSIS developers
is that once you drag and drop a Data Flow
Task in the Control Flow, it spawns a new
Data Flow design surface with its own
new tab in the SSDT user interface. Each Data
Flow Task has its own design surface that
you can access by double-clicking the Data
Flow Task or by clicking the Data Flow tab
and selecting the name of the Data
Flow Task from the drop-down list. Just as
the Control Flow handles the main workflow
of the package, the Data Flow handles the
transformation of data in memory. Almost
anything that manipulates data falls into
the Data Flow category. As data moves
through each step of the Data Flow, the
data changes, based on what the transform
does. For example, in Figure 1-5, a new
column is derived using the Derived Column
Transformation, and that new column is then
available to subsequent transformations or to
the destination.
In this section, each of the sources, destinations, and transformations are covered from an overview
perspective. These areas are covered in much more detail in later chapters.
Sources
A source is a component that you add to the Data Flow design surface to specify the location of
the source data that will send data to components downstream. Sources are configured to use
Connection Managers in order to enable the reuse of connections throughout your package. SSIS
provides eight out-of-the-box sources:
➤➤ OLE DB Source: Connects to nearly any OLE DB data source, such as SQL Server, Access,
Oracle, or DB2, to name just a few.
ผู้จัดการการเชื่อมต่อจะใช้ในการรวมสตริงการเชื่อมต่อไปยังแหล่งข้อมูลและนามธรรมพวกเขา
จาก SSIS แพ็คเกจเอง พวกเขาสามารถใช้ร่วมกันในแพคเกจหลายๆโครงการหรือ
แยกแพคเกจเดียว ผู้จัดการการเชื่อมต่อยังอนุญาตให้คุณ externalize ค่า
ของพวกเขาที่ runtime โดย DBA กับแฟ้มค่าตั้งหรือพารามิเตอร์ ( ซึ่งเราจะอธิบายใน
บทที่ 22 ) ันจะไม่ใช้การเชื่อมต่อจนกว่าคุณจะเริ่มที่จะยกตัวอย่างในแพคเกจ นี้
ให้สุดยอดในการพัฒนาเบาพกพาสำหรับ SSIS .
คุณได้เรียนรู้ก่อนหน้านี้ว่า การไหลของข้อมูลงานอื่นที่เป็นเพียงงานในแพคเกจ
ข้อมูลปริมาณงานเป็นอีกกลไกที่ย้ายข้อมูลจากต้นทางไปปลายทาง อย่างไรก็ตาม ในกรณีของ SSIS
,คุณมีการควบคุมมากขึ้นของสิ่งที่เกิดขึ้นตั้งแต่ต้นจนจบ ในความเป็นจริง , คุณ
ชุดออกจากกล่องแปลงส่วนประกอบที่คุณ snap ร่วมกัน เพื่อความสะอาดและจัดการ
ข้อมูลในขณะที่มันเป็นในข้อมูลท่อ .
สิ่งหนึ่งสับสนใหม่นักพัฒนา SSIS
คือว่าเมื่อคุณลากและวางไหล
ข้อมูลงานในการควบคุมการไหล มันเกิดใหม่ การไหลของข้อมูลการออกแบบพื้นผิวด้วย
ของตัวเองแท็บใหม่ใน ssdt ส่วนติดต่อผู้ใช้ ข้อมูลแต่ละ
ไหลงานมีพื้นผิวการออกแบบของตัวเองที่คุณสามารถเข้าถึงได้ด้วยการคลิกสองครั้ง
การไหลข้อมูลงานหรือโดยการคลิกที่การไหลของข้อมูลและการเลือกชื่อของแท็บ
การไหลข้อมูลงานจากรายการแบบหล่นลง เช่นเดียวกับการควบคุมการไหลจับหลัก
เวิร์กโฟลว์ของแพคเกจ , การไหลของข้อมูลที่จัดการ
การแปลงข้อมูลในหน่วยความจำ เกือบ
อะไรที่จัดการข้อมูลตกอยู่
ประเภทการไหลของข้อมูล เป็นข้อมูลที่ย้าย
ผ่านแต่ละขั้นตอนของการไหลของข้อมูล ,
การเปลี่ยนแปลงข้อมูลบนพื้นฐานของอะไรแปลง
ไม่ ตัวอย่างเช่น ในรูปที่ 1-5 เป็นคอลัมน์ใหม่
) โดยใช้คอลัมน์ได้รับการเปลี่ยนแปลง และคอลัมน์ใหม่แล้ว
พร้อมแปลงตามมา หรือปลายทาง .
ในส่วนนี้ของแต่ละแหล่งสถานที่ , และการแปลงจะครอบคลุมจากภาพรวม
มุมมอง พื้นที่เหล่านี้จะครอบคลุมในรายละเอียดมากขึ้น ในบทต่อมา
เป็นแหล่งที่มาเป็นส่วนประกอบที่คุณเพิ่มลงในการไหลของข้อมูลการออกแบบพื้นผิวเพื่อระบุตำแหน่งของ
แหล่งข้อมูลที่จะส่งข้อมูลไปยังคอมโพเนนต์ที่ปลายน้ำ แหล่งที่มาจะกำหนดค่าให้ใช้
ติดต่อผู้จัดการเพื่อช่วยให้ใช้การเชื่อมต่อตลอดแพคเกจของคุณ SSIS
มีแปดออกจากกล่องแหล่งที่มา :
➤➤ OLE DB แหล่ง OLE DB : เชื่อมต่อเกือบทุกแหล่งข้อมูล เช่น SQL Server , การเข้าถึง ,
Oracle , DB2 , ชื่อเพียงไม่กี่
การแปล กรุณารอสักครู่..
