{"id":12236,"date":"2021-08-16T16:10:21","date_gmt":"2021-08-16T16:10:21","guid":{"rendered":"http:\/\/ismiletechnologies.com\/?p=12236"},"modified":"2022-10-06T17:13:50","modified_gmt":"2022-10-06T11:43:50","slug":"migrating-from-teradata-to-google-bigquery","status":"publish","type":"post","link":"https:\/\/ismiletechnologies.com\/en_us\/cloud-services\/migrating-from-teradata-to-google-bigquery\/","title":{"rendered":"Migrating from Teradata to Google Bigquery"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">What is Teradata?&nbsp;<\/p>\n\n\n\n\n\n<p class=\"wp-block-paragraph\"><p>Teradata is a popular opensource Relational Database management System used by companies for creating large data warehouses. It was developed by Teradata Corporation in 1979. Teradata provides scalability, Automatic distribution, SQL, parallel processing and many other features. Due to these features, Teradata was adopted by many companies for their data storage and processing. Most fortune 100 companies were using Teradata. It has capacity to support 50+ petabytes of data. It can also be integrated with many Business Intelligence tools for analytics. The cost of using Teradata is also affordable and very easy to set up. It is available in On-premises version as well as on the cloud.&nbsp;&nbsp;<br><br><\/p>\n<p>Why migrate to Google BigQuery?&nbsp;<\/p><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n\n\n\n\n<p class=\"wp-block-paragraph\">Teradata was widely used RDBMS for managing large volumes of data. But now due to emergence of cloud computing companies like Google cloud platform, Amazon Web Services and Microsoft Azure, there are many alternatives available to Teradata.&nbsp;Also,&nbsp;the later are developed recently and has many advantages and&nbsp;upgrades integrated into it. One of the best&nbsp;alternative&nbsp;to Teradata is Google&nbsp;BigQuery. Teradata\u2019s pricing is&nbsp;multi-year&nbsp;while Google charges only for amount of data storage and queries&nbsp;that you&nbsp;use.&nbsp;Teradata is mostly used On-premises by many organizations because it was being used for many years and there was no option for cloud services. Teradata is static and you need more hardware to expand your storage capacity, while Google&nbsp;BigQuery&nbsp;has a dynamic storage model that&nbsp;has no upper limit and can scale according to your storage requirements.&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">BigQuery&nbsp;VS Teradata:&nbsp;<\/p>\n\n\n\n<figure>\n<table>\n<tbody>\n<tr>\n<td><strong>Google\u00a0BigQuery<\/strong>\u00a0<\/td>\n<td><strong>Teradata<\/strong>\u00a0<\/td>\n<\/tr>\n<tr>\n<td>Fully cloud managed Data Warehouse\u00a0<\/td>\n<td>Hybrid\u00a0Warehouse (On-premises\u00a0and Cloud)\u00a0<\/td>\n<\/tr>\n<tr>\n<td>Serverless\u00a0<\/td>\n<td>Server\u00a0based\u00a0<\/td>\n<\/tr>\n<tr>\n<td>Column level\u00a0database (Column operations are faster)\u00a0<\/td>\n<td>Row level\u00a0database (works on one row at a time)\u00a0<\/td>\n<\/tr>\n<tr>\n<td>Highly scalable\u00a0<\/td>\n<td>Scalable only on cloud version\u00a0<\/td>\n<\/tr>\n<tr>\n<td>10000 columns\/table\u00a0<\/td>\n<td>2048 columns\/table\u00a0<\/td>\n<\/tr>\n<tr>\n<td>Max row size is 100MB\u00a0<\/td>\n<td>Max row size is 1MB\u00a0<\/td>\n<\/tr>\n<tr>\n<td>Column and table name length could be\u00a0up to\u00a016382\u00a0Unicode\u00a0characters\u00a0<\/td>\n<td>Column and table name length could be\u00a0up to\u00a0128\u00a0Unicode\u00a0characters\u00a0\u00a0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Migrating On-premises&nbsp;Teradata storage to Google&nbsp;BigQuery.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To&nbsp;migrate data&nbsp;from On-premises&nbsp;Teradata warehouse to&nbsp;BigQuery,&nbsp;BigQuery&nbsp;Data transfer service and a migration agent&nbsp;is used.&nbsp;You need to download an on-premises migration agent that will connect to your local data warehouse. It will coordinate with&nbsp;BigQuery&nbsp;Data transfer service to copy all the tables from local warehouse to&nbsp;BigQuery&nbsp;cloud storage.&nbsp;&nbsp;<br><br><\/p>\n\n\n\n\n\n<p class=\"wp-block-paragraph\">The steps&nbsp;for&nbsp;transferring&nbsp;data to&nbsp;BigQuery&nbsp;are:&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Extracting tables from&nbsp;Data warehouse&nbsp;On-premises using an agent which is bounded by JDBC connection.&nbsp;<\/li><\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><li>Uploading the extracted data to Cloud storage bucket.&nbsp;<\/li><\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\"><li>Selection of automatic schema conversion or custom schema which will be used to create a data warehouse on the&nbsp;BigQuery.&nbsp;<\/li><\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\"><li>After this, the&nbsp;BigQuery&nbsp;Data Transfer service loads all the data stored in cloud buckets into&nbsp;BigQuery&nbsp;according to the selected schema and the migration process is completed.&nbsp;<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The Extraction methods supported in&nbsp;BigQuery&nbsp;are:&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Extraction with JDBC driver- It uses&nbsp;Fast Export&nbsp;connection. A&nbsp;table is copied and collected on AVRO&nbsp;location,&nbsp;and&nbsp;it&nbsp;is uploaded to a predetermined cloud storage bucket and then deleted from local system.&nbsp;&nbsp;<\/li><\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><li>Extraction with Teradata Parallel\u00a0Transporter (TPT)- It uses batch extraction method.\u00a0A TPT extraction Script is created for each batch, and after uploading the file to cloud bucket storage, it is deleted from local storage.\u00a0This does not require additional storage on the local storage.\u00a0<\/li><\/ol>\n\n\n\t\t<div data-elementor-type=\"section\" data-elementor-id=\"33253\" class=\"elementor elementor-33253\" data-elementor-post-type=\"elementor_library\">\n\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1f27ef0 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1f27ef0\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;gradient&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c65c317\" data-id=\"c65c317\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-dc3c880 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"dc3c880\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-inner-column elementor-element elementor-element-3248be5\" data-id=\"3248be5\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5886bd6 elementor-widget elementor-widget-heading\" data-id=\"5886bd6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Ready to experience the full power of cloud technology?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1f56c4e elementor-widget elementor-widget-text-editor\" data-id=\"1f56c4e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p><span class=\"TextRun Highlight SCXW216552313 BCX0\" lang=\"EN-IN\" xml:lang=\"EN-IN\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW216552313 BCX0\">Our cloud experts will speed up cloud deployment, and make your business more efficient.\u00a0<\/span><\/span><span class=\"EOP SCXW216552313 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-inner-column elementor-element elementor-element-4b7dd61\" data-id=\"4b7dd61\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-81f081a elementor-align-center elementor-widget elementor-widget-lottie\" data-id=\"81f081a\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;source&quot;:&quot;external_url&quot;,&quot;source_external_url&quot;:{&quot;url&quot;:&quot;https:\\\/\\\/assets4.lottiefiles.com\\\/packages\\\/lf20_kkesf8mx.json&quot;,&quot;is_external&quot;:&quot;&quot;,&quot;nofollow&quot;:&quot;&quot;,&quot;custom_attributes&quot;:&quot;&quot;},&quot;loop&quot;:&quot;yes&quot;,&quot;play_speed&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:0.9,&quot;sizes&quot;:[]},&quot;lazyload&quot;:&quot;yes&quot;,&quot;link_to&quot;:&quot;none&quot;,&quot;trigger&quot;:&quot;arriving_to_viewport&quot;,&quot;viewport&quot;:{&quot;unit&quot;:&quot;%&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:{&quot;start&quot;:0,&quot;end&quot;:100}},&quot;start_point&quot;:{&quot;unit&quot;:&quot;%&quot;,&quot;size&quot;:0,&quot;sizes&quot;:[]},&quot;end_point&quot;:{&quot;unit&quot;:&quot;%&quot;,&quot;size&quot;:100,&quot;sizes&quot;:[]},&quot;renderer&quot;:&quot;svg&quot;}\" data-widget_type=\"lottie.default\">\n\t\t\t\t\t<div class=\"e-lottie__container\"><div class=\"e-lottie__animation\"><\/div><\/div>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-inner-column elementor-element elementor-element-ac6262c\" data-id=\"ac6262c\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e19f719 elementor-align-right elementor-mobile-align-left elementor-tablet-align-right elementor-widget elementor-widget-button\" data-id=\"e19f719\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-xs\" href=\"#elementor-action%3Aaction%3Dpopup%3Aopen%26settings%3DeyJpZCI6IjI5OTEiLCJ0b2dnbGUiOnRydWV9\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Start Today !<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t\n\n\n\n<p class=\"wp-block-paragraph\">Automatic schema&nbsp;conversion&nbsp;and Custom schema file-&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Automatic schema conversion- Big Query creates a schema file that is basically a JSON&nbsp;fle&nbsp;that has information of database objects. It has sets of databases, sets of tables, and their column names.&nbsp;BigQuery&nbsp;data transfer service can automatically extract and create this schema.&nbsp;<\/li><\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><li>Custom Schema creation-&nbsp;You can also create a custom schema and specify custom names of tables, database and column names of your choice.&nbsp;<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">In my opinion, Google Cloud platform has many advantages to offer as compared to Teradata as GCP is a very new service which is made with that fact&nbsp;to compete with already existing market giant companies in&nbsp;big&nbsp;data technology. The additional data analytics and machine learning services provided by GCP will prove to be very useful when developing and&nbsp;deploying an advanced AI product.&nbsp;Also,&nbsp;the pricing of GCP is very affordable and scalable that will be beneficial and give equal opportunity to startups as well as fortune 500 giants to use the data warehousing technology on cloud without worrying about the server&nbsp;configurations.&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is Teradata?&nbsp; Teradata is a popular opensource Relational Database management System used by companies for creating large data warehouses. It was developed by Teradata Corporation in 1979. Teradata provides scalability, Automatic distribution, SQL, parallel processing and many other features. Due to these features, Teradata was adopted by many companies for their data storage and [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":13140,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[81],"tags":[182,183],"class_list":["post-12236","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-services","tag-bigquery","tag-teradata"],"_links":{"self":[{"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/posts\/12236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/comments?post=12236"}],"version-history":[{"count":6,"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/posts\/12236\/revisions"}],"predecessor-version":[{"id":33660,"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/posts\/12236\/revisions\/33660"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/media\/13140"}],"wp:attachment":[{"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/media?parent=12236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/categories?post=12236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/tags?post=12236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}