{"id":79630,"date":"2020-08-26T09:00:28","date_gmt":"2020-08-26T03:30:28","guid":{"rendered":"https:\/\/techvidvan.com\/tutorials\/?p=79630"},"modified":"2020-08-26T09:00:28","modified_gmt":"2020-08-26T03:30:28","slug":"apache-sqoop-supported-databases","status":"publish","type":"post","link":"https:\/\/techvidvan.com\/tutorials\/apache-sqoop-supported-databases\/","title":{"rendered":"Relational Databases Supported by Sqoop"},"content":{"rendered":"<p>Apache Sqoop transfers data between the relational Databases (which has JDC connectivity) and the Hadoop ecosystem (HDFS, HBase, Hive). In this article, you will explore different types of relational Databases supported by Apache Sqoop.<\/p>\n<p>You will also learn about the specific versions of databases supported by Sqoop. The article first gives a short introduction to Apache Sqoop and then enlist the Sqoop Supported Databases.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/Sqoop-supported-databases-TV.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-79687\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/Sqoop-supported-databases-TV.jpg\" alt=\"Sqoop supported databases\" width=\"1200\" height=\"628\" \/><\/a><\/p>\n<h3>What is Apache Sqoop?<\/h3>\n<p>For analyzing data, there may arise a situation where a lot of data has to be transferred from RDBMS into Hadoop. For this there was a need for a tool that can perform this task fast and efficiently.<\/p>\n<p>This is where the Apache Sqoop came into the picture. Apache Sqoop is a tool that is mainly designed for transferring bulk data efficiently between Apache Hadoop and the structured datastores such as RDBMS (MySQL, Oracle, and some more).<\/p>\n<p>It is a part of a Hadoop ecosystem. Sqoop is now extensively used for data transferring between RDBMS to the Hadoop ecosystem for data processing and analysis.<\/p>\n<h3>Sqoop Supported Databases<\/h3>\n<p>Apache Sqoop uses JDBC for connecting to the databases and complying with the published standards as much as possible. For the databases which don\u2019t provide support for the standards-compliant SQL, Apache Sqoop uses alternate codepaths to provide the functionality.<\/p>\n<p>Even though the JDBC is the compatibility layer that allows the program to access different databases through the common API. But due to the minor differences in the SQL language of each database, we cannot use Sqoop with every database out of the box.<\/p>\n<p>In general, Apache Sqoop is admitted to be compatible with a large number of databases, but it has been tested with a few databases.<\/p>\n<p>When we provide a connect string to Apache Sqoop, Sqoop inspects the protocol scheme in order to determine the appropriate vendor-specific logic to use.<\/p>\n<p>If Apache Sqoop knows about the given database, then it will work automatically.<\/p>\n<p>If Apache Sqoop doesn&#8217;t know about the given database then we have to specify the driver class to load through the &#8211;driver argument. This will use the generic code path that will use standard SQL for accessing the database.<\/p>\n<p>Apache Sqoop provides some databases with faster, non-JDBC-based access mechanisms. We can enable this by specifying the &#8211;direct parameter.<\/p>\n<h3>Databases Supported by Apache Sqoop<\/h3>\n<p>Apache Sqoop includes the vendor-specific support for the following databases:<\/p>\n<table style=\"height: 389px\" width=\"797\">\n<tbody>\n<tr>\n<td><b>Database<\/b><\/td>\n<td><b>version<\/b><\/td>\n<td><b>&#8211;direct support?<\/b><\/td>\n<td><b>connect string matches<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">HSQLDB<\/span><\/td>\n<td><span style=\"font-weight: 400\">1.8.0+<\/span><\/td>\n<td><span style=\"font-weight: 400\">No<\/span><\/td>\n<td><span style=\"font-weight: 400\">jdbc:hsqldb:*\/\/<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">MySQL<\/span><\/td>\n<td><span style=\"font-weight: 400\">5.0+<\/span><\/td>\n<td><span style=\"font-weight: 400\">Yes<\/span><\/td>\n<td><span style=\"font-weight: 400\">jdbc:mysql:\/\/<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Oracle<\/span><\/td>\n<td><span style=\"font-weight: 400\">10.2.0+<\/span><\/td>\n<td><span style=\"font-weight: 400\">No<\/span><\/td>\n<td><span style=\"font-weight: 400\">jdbc:oracle:*\/\/<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">PostgreSQL<\/span><\/td>\n<td><span style=\"font-weight: 400\">8.3+<\/span><\/td>\n<td><span style=\"font-weight: 400\">Yes (import only)<\/span><\/td>\n<td><span style=\"font-weight: 400\">jdbc:postgresql:\/\/<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">CUBRID<\/span><\/td>\n<td><span style=\"font-weight: 400\">9.2+<\/span><\/td>\n<td><span style=\"font-weight: 400\">NO<\/span><\/td>\n<td><span style=\"font-weight: 400\">jdbc:cubrid:*<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Apache Sqoop may work with the older versions of the databases listed above, but officially they have tested Sqoop only with the versions specified above.<\/p>\n<p><strong>Note: <\/strong><\/p>\n<ul>\n<li>We have to install the database vendor JDBC driver in our $SQOOP_HOME\/lib path on our client even when Sqoop supports the database internally.<\/li>\n<li>Sqoop can load the classes from any jars in the $SQOOP_HOME\/lib on the client and use them as part of any of the MapReduce jobs it runs.<\/li>\n<li>We don\u2019t have to install the JDBC jars in the Hadoop library path on our server like we do in the older versions.<\/li>\n<\/ul>\n<h3>Summary<\/h3>\n<p>The article had enlisted all the Databases supported by Apache Sqoop. I hope that after reading this article you are aware of the specific versions of the databases tested with Apache Sqoop.<\/p>\n<p>If you have any query related to Sqoop Databases Support, please share it with us in the comment box. We will get back to you as soon as possible.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apache Sqoop transfers data between the relational Databases (which has JDC connectivity) and the Hadoop ecosystem (HDFS, HBase, Hive). In this article, you will explore different types of relational Databases supported by Apache Sqoop.&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":79687,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3163],"tags":[3194],"class_list":["post-79630","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sqoop","tag-sqoop-supported-databases"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Relational Databases Supported by Sqoop - TechVidvan<\/title>\n<meta name=\"description\" content=\"Learn different types of relational Databases supported by Apache Sqoop. You will also learn about the specific versions of databases supported by Sqoop.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/techvidvan.com\/tutorials\/apache-sqoop-supported-databases\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Relational Databases Supported by Sqoop - TechVidvan\" \/>\n<meta property=\"og:description\" content=\"Learn different types of relational Databases supported by Apache Sqoop. You will also learn about the specific versions of databases supported by Sqoop.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techvidvan.com\/tutorials\/apache-sqoop-supported-databases\/\" \/>\n<meta property=\"og:site_name\" content=\"TechVidvan\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/TechVidvan\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-08-26T03:30:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/08\/Sqoop-supported-databases-TV.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"TechVidvan Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:site\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TechVidvan Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Relational Databases Supported by Sqoop - TechVidvan","description":"Learn different types of relational Databases supported by Apache Sqoop. You will also learn about the specific versions of databases supported by Sqoop.","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:\/\/techvidvan.com\/tutorials\/apache-sqoop-supported-databases\/","og_locale":"en_US","og_type":"article","og_title":"Relational Databases Supported by Sqoop - TechVidvan","og_description":"Learn different types of relational Databases supported by Apache Sqoop. You will also learn about the specific versions of databases supported by Sqoop.","og_url":"https:\/\/techvidvan.com\/tutorials\/apache-sqoop-supported-databases\/","og_site_name":"TechVidvan","article_publisher":"https:\/\/www.facebook.com\/TechVidvan\/","article_published_time":"2020-08-26T03:30:28+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/08\/Sqoop-supported-databases-TV.jpg","type":"image\/jpeg"}],"author":"TechVidvan Team","twitter_card":"summary_large_image","twitter_creator":"@vidvantech","twitter_site":"@vidvantech","twitter_misc":{"Written by":"TechVidvan Team","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techvidvan.com\/tutorials\/apache-sqoop-supported-databases\/#article","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/apache-sqoop-supported-databases\/"},"author":{"name":"TechVidvan Team","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22"},"headline":"Relational Databases Supported by Sqoop","datePublished":"2020-08-26T03:30:28+00:00","mainEntityOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/apache-sqoop-supported-databases\/"},"wordCount":594,"commentCount":0,"publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/apache-sqoop-supported-databases\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/08\/Sqoop-supported-databases-TV.jpg","keywords":["Sqoop Supported Databases"],"articleSection":["Sqoop Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/techvidvan.com\/tutorials\/apache-sqoop-supported-databases\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/techvidvan.com\/tutorials\/apache-sqoop-supported-databases\/","url":"https:\/\/techvidvan.com\/tutorials\/apache-sqoop-supported-databases\/","name":"Relational Databases Supported by Sqoop - TechVidvan","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/apache-sqoop-supported-databases\/#primaryimage"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/apache-sqoop-supported-databases\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/08\/Sqoop-supported-databases-TV.jpg","datePublished":"2020-08-26T03:30:28+00:00","description":"Learn different types of relational Databases supported by Apache Sqoop. You will also learn about the specific versions of databases supported by Sqoop.","breadcrumb":{"@id":"https:\/\/techvidvan.com\/tutorials\/apache-sqoop-supported-databases\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techvidvan.com\/tutorials\/apache-sqoop-supported-databases\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/apache-sqoop-supported-databases\/#primaryimage","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/08\/Sqoop-supported-databases-TV.jpg","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/08\/Sqoop-supported-databases-TV.jpg","width":1200,"height":628,"caption":"Sqoop supported databases"},{"@type":"BreadcrumbList","@id":"https:\/\/techvidvan.com\/tutorials\/apache-sqoop-supported-databases\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techvidvan.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Relational Databases Supported by Sqoop"}]},{"@type":"WebSite","@id":"https:\/\/techvidvan.com\/tutorials\/#website","url":"https:\/\/techvidvan.com\/tutorials\/","name":"TechVidvan Blogs","description":"","publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techvidvan.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techvidvan.com\/tutorials\/#organization","name":"TechVidvan","url":"https:\/\/techvidvan.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","width":200,"height":50,"caption":"TechVidvan"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/TechVidvan\/","https:\/\/x.com\/vidvantech"]},{"@type":"Person","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22","name":"TechVidvan Team","description":"The TechVidvan Team delivers practical, beginner-friendly tutorials on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our experts are here to help you upskill and excel in today\u2019s tech industry."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/79630","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/comments?post=79630"}],"version-history":[{"count":0,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/79630\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media\/79687"}],"wp:attachment":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media?parent=79630"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/categories?post=79630"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/tags?post=79630"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}