{"id":26854,"date":"2025-12-25T10:00:00","date_gmt":"2025-12-25T10:00:00","guid":{"rendered":"https:\/\/www.datafusing.com\/?p=26854"},"modified":"2026-03-29T10:21:26","modified_gmt":"2026-03-29T10:21:26","slug":"background-sql-execution","status":"publish","type":"post","link":"https:\/\/www.datafusing.com\/background-sql-execution\/","title":{"rendered":"Background SQL Execution: A Faster Way to Handle Heavy Queries in CloudSQL"},"content":{"rendered":"\n<p>CloudSQL SQL Editor is designed specifically for Oracle Fusion developers. You can run heavy queries in the background while still analysing data, crafting new queries, or managing reports, ensuring that your time is not wasted waiting for an execution to complete.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why is Background SQL Execution Required?<\/h2>\n\n\n\n<p>In Oracle Fusion, executing large or complex SQL queries through BI Publisher can be quite time consuming even when the best SQL developers are at work. BI Publisher tends to have a tough time handling very large result sets, which can lead to errors when queries pull in massive amounts of data.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"748\" height=\"183\" src=\"https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/Why-is-Background-Execution-required.webp\" alt=\"Why is Background Execution required\" class=\"wp-image-26988\" style=\"width:812px;height:auto\" srcset=\"https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/Why-is-Background-Execution-required.webp 748w, https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/Why-is-Background-Execution-required-300x73.webp 300w, https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/Why-is-Background-Execution-required-710x174.webp 710w\" sizes=\"(max-width: 748px) 100vw, 748px\" \/><\/figure>\n\n\n\n<p>This issue can be particularly problematic during report generation or data analysis that involves multiple joins or aggregations.<\/p>\n\n\n\n<p>CloudSQL\u2019s Run in Background feature allows you to run heavy queries without freezing or crashing your SQL editor. This means you can keep working on other tasks like editing queries, exploring schemas, or creating reports without missing a beat in your workflow.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Run an SQL in Background?<\/h2>\n\n\n\n<p><strong>Step 1:<\/strong> As usual, enter your SQL query in the worksheet editor and ensure it is syntactically correctly for execution.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"677\" height=\"281\" src=\"https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/How-to-run-an-SQL-in-Background.webp\" alt=\"How to run an SQL in Background?\" class=\"wp-image-26989\" srcset=\"https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/How-to-run-an-SQL-in-Background.webp 677w, https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/How-to-run-an-SQL-in-Background-300x125.webp 300w\" sizes=\"(max-width: 677px) 100vw, 677px\" \/><\/figure>\n\n\n\n<p><strong>Step 2<\/strong>: Click the yellow \u201cRun in Background\u201d button above the editor to run your query.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"684\" height=\"283\" src=\"https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/steps-to-run-an-SQL-in-Background.webp\" alt=\"steps to run an SQL in Background\" class=\"wp-image-26990\" srcset=\"https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/steps-to-run-an-SQL-in-Background.webp 684w, https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/steps-to-run-an-SQL-in-Background-300x124.webp 300w\" sizes=\"(max-width: 684px) 100vw, 684px\" \/><\/figure>\n\n\n\n<p>This will send your query to run in the BI environment without interrupting your workspace.<\/p>\n\n\n\n<p><strong>Step 3<\/strong>: Check the job status using the <strong>Expand<\/strong> option.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"692\" height=\"304\" src=\"https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/run-an-SQL-in-Background.webp\" alt=\"run an SQL in Background\" class=\"wp-image-26991\" style=\"width:691px;height:auto\" srcset=\"https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/run-an-SQL-in-Background.webp 692w, https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/run-an-SQL-in-Background-300x132.webp 300w\" sizes=\"(max-width: 692px) 100vw, 692px\" \/><\/figure>\n\n\n\n<p>Here, you\u2019ll see details like the Job ID and the SQL statement that\u2019s currently being executed.<\/p>\n\n\n\n<p><strong>Step 4:<\/strong> Monitor the job\u2019s progress in the panel below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"866\" height=\"383\" src=\"https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/SQL-in-Background.webp\" alt=\"How to run an SQL in Background\" class=\"wp-image-26992\" style=\"width:695px;height:auto\" srcset=\"https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/SQL-in-Background.webp 866w, https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/SQL-in-Background-300x133.webp 300w, https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/SQL-in-Background-768x340.webp 768w, https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/SQL-in-Background-710x314.webp 710w\" sizes=\"(max-width: 866px) 100vw, 866px\" \/><\/figure>\n\n\n\n<p><em><strong>Tip: <\/strong>Don\u2019t forget to refresh the panel from time to time to see any updates.<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"691\" height=\"301\" src=\"https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/CloudSQL-Desktop-1.webp\" alt=\"Once the status changes to \u201cCompleted,\u201d it means your query has finished running, and you can go ahead and view or export the results.\" class=\"wp-image-26993\" srcset=\"https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/CloudSQL-Desktop-1.webp 691w, https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/CloudSQL-Desktop-1-300x131.webp 300w\" sizes=\"(max-width: 691px) 100vw, 691px\" \/><\/figure>\n\n\n\n<p>Once the status changes to \u201cCompleted,\u201d it means your query has finished running, and you can go ahead and view or export the results.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to View Results?<\/h2>\n\n\n\n<p>Once your background query shows \u201cCompleted,\u201d just click the plus (+) icon to expand and see the results right in CloudSQL.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"752\" height=\"394\" src=\"https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/How-to-View-Results-in-Cloud-SQL-Desktop.webp\" alt=\"How to View Results in CloudSQL Desktop?\" class=\"wp-image-26994\" style=\"width:690px;height:auto\" srcset=\"https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/How-to-View-Results-in-Cloud-SQL-Desktop.webp 752w, https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/How-to-View-Results-in-Cloud-SQL-Desktop-300x157.webp 300w, https:\/\/www.datafusing.com\/wp-content\/uploads\/2025\/11\/How-to-View-Results-in-Cloud-SQL-Desktop-710x372.webp 710w\" sizes=\"(max-width: 752px) 100vw, 752px\" \/><\/figure>\n\n\n\n<p>The results panel presents your dataset in a tidy format, making it easy to scroll through, check values, and analyze data within the workspace. Plus, you can export the results in formats like CSV or Excel for reporting or sharing.<\/p>\n\n\n\n<p>At DataFusing, we are constantly improving CloudSQL for you by adding more and more features. Click <a href=\"https:\/\/www.datafusing.com\/datafusing-cloudsql\/register-for-free-cloudsql-desktop-trial\/\" data-type=\"link\" data-id=\"https:\/\/www.datafusing.com\/datafusing-cloudsql\/register-for-free-cloudsql-desktop-trial\/\">here<\/a> to start 30 Days-Free Trial today.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CloudSQL SQL Editor is designed specifically for Oracle Fusion developers. You can run heavy queries in the background while still analysing data, crafting new queries, or managing reports, ensuring that your time is not wasted waiting for an execution to complete. Why is Background SQL Execution Required? In Oracle Fusion, executing large or complex SQL [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":27594,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[142],"tags":[],"class_list":["post-26854","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloudsql-sql-editor-for-oracle-fusion"],"_links":{"self":[{"href":"https:\/\/www.datafusing.com\/wp-json\/wp\/v2\/posts\/26854","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.datafusing.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.datafusing.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.datafusing.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.datafusing.com\/wp-json\/wp\/v2\/comments?post=26854"}],"version-history":[{"count":5,"href":"https:\/\/www.datafusing.com\/wp-json\/wp\/v2\/posts\/26854\/revisions"}],"predecessor-version":[{"id":27922,"href":"https:\/\/www.datafusing.com\/wp-json\/wp\/v2\/posts\/26854\/revisions\/27922"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.datafusing.com\/wp-json\/wp\/v2\/media\/27594"}],"wp:attachment":[{"href":"https:\/\/www.datafusing.com\/wp-json\/wp\/v2\/media?parent=26854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.datafusing.com\/wp-json\/wp\/v2\/categories?post=26854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.datafusing.com\/wp-json\/wp\/v2\/tags?post=26854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}