|
||||||
| BI Monkey BI Monkey is the ‘nom de plume’ of James Beresford, a Certified Microsoft BI Professional and MBA living and consulting in Sydney |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Senior Member
Join Date: Jun 2009
Posts: 62
![]() |
What is the best feature of SSIS? This could be a hot topic I’m sure, but for me the real killer feature is that your tool set is not limited to out-of-the box objects. Unlike other vendors, the SSIS black box isn’t completely closed – it’s more of a grey box. While you cannot alter the basic way SSIS operates, you can can get it to perform tasks or process data in the flow as you wish.
What kind of Custom Objects are there? There are five categories of Custom Object – Control Flow Tasks, Data Flow Pipeline Objects, ForEach Enumerators, Connection Managers and Log Providers. This is not much of a surprise as those are the categories of standard objects. The most common of these are of the Control Flow and Data Flow objects. Control Flow Tasks allow you to perform activities in the Control Flow. For example Konesan’s File Watcher watches for the arrival of a file within a folder. Data Flow Pipeline objects function in the Data flow. An example of allowing for extra connectivity options is Cozyroc’s Informix Bulk Load destination. Pipeline activities are also included – such as Rémi Pestre’s Error Output Description which adds error code descriptions. As you are probably beginning to realise, there’s a wide range of possibilities in terms of what Custom Objects can do. When would I want to use a Custom Object? There are two main scenarios where you would want to use a Custom Object:
I managed to knock up some code which did all the lookups in parallel. Though the code was faster, it wasn’t a great deal better from a usability perspective. I turned to Cozyroc to turn this mangled process into a neat object. The end result was a single object that could handle all the lookups through a GUI. There was no need for a developer to go anywhere near the code. This saved huge amounts of development time and made managing the packages much easier. The second scenario is more about code management and reusability. The only way to migrate code from package to package is to cut and paste the code and reconfigure the object for the new data flow. You may have a task that is repeated in many places. A common example of this is data cleansing rules that need to be applied to many columns in a flow. Where you do this in a script where the only variable is the columns being processed, this is a good candidate to convert to a object. As in my example above this will mean the SSIS* developers can get back to using a GUI and avoid time consuming hand coding. Where are the risks in using Custom Objects? There are a few practical considerations to take on board before packing your project with a fistful of custom objects. These have all been valid concerns raised by clients:
How do I make my own? If you have a script object that you want to convert to a object or want to consolidate some functionality, you need to be able to code in a language that can make a .NET dll. Common languages used are C# and VB.NET. Then you need to work out how to build a object – a good place for those BI Monkeys who are code-minded would be to look at Todd McDermid’s series on the subject that starts with the post “Converting Your Script Task Into a Custom Task, Part I – Why?“. I’ve yet to try, largely because of my aversion to code, but expect to wander into this territory soon. So how do I get started? I suggest you get yourself over to Codeplex at the SSIS Community Tasks and Components page and pick something that looks simple – i’d suggest the FileWatcher or Pause tasks* – download and install them on your dev box, and see how easy it is! I’d love to hear of peoples experiences with CustomObjects – good and bad. From both sides of the fence too – users and developers! Thanks to Todd McDermid for his input on this post Get More from the original blog... |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Formatting SSIS Configuration files | James Beresford | BI Monkey | 0 | 11th August 2009 12:58 PM |
| SSIS Expression Language basics | James Beresford | BI Monkey | 0 | 6th August 2009 09:15 PM |
| SSIS Loops that do not fail | James Beresford | BI Monkey | 0 | 3rd August 2009 07:05 PM |
| Do? While / Until Loops in SSIS | James Beresford | BI Monkey | 0 | 23rd July 2009 10:30 PM |
| Scandal doesn't deter custom | Latest News Headlines | Latest News | 0 | 7th July 2009 05:48 AM |
|
|
|
|
|
|