{"id":360,"date":"2016-02-17T23:42:41","date_gmt":"2016-02-17T23:42:41","guid":{"rendered":"http:\/\/zappysys.com\/blog\/?p=360"},"modified":"2016-08-31T21:03:05","modified_gmt":"2016-08-31T21:03:05","slug":"amazon-redshift-data-load-in-informatica-powercenter","status":"publish","type":"post","link":"https:\/\/zappysys.com\/blog\/amazon-redshift-data-load-in-informatica-powercenter\/","title":{"rendered":"Amazon Redshift data load in Informatica PowerCenter"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p>In our <a href=\"https:\/\/zappysys.com\/posts\/sql-server-to-redshift-data-load-using-ssis\/#Command_line_approach_for_SQL_Server_to_Redshift_data_load\" target=\"_blank\">previous post<\/a> you learned how to load data into Redshift using SSIS. Now in this post you will learn how to load data into Redshift using <strong>Informatica PowerCenter<\/strong>. For PowerCenter we will use <a href=\"\/\/zappysys.com\/products\/zappyshell\/amazon-redshift-command-line-tools\/\" target=\"_blank\">ZappyShell Command line for Redshift Data Load<\/a>. This small powerful command line utility can handle load of several millions or billions records in few minutes. It uses parallel execution engine which takes care most tedious steps of loading data into Amazon Redshift.<\/p>\n<h2>Using informatica command task to load data into redshift<\/h2>\n<p>Informatica PowerCenter has simple task to execute command lines. you can use this task to execute ZappyShell command line. Perform following steps to load data.<\/p>\n<ol>\n<li>Download and install <a href=\"\/\/zappysys.com\/products\/zappyshell\/amazon-redshift-command-line-tools\/\" target=\"_blank\">ZappyShell for Amazon Redshift from here<\/a><\/li>\n<li>Now you ready to data into Amazon Redshift<\/li>\n<li>Drag new command task into your Informatica workflow<\/li>\n<li>Enter below command to load data from SQL Server to Redshift. If you have ODBC connectivity then use ODBC DSN to read your data.<\/li>\n<li>You can use script file approach too where each command line parameter can be nicely wrapped in new line.<br \/>\nHere is sample command you can try to load data from SQL Server to Redshift. if you have ODBC connectivity then use ODBC DSN to read your data.<\/p>\n<pre class=\"lang:c decode:true \">c:\\zappyshell\\aws.exe import Db \r\n\t--source-driver ADONET_MSSQL \r\n\t--source-query \"select ROW_NUMBER()Over(order by a.CustomerID) Id, a.*,b.*,c.OrderID,c.OrderDate,c.Freight  from customers a,products b,orders c\" \r\n\t--source-archivemethod None \r\n\t--source-stage-archivemethod Delete \r\n\t--target-stage-archivemethod Delete \r\n\t--source-stagepath \"c:\\redshift\\stage\" \r\n\t--target-table \"customerdata\" \r\n\t--target-stagepath \"bw-rstest\/cmdstage\" \r\n\t--target-truncate \r\n\t--logfile \"c:\\redshift\\log.txt\" \r\n\t--maxrows-perfile 100000 \r\n\t--region us-east-1 \r\n\t--accesskey \"AKIA*****************\" \r\n\t--secretkey \"lPi+XQ************************\"  \r\n\t--source-connstr \"Data Source=localhost;Initial Catalog=Northwind;Integrated Security=SSPI;\"  \r\n\t--target-connstr \"Host=mytestcluster-1.csu********.us-east-1.redshift.amazonaws.com;Port=5439;Database=dev;UserName=masteruser;Password=*********;EnableSsl=true;Timeout=30;CommandTimeout=3600;\"\r\n<\/pre>\n<\/li>\n<li>For complete help on import command check help file \/\/zappysys.com\/onlinehelp\/zappyshell\/scr\/aws\/aws-redshift-import.htm<\/li>\n<\/ol>\n<div id=\"attachment_405\" style=\"width: 746px\" class=\"wp-caption alignnone\"><a href=\"\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/02\/amazon-redshift-import-command-line-tools-copy-s3-aws.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-405\" class=\"size-full wp-image-405\" src=\"\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/02\/amazon-redshift-import-command-line-tools-copy-s3-aws.png\" alt=\"Informatica PowerCenter Redshift Data Load - Amazon Redshift Import Command line tools (COPY, S3, AWS)\" width=\"736\" height=\"571\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/02\/amazon-redshift-import-command-line-tools-copy-s3-aws.png 736w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/02\/amazon-redshift-import-command-line-tools-copy-s3-aws-300x233.png 300w\" sizes=\"(max-width: 736px) 100vw, 736px\" \/><\/a><p id=\"caption-attachment-405\" class=\"wp-caption-text\">Informatica PowerCenter Redshift Data Load &#8211; Amazon Redshift Import Command line tools (COPY, S3, AWS)<\/p><\/div>\n<h2>ZappyShell Command Line for Redshift<\/h2>\n<p>Below are few feature for Command line for Amazon Redshift<\/p>\n<p>\u25feImport data to AWS Redshift database from files or relational source (e.g. MySQL, Oracle, SQL Server)<br \/>\n\u25feImport huge amount of data (millions of rows) in few minutes with parallel load techniques<br \/>\n\u25feLoad local flat files to Redshift in just single line command (option to compress data files to *.gz to speed up transfer)<br \/>\n\u25feSupport for Client side encryption using AES 256 Key<br \/>\n\u25feLoad data from any data source (ODBC,ADO.net or OLEDB) using sql query<br \/>\n\u25feImport compressed data files (*.gz) to redshift<br \/>\n\u25feArchive files, error reporting, file splitting, many other features<\/p>\n<div class=\"lyte-wrapper fourthree\" style=\"width:480px;max-width:100%;margin:5px auto;\"><div class=\"lyMe\" id=\"WYL_Oz5Rfztzo0U\"><div id=\"lyte_Oz5Rfztzo0U\" data-src=\"https:\/\/zappysys.com\/blog\/wp-content\/plugins\/wp-youtube-lyte\/lyteCache.php?origThumbUrl=%2F%2Fi.ytimg.com%2Fvi%2FOz5Rfztzo0U%2Fhqdefault.jpg\" class=\"pL\"><div class=\"tC\"><div class=\"tT\"><\/div><\/div><div class=\"play\"><\/div><div class=\"ctrl\"><div class=\"Lctrl\"><\/div><div class=\"Rctrl\"><\/div><\/div><\/div><noscript><a href=\"https:\/\/youtu.be\/Oz5Rfztzo0U\" rel=\"nofollow\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/plugins\/wp-youtube-lyte\/lyteCache.php?origThumbUrl=https%3A%2F%2Fi.ytimg.com%2Fvi%2FOz5Rfztzo0U%2F0.jpg\" alt=\"\" width=\"480\" height=\"340\" \/><br \/>Watch this video on YouTube<\/a><\/noscript><\/div><\/div><div class=\"lL\" style=\"max-width:100%;width:480px;margin:5px auto;\"><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction In our previous post you learned how to load data into Redshift using SSIS. Now in this post you will learn how to load data into Redshift using Informatica PowerCenter. For PowerCenter we will use ZappyShell Command line for Redshift Data Load. This small powerful command line utility can handle load of several millions [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":405,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44],"tags":[74,77,29,75,76,30,73],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>Amazon Redshift data load in Informatica PowerCenter | ZappySys Blog<\/title>\r\n<meta name=\"description\" content=\"In this post learn how to load data into Redshift inside Informatica PowerCenter. Load billions of rows from SQL Server, Oracle, MySQL to Redshift.\" \/>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/zappysys.com\/blog\/amazon-redshift-data-load-in-informatica-powercenter\/\" \/>\r\n<meta property=\"og:locale\" content=\"en_US\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"Amazon Redshift data load in Informatica PowerCenter | ZappySys Blog\" \/>\r\n<meta property=\"og:description\" content=\"In this post learn how to load data into Redshift inside Informatica PowerCenter. Load billions of rows from SQL Server, Oracle, MySQL to Redshift.\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/zappysys.com\/blog\/amazon-redshift-data-load-in-informatica-powercenter\/\" \/>\r\n<meta property=\"og:site_name\" content=\"ZappySys Blog\" \/>\r\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/ZappySys\/\" \/>\r\n<meta property=\"article:published_time\" content=\"2016-02-17T23:42:41+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2016-08-31T21:03:05+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/02\/amazon-redshift-import-command-line-tools-copy-s3-aws.png\" \/>\r\n\t<meta property=\"og:image:width\" content=\"736\" \/>\r\n\t<meta property=\"og:image:height\" content=\"571\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\r\n<meta name=\"author\" content=\"ZappySys\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/zappysys\/\" \/>\r\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ZappySys\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zappysys.com\/blog\/amazon-redshift-data-load-in-informatica-powercenter\/\",\"url\":\"https:\/\/zappysys.com\/blog\/amazon-redshift-data-load-in-informatica-powercenter\/\",\"name\":\"Amazon Redshift data load in Informatica PowerCenter | ZappySys Blog\",\"isPartOf\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/zappysys.com\/blog\/amazon-redshift-data-load-in-informatica-powercenter\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/zappysys.com\/blog\/amazon-redshift-data-load-in-informatica-powercenter\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/02\/amazon-redshift-import-command-line-tools-copy-s3-aws.png\",\"datePublished\":\"2016-02-17T23:42:41+00:00\",\"dateModified\":\"2016-08-31T21:03:05+00:00\",\"author\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82\"},\"description\":\"In this post learn how to load data into Redshift inside Informatica PowerCenter. Load billions of rows from SQL Server, Oracle, MySQL to Redshift.\",\"breadcrumb\":{\"@id\":\"https:\/\/zappysys.com\/blog\/amazon-redshift-data-load-in-informatica-powercenter\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zappysys.com\/blog\/amazon-redshift-data-load-in-informatica-powercenter\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/amazon-redshift-data-load-in-informatica-powercenter\/#primaryimage\",\"url\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/02\/amazon-redshift-import-command-line-tools-copy-s3-aws.png\",\"contentUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/02\/amazon-redshift-import-command-line-tools-copy-s3-aws.png\",\"width\":736,\"height\":571,\"caption\":\"Informatica PowerCenter Redshift Data Load - Amazon Redshift Import Command line tools (COPY, S3, AWS)\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zappysys.com\/blog\/amazon-redshift-data-load-in-informatica-powercenter\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/zappysys.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Amazon Redshift data load in Informatica PowerCenter\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/zappysys.com\/blog\/#website\",\"url\":\"https:\/\/zappysys.com\/blog\/\",\"name\":\"ZappySys Blog\",\"description\":\"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/zappysys.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82\",\"name\":\"ZappySys\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g\",\"caption\":\"ZappySys\"},\"sameAs\":[\"http:\/\/www.zappysys.com\/\",\"https:\/\/www.facebook.com\/ZappySys\/\",\"https:\/\/twitter.com\/https:\/\/twitter.com\/zappysys\/\"],\"url\":\"https:\/\/zappysys.com\/blog\/author\/admin\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Amazon Redshift data load in Informatica PowerCenter | ZappySys Blog","description":"In this post learn how to load data into Redshift inside Informatica PowerCenter. Load billions of rows from SQL Server, Oracle, MySQL to Redshift.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zappysys.com\/blog\/amazon-redshift-data-load-in-informatica-powercenter\/","og_locale":"en_US","og_type":"article","og_title":"Amazon Redshift data load in Informatica PowerCenter | ZappySys Blog","og_description":"In this post learn how to load data into Redshift inside Informatica PowerCenter. Load billions of rows from SQL Server, Oracle, MySQL to Redshift.","og_url":"https:\/\/zappysys.com\/blog\/amazon-redshift-data-load-in-informatica-powercenter\/","og_site_name":"ZappySys Blog","article_author":"https:\/\/www.facebook.com\/ZappySys\/","article_published_time":"2016-02-17T23:42:41+00:00","article_modified_time":"2016-08-31T21:03:05+00:00","og_image":[{"width":736,"height":571,"url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/02\/amazon-redshift-import-command-line-tools-copy-s3-aws.png","type":"image\/png"}],"author":"ZappySys","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/zappysys\/","twitter_misc":{"Written by":"ZappySys","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zappysys.com\/blog\/amazon-redshift-data-load-in-informatica-powercenter\/","url":"https:\/\/zappysys.com\/blog\/amazon-redshift-data-load-in-informatica-powercenter\/","name":"Amazon Redshift data load in Informatica PowerCenter | ZappySys Blog","isPartOf":{"@id":"https:\/\/zappysys.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/zappysys.com\/blog\/amazon-redshift-data-load-in-informatica-powercenter\/#primaryimage"},"image":{"@id":"https:\/\/zappysys.com\/blog\/amazon-redshift-data-load-in-informatica-powercenter\/#primaryimage"},"thumbnailUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/02\/amazon-redshift-import-command-line-tools-copy-s3-aws.png","datePublished":"2016-02-17T23:42:41+00:00","dateModified":"2016-08-31T21:03:05+00:00","author":{"@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82"},"description":"In this post learn how to load data into Redshift inside Informatica PowerCenter. Load billions of rows from SQL Server, Oracle, MySQL to Redshift.","breadcrumb":{"@id":"https:\/\/zappysys.com\/blog\/amazon-redshift-data-load-in-informatica-powercenter\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zappysys.com\/blog\/amazon-redshift-data-load-in-informatica-powercenter\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/amazon-redshift-data-load-in-informatica-powercenter\/#primaryimage","url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/02\/amazon-redshift-import-command-line-tools-copy-s3-aws.png","contentUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/02\/amazon-redshift-import-command-line-tools-copy-s3-aws.png","width":736,"height":571,"caption":"Informatica PowerCenter Redshift Data Load - Amazon Redshift Import Command line tools (COPY, S3, AWS)"},{"@type":"BreadcrumbList","@id":"https:\/\/zappysys.com\/blog\/amazon-redshift-data-load-in-informatica-powercenter\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zappysys.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Amazon Redshift data load in Informatica PowerCenter"}]},{"@type":"WebSite","@id":"https:\/\/zappysys.com\/blog\/#website","url":"https:\/\/zappysys.com\/blog\/","name":"ZappySys Blog","description":"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zappysys.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82","name":"ZappySys","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g","caption":"ZappySys"},"sameAs":["http:\/\/www.zappysys.com\/","https:\/\/www.facebook.com\/ZappySys\/","https:\/\/twitter.com\/https:\/\/twitter.com\/zappysys\/"],"url":"https:\/\/zappysys.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/360"}],"collection":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/comments?post=360"}],"version-history":[{"count":1,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/360\/revisions"}],"predecessor-version":[{"id":768,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/360\/revisions\/768"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media\/405"}],"wp:attachment":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media?parent=360"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/categories?post=360"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/tags?post=360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}