{"id":535,"date":"2015-10-23T06:38:06","date_gmt":"2015-10-23T06:38:06","guid":{"rendered":"http:\/\/www.dbafox.com\/?p=535"},"modified":"2015-10-23T06:38:06","modified_gmt":"2015-10-23T06:38:06","slug":"oracle-table-import-progress","status":"publish","type":"post","link":"https:\/\/dbafox.com\/?p=535","title":{"rendered":"Oracle &#8211; Table Import Progress"},"content":{"rendered":"<pre>\r\n<div class=\"dmlselect\">\r\nselect substr(sql_text,instr(sql_text,'INTO \"'),30) table_name,\r\n rows_processed,\r\n round((sysdate-to_date(first_load_time,'yyyy-mm-dd hh24:mi:ss'))*24*60,1) minutes,\r\n trunc(rows_processed\/((sysdate-to_date(first_load_time,'yyyy-mm-dd hh24:mi:ss'))*24*60)) rows_per_min\r\n from sys.v_$sqlarea\r\n where sql_text like 'INSERT %INTO \"%'\r\n and command_type = 2\r\n and open_versions > 0;select substr(sql_text,instr(sql_text,'INTO \"'),30) table_name,\r\n rows_processed,\r\n round((sysdate-to_date(first_load_time,'yyyy-mm-dd hh24:mi:ss'))*24*60,1) minutes,\r\n trunc(rows_processed\/((sysdate-to_date(first_load_time,'yyyy-mm-dd hh24:mi:ss'))*24*60)) rows_per_min\r\n from sys.v_$sqlarea\r\n where sql_text like 'INSERT %INTO \"%'\r\n and command_type = 2\r\n and open_versions > 0;\r\n \r\n \r\n \r\n Select\r\n a.sid,\r\n a.serial#,\r\n b.status,\r\n a.opname,\r\n to_char(a.START_TIME,' dd-Mon-YYYY HH24:mi:ss') START_TIME,\r\n to_char(a.LAST_UPDATE_TIME,' dd-Mon-YYYY HH24:mi:ss') LAST_UPDATE_TIME,\r\n a.time_remaining as \"Time Remaining Sec\" ,\r\n a.time_remaining\/60 as \"Time Remaining Min\",\r\n a.time_remaining\/60\/60 as \"Time Remaining HR\"\r\n From v$session_longops a, v$session b\r\n where a.sid = b.sid\r\n And time_remaining > 0\r\n<\/div>\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>select substr(sql_text,instr(sql_text,&#8217;INTO &#8220;&#8216;),30) table_name, rows_processed, round((sysdate-to_date(first_load_time,&#8217;yyyy-mm-dd hh24:mi:ss&#8217;))*24*60,1) minutes, trunc(rows_processed\/((sysdate-to_date(first_load_time,&#8217;yyyy-mm-dd hh24:mi:ss&#8217;))*24*60)) rows_per_min from sys.v_$sqlarea where sql_text like &#8216;INSERT %INTO &#8220;%&#8217; and command_type = 2 and open_versions > 0;select substr(sql_text,instr(sql_text,&#8217;INTO &#8220;&#8216;),30) table_name, rows_processed, round((sysdate-to_date(first_load_time,&#8217;yyyy-mm-dd hh24:mi:ss&#8217;))*24*60,1) minutes, trunc(rows_processed\/((sysdate-to_date(first_load_time,&#8217;yyyy-mm-dd hh24:mi:ss&#8217;))*24*60)) rows_per_min from sys.v_$sqlarea where sql_text like &#8216;INSERT %INTO &#8220;%&#8217; and command_type = 2 and open_versions > 0; Select a.sid,&hellip;&nbsp;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","pgc_sgb_lightbox_settings":"","footnotes":""},"categories":[28],"tags":[],"class_list":["post-535","post","type-post","status-publish","format-standard","hentry","category-oracle-technical"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Oracle - Table Import Progress - dbafox<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dbafox.com\/?p=535\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Oracle - Table Import Progress - dbafox\" \/>\n<meta property=\"og:description\" content=\"select substr(sql_text,instr(sql_text,&#039;INTO &quot;&#039;),30) table_name, rows_processed, round((sysdate-to_date(first_load_time,&#039;yyyy-mm-dd hh24:mi:ss&#039;))*24*60,1) minutes, trunc(rows_processed\/((sysdate-to_date(first_load_time,&#039;yyyy-mm-dd hh24:mi:ss&#039;))*24*60)) rows_per_min from sys.v_$sqlarea where sql_text like &#039;INSERT %INTO &quot;%&#039; and command_type = 2 and open_versions &gt; 0;select substr(sql_text,instr(sql_text,&#039;INTO &quot;&#039;),30) table_name, rows_processed, round((sysdate-to_date(first_load_time,&#039;yyyy-mm-dd hh24:mi:ss&#039;))*24*60,1) minutes, trunc(rows_processed\/((sysdate-to_date(first_load_time,&#039;yyyy-mm-dd hh24:mi:ss&#039;))*24*60)) rows_per_min from sys.v_$sqlarea where sql_text like &#039;INSERT %INTO &quot;%&#039; and command_type = 2 and open_versions &gt; 0; Select a.sid,&hellip;&nbsp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dbafox.com\/?p=535\" \/>\n<meta property=\"og:site_name\" content=\"dbafox\" \/>\n<meta property=\"article:published_time\" content=\"2015-10-23T06:38:06+00:00\" \/>\n<meta name=\"author\" content=\"Ray Fox\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ray Fox\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/dbafox.com\\\/?p=535#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/dbafox.com\\\/?p=535\"},\"author\":{\"name\":\"Ray Fox\",\"@id\":\"https:\\\/\\\/dbafox.com\\\/#\\\/schema\\\/person\\\/287adc474c1aebd398752ac4dcfe27eb\"},\"headline\":\"Oracle &#8211; Table Import Progress\",\"datePublished\":\"2015-10-23T06:38:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/dbafox.com\\\/?p=535\"},\"wordCount\":5,\"publisher\":{\"@id\":\"https:\\\/\\\/dbafox.com\\\/#\\\/schema\\\/person\\\/287adc474c1aebd398752ac4dcfe27eb\"},\"articleSection\":[\"Oracle Technical\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/dbafox.com\\\/?p=535\",\"url\":\"https:\\\/\\\/dbafox.com\\\/?p=535\",\"name\":\"Oracle - Table Import Progress - dbafox\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/dbafox.com\\\/#website\"},\"datePublished\":\"2015-10-23T06:38:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/dbafox.com\\\/?p=535#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/dbafox.com\\\/?p=535\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/dbafox.com\\\/?p=535#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/dbafox.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Oracle &#8211; Table Import Progress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/dbafox.com\\\/#website\",\"url\":\"https:\\\/\\\/dbafox.com\\\/\",\"name\":\"dbafox\",\"description\":\"DBA Technical Information\",\"publisher\":{\"@id\":\"https:\\\/\\\/dbafox.com\\\/#\\\/schema\\\/person\\\/287adc474c1aebd398752ac4dcfe27eb\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/dbafox.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/dbafox.com\\\/#\\\/schema\\\/person\\\/287adc474c1aebd398752ac4dcfe27eb\",\"name\":\"Ray Fox\",\"logo\":{\"@id\":\"https:\\\/\\\/dbafox.com\\\/#\\\/schema\\\/person\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/www.dbafox.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Oracle - Table Import Progress - dbafox","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:\/\/dbafox.com\/?p=535","og_locale":"en_GB","og_type":"article","og_title":"Oracle - Table Import Progress - dbafox","og_description":"select substr(sql_text,instr(sql_text,'INTO \"'),30) table_name, rows_processed, round((sysdate-to_date(first_load_time,'yyyy-mm-dd hh24:mi:ss'))*24*60,1) minutes, trunc(rows_processed\/((sysdate-to_date(first_load_time,'yyyy-mm-dd hh24:mi:ss'))*24*60)) rows_per_min from sys.v_$sqlarea where sql_text like 'INSERT %INTO \"%' and command_type = 2 and open_versions > 0;select substr(sql_text,instr(sql_text,'INTO \"'),30) table_name, rows_processed, round((sysdate-to_date(first_load_time,'yyyy-mm-dd hh24:mi:ss'))*24*60,1) minutes, trunc(rows_processed\/((sysdate-to_date(first_load_time,'yyyy-mm-dd hh24:mi:ss'))*24*60)) rows_per_min from sys.v_$sqlarea where sql_text like 'INSERT %INTO \"%' and command_type = 2 and open_versions > 0; Select a.sid,&hellip;&nbsp;","og_url":"https:\/\/dbafox.com\/?p=535","og_site_name":"dbafox","article_published_time":"2015-10-23T06:38:06+00:00","author":"Ray Fox","twitter_misc":{"Written by":"Ray Fox","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dbafox.com\/?p=535#article","isPartOf":{"@id":"https:\/\/dbafox.com\/?p=535"},"author":{"name":"Ray Fox","@id":"https:\/\/dbafox.com\/#\/schema\/person\/287adc474c1aebd398752ac4dcfe27eb"},"headline":"Oracle &#8211; Table Import Progress","datePublished":"2015-10-23T06:38:06+00:00","mainEntityOfPage":{"@id":"https:\/\/dbafox.com\/?p=535"},"wordCount":5,"publisher":{"@id":"https:\/\/dbafox.com\/#\/schema\/person\/287adc474c1aebd398752ac4dcfe27eb"},"articleSection":["Oracle Technical"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/dbafox.com\/?p=535","url":"https:\/\/dbafox.com\/?p=535","name":"Oracle - Table Import Progress - dbafox","isPartOf":{"@id":"https:\/\/dbafox.com\/#website"},"datePublished":"2015-10-23T06:38:06+00:00","breadcrumb":{"@id":"https:\/\/dbafox.com\/?p=535#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dbafox.com\/?p=535"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/dbafox.com\/?p=535#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dbafox.com\/"},{"@type":"ListItem","position":2,"name":"Oracle &#8211; Table Import Progress"}]},{"@type":"WebSite","@id":"https:\/\/dbafox.com\/#website","url":"https:\/\/dbafox.com\/","name":"dbafox","description":"DBA Technical Information","publisher":{"@id":"https:\/\/dbafox.com\/#\/schema\/person\/287adc474c1aebd398752ac4dcfe27eb"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dbafox.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/dbafox.com\/#\/schema\/person\/287adc474c1aebd398752ac4dcfe27eb","name":"Ray Fox","logo":{"@id":"https:\/\/dbafox.com\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/www.dbafox.com"]}]}},"_links":{"self":[{"href":"https:\/\/dbafox.com\/index.php?rest_route=\/wp\/v2\/posts\/535","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dbafox.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dbafox.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dbafox.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dbafox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=535"}],"version-history":[{"count":1,"href":"https:\/\/dbafox.com\/index.php?rest_route=\/wp\/v2\/posts\/535\/revisions"}],"predecessor-version":[{"id":536,"href":"https:\/\/dbafox.com\/index.php?rest_route=\/wp\/v2\/posts\/535\/revisions\/536"}],"wp:attachment":[{"href":"https:\/\/dbafox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dbafox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dbafox.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}