You can even develop within the SSDT environment without a connection to a SQL Server
instance using the offline mode. Once your solution is complete, it can be built and deployed to
one or multiple target SQL servers. These changes from DTS to SSIS are crucial to establishing
the discipline and best practices of existing software development methodologies as you develop
business intelligence solutions. We’ll discuss this SSDT development interface in more detail in
Chapter 2.
SSIS Architecture
Microsoft has truly established SSIS as a major player in the extraction, transformation, and loading
(ETL) market. Not only is the SSIS technology a complete code rewrite from SQL Server 2000 DTS,
it now rivals other third-party ETL tools that can cost hundreds of thousands of dollars depending
on how you scale the software — and it is included free with the purchase of SQL Server 2014. Free
always sounds great, but most free products can take you only so far if the feature set is minimal or
the toolset has usability, scalability, or enterprise performance limitations. SSIS, however, is the real
deal, satisfying typical ETL requirements with an architecture that has evolved dramatically from
earlier incarnations. At the time of this publication, SSIS held the world speed record of loading
more than 2 terabytes in a single hour.
Packages
A core component of SSIS is the notion of a package. A package best parallels an executable
program that you can write that contains workflow and business logic. Essentially, a package
is a collection of tasks snapped together to execute in an orderly fashion. A package is also a
unit of execution and development, much like a .NET developer creates programs or DLL files.
Precedence constraints are used to connect the tasks together and manage the order in which they
execute, based on what happens in each task or based on rules defined by the package developer.
The package is brought together into a .DTSX file that is actually an XML-structured file with
collections of properties. Just like other .NET projects, the file-based code is marked up using the
development environment and can then be saved and deployed to a SQL Server.
Don’t worry; you won’t have to know how to write this type of XML to create a package. That’s
what the designer is for. The point here is that the SSIS package is an XML-structured file, much
like .RDL files are to Reporting Services. Of course, there is much more to packages than that, and
you’ll explore the other elements of packages, such as event handlers, later in this chapter.
Control Flow
The brain of a package is its Control Flow, which orchestrates the order of execution for all its
components. The components consist of tasks and containers and are controlled by precedence
constraints, discussed later in this chapter. For example, Figure 1-3 shows three tasks that are tied
together with two precedence constraints.
คุณสามารถพัฒนาได้ภายใน ssdt สภาพแวดล้อมโดยไม่มีการเชื่อมต่อกับ SQL Server
ตัวอย่างการใช้โหมดออฟไลน์ เมื่อแก้ปัญหาเสร็จ มันจะสามารถสร้างและปรับใช้กับ
หนึ่งหรือหลายเซิร์ฟเวอร์ SQL เป้าหมาย การเปลี่ยนแปลงเหล่านี้จาก DTS SSIS เป็นสิ่งสำคัญเพื่อที่จะสร้าง
วินัยและการปฏิบัติที่ดีที่สุดของวิธีการพัฒนาซอฟต์แวร์ที่มีอยู่ในขณะที่คุณพัฒนา
โซลูชั่นธุรกิจอัจฉริยะ เราจะหารือในรายละเอียดเพิ่มเติมในการพัฒนาอินเตอร์เฟซ ssdt
บทที่ 2
Microsoft ได้สร้างสถาปัตยกรรมันอย่างแท้จริง SSIS เป็นผู้เล่นหลักในการสกัด การแปลงและโหลด
( ETL ) ตลาด ไม่เพียง แต่เป็นเทคโนโลยีที่สมบูรณ์รหัสันเขียนจาก SQL Server 2000 DTS
,ตอนนี้คู่แข่งอื่น ๆของบุคคลที่สาม -- เครื่องมือที่สามารถค่าใช้จ่ายหลายร้อยหลายพันดอลลาร์ขึ้นอยู่กับ
วิธีที่คุณระดับซอฟต์แวร์และมันรวมฟรีกับการซื้อ ของ SQL Server 2014 ฟรี
ก็เสียงดี แต่ผลิตภัณฑ์ฟรีที่สุดคุณสามารถใช้เพียงเพื่อให้ห่างไกลถ้าคุณลักษณะชุดน้อยที่สุดหรือ
ชุดเครื่องมือมีการใช้งาน , scalability , หรือองค์กรการปฏิบัติงานที่กำหนด ัน อย่างไรก็ตามของจริง
, ความพึงพอใจความต้องการโดยทั่วไปกับสถาปัตยกรรมที่มีการพัฒนาอย่างมากจาก
incarnations ก่อนหน้านี้ . ในเวลาของสิ่งพิมพ์นี้ันถือโลกบันทึกความเร็วของการโหลด
มากกว่า 2 เทราไบต์ ในชั่วโมงเดียว
เป็นองค์ประกอบหลักของแพคเกจ SSIS เป็นความคิดของแพคเกจ แพคเกจที่ดีที่สุดแนวปฏิบัติการ
โปรแกรมที่คุณสามารถเขียนที่มีเวิร์กโฟลว์และตรรกะทางธุรกิจ เป็นหลัก , แพคเกจ
เป็นคอลเลกชันของงานหมดด้วยกันประหารอย่างเป็นระเบียบ แพคเกจเป็นหน่วยปฏิบัติการและการพัฒนา
มากเช่น . นักพัฒนา NET สร้างโปรแกรมหรือไฟล์ DLL .
ข้อจำกัดเหล่านี้ จะใช้เพื่อเชื่อมต่อกับงานร่วมกันและจัดการเพื่อที่พวกเขา
ดําเนินบนพื้นฐานของสิ่งที่เกิดขึ้นในแต่ละงาน หรือ ตามกฎที่กำหนดไว้ โดยแพคเกจพัฒนา .
แพคเกจพากันเข้าไป . dtsx ไฟล์นั้นเป็นไฟล์ที่มีโครงสร้าง XML
คอลเลกชันคุณสมบัติ เช่นเดียวกับอื่น ๆ โครงการสุทธิ , รหัสที่ใช้แฟ้มเป็นเครื่องหมายที่ใช้สภาพแวดล้อมการพัฒนาและจากนั้นจะสามารถบันทึกและใช้ SQL Server .
ไม่ต้องกังวลคุณไม่ต้องรู้วิธีการเขียนประเภทนี้ของ XML เพื่อสร้างแพคเกจ นั่นคือสิ่งที่นักออกแบบ
เป็น ที่นี่เป็นจุดที่แพคเกจ SSIS เป็นแฟ้ม XML ที่มีโครงสร้างมาก
เช่น ไฟล์วพร . จะรายงานการบริการ แน่นอน , มีมากขึ้นในแพคเกจที่มากกว่า , และ
คุณจะสำรวจองค์ประกอบอื่น ๆของบรรจุภัณฑ์ เช่น ตัวจัดการเหตุการณ์ในภายหลังในบทนี้
การไหลควบคุมสมองของแพคเกจคือการควบคุมการไหลของ ซึ่ง orchestrates สั่งประหารสำหรับคอม
ทั้งหมด ส่วนประกอบ ประกอบด้วย งาน และคอนเทนเนอร์ และถูกควบคุมโดยข้อจำกัดอยู่
, กล่าวถึงในภายหลังในบทนี้ ตัวอย่าง รูปที่ 1-3 แสดงงานสามที่ถูกมัด
พร้อมกับสองเหนือข้อจำกัด
การแปล กรุณารอสักครู่..
