{"id":242854,"date":"2025-04-15T14:12:14","date_gmt":"2025-04-15T21:12:14","guid":{"rendered":"https:\/\/virtual-dba.com\/?p=242854"},"modified":"2025-09-16T12:47:56","modified_gmt":"2025-09-16T19:47:56","slug":"create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace","status":"publish","type":"post","link":"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/","title":{"rendered":"Create Temporary Tablespace in Oracle and Make It the Default Temporary Tablespace"},"content":{"rendered":"\n<p>This article covers the steps to create a temporary tablespace in <a href=\"https:\/\/virtual-dba.com\/platforms\/oracle\/\">Oracle<\/a> and make it the default temporary tablespace for the database.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step-By-Step <\/h2>\n\n\n\n<p>This method works for both regular Oracle databases and multitenant databases. Each PDB and CDB has its own separate temporary tablespace. When creating a temporary tablespace for a PDB, make sure you are logged into the PDB where you want the temporary tablespace to reside.<\/p>\n\n\n\n<p>I will add a temporary tablespace, TEMP_TBL, to the ORCLPDB PDB database for this example. I will make it the default temporary tablespace for the PDB and then drop the original TEMP temporary tablespace.<\/p>\n\n\n\n<p>Creating a temporary tablespace is almost the same as creating a regular tablespace except for the two keywords, temporary and tempfile. These two keywords are the only difference when creating a temporary tablespace.<\/p>\n\n\n\n<p>Either log in directly to the PDB or log in to the container and then switch to the PDB.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"917\" height=\"372\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-PDB.png\" alt=\"Create Temporary Tablespace PDB\" class=\"wp-image-242853\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-PDB.png 917w, https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-PDB-480x195.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 917px, 100vw\" \/><\/figure>\n\n\n\n<p>From here, check the current default temporary tablespace.<br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>set line 200\ncolumn file_name format a75\t\ncolumn tablespace_name format a30\t \nselect tablespace_name, file_name, bytes\/1024\/1024, maxbytes\/1024\/1024, autoextensible\nfrom dba_temp_files\norder by 1, 2, 3 desc;<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"917\" height=\"300\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-Current-Default-Temporary-Tablespace.png\" alt=\"Create Temporary Tablespace Current Default Temporary Tablespace\" class=\"wp-image-242850\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-Current-Default-Temporary-Tablespace.png 917w, https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-Current-Default-Temporary-Tablespace-480x157.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 917px, 100vw\" \/><\/figure>\n\n\n\n<p>Now, create the new temporary tablespace, make it the default for the PDB, and check your changes.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>create temporary tablespace TEMP_TBL tempfile 'C:\\ORACLE\\ORCL\\ORCLPDB\\TEMP_TBL01.DBF' size 500M autoextend on maxsize unlimited;\n\nalter database default temporary tablespace TEMP_TBL;<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"906\" height=\"301\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-Create-New-and-Make-it-Default.png\" alt=\"Create Temporary Tablespace Create New and Make it Default\" class=\"wp-image-242849\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-Create-New-and-Make-it-Default.png 906w, https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-Create-New-and-Make-it-Default-480x159.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 906px, 100vw\" \/><\/figure>\n\n\n\n<p>Before dropping the old temporary tablespace, check if users are using the old default temporary tablespace. If users are still using the old temporary tablespace, you cannot drop it until they log out.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>col username for a15;\ncol tablespace for a15\nselect a.sid, a.serial#, a.username, sum(b.blocks) * c.block_size\/1024\/1024 mb_user, b.tablespace\nfrom v$session a, v$sort_usage b, dba_tablespaces c\nwhere a.saddr = b.session_addr\nand b.tablespace = c.tablespace_name\ngroup by a.sid, a.serial#, a.username, c.block_size, b.tablespace;<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"907\" height=\"258\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-Check-if-Users-Use-Old-Default-Temporary-Tablespace.png\" alt=\"Create Temporary Tablespace Check if Users Use Old Default Temporary Tablespace\" class=\"wp-image-242848\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-Check-if-Users-Use-Old-Default-Temporary-Tablespace.png 907w, https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-Check-if-Users-Use-Old-Default-Temporary-Tablespace-480x137.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 907px, 100vw\" \/><\/figure>\n\n\n\n<p>Here, you can see that one user is still using the old temporary tablespace, and if we try to drop it, we receive the error below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"903\" height=\"203\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-Drop-Error-Due-to-User.png\" alt=\"Create Temporary Tablespace Drop Error Due to User\" class=\"wp-image-242851\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-Drop-Error-Due-to-User.png 903w, https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-Drop-Error-Due-to-User-480x108.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 903px, 100vw\" \/><\/figure>\n\n\n\n<p>With the user disconnected, we can drop the old temporary tablespace and confirm the new default temporary tablespace is <code>TEMP_TBL<\/code>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"878\" height=\"373\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-Drop-Old-Temporary-Tablespace-and-Confirm-New.png\" alt=\"Create Temporary Tablespace Drop Old Temporary Tablespace and Confirm New\" class=\"wp-image-242852\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-Drop-Old-Temporary-Tablespace-and-Confirm-New.png 878w, https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-Drop-Old-Temporary-Tablespace-and-Confirm-New-480x204.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 878px, 100vw\" \/><\/figure>\n\n\n\n<p>Creating a new temporary tablespace is just as easy as creating a regular tablespace. Just remember to use &#8216; temporary&#8217; for the tablespace and &#8216;tempfile&#8217; for the data file.<\/p>\n\n\n\n<p><strong>For questions, please contact us.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article covers the steps to create a temporary tablespace in Oracle and make it the default temporary tablespace for the database. Step-By-Step This method works for both regular Oracle databases and multitenant databases. Each PDB and CDB has its own separate temporary tablespace. When creating a temporary tablespace for a PDB, make sure you [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":242942,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"","content-type":"","footnotes":""},"categories":[4166,3918,23],"tags":[1146],"class_list":["post-242854","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-database","category-oracle","tag-oracle-database"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.1 (Yoast SEO v27.1.1) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Create Temporary Tablespace in Oracle and Make it Default<\/title>\n<meta name=\"description\" content=\"Learn how to create a temporary tablespace in Oracle and set it as default. Step-by-step guide for PDBs and CDBs\u2014read now!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create Temporary Tablespace in Oracle and Make It the Default Temporary Tablespace\" \/>\n<meta property=\"og:description\" content=\"Learn how to create a temporary tablespace in Oracle and set it as default. Step-by-step guide for PDBs and CDBs\u2014read now!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/\" \/>\n<meta property=\"og:site_name\" content=\"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-15T21:12:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-16T19:47:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-in-Oracle-and-Make-It-the-Default-Temporary-Tablespace.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"557\" \/>\n\t<meta property=\"og:image:height\" content=\"291\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Doug Groves\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@virtual_dba\" \/>\n<meta name=\"twitter:site\" content=\"@virtual_dba\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Doug Groves\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/\"},\"author\":{\"name\":\"Doug Groves\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/425d67b3482ca79f1f1e191453d1bd51\"},\"headline\":\"Create Temporary Tablespace in Oracle and Make It the Default Temporary Tablespace\",\"datePublished\":\"2025-04-15T21:12:14+00:00\",\"dateModified\":\"2025-09-16T19:47:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/\"},\"wordCount\":303,\"publisher\":{\"@id\":\"https:\/\/virtual-dba.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-in-Oracle-and-Make-It-the-Default-Temporary-Tablespace.jpg\",\"keywords\":[\"Oracle Database\"],\"articleSection\":[\"Blog\",\"Database\",\"Oracle\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/\",\"url\":\"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/\",\"name\":\"Create Temporary Tablespace in Oracle and Make it Default\",\"isPartOf\":{\"@id\":\"https:\/\/virtual-dba.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-in-Oracle-and-Make-It-the-Default-Temporary-Tablespace.jpg\",\"datePublished\":\"2025-04-15T21:12:14+00:00\",\"dateModified\":\"2025-09-16T19:47:56+00:00\",\"description\":\"Learn how to create a temporary tablespace in Oracle and set it as default. Step-by-step guide for PDBs and CDBs\u2014read now!\",\"breadcrumb\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/#primaryimage\",\"url\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-in-Oracle-and-Make-It-the-Default-Temporary-Tablespace.jpg\",\"contentUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-in-Oracle-and-Make-It-the-Default-Temporary-Tablespace.jpg\",\"width\":557,\"height\":291,\"caption\":\"Create Temporary Tablespace in Oracle and Make It the Default Temporary Tablespace\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/virtual-dba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Temporary Tablespace in Oracle and Make It the Default Temporary Tablespace\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/virtual-dba.com\/#website\",\"url\":\"https:\/\/virtual-dba.com\/\",\"name\":\"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts\",\"description\":\"Remote Database Administration\",\"publisher\":{\"@id\":\"https:\/\/virtual-dba.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/virtual-dba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/virtual-dba.com\/#organization\",\"name\":\"Virtual-DBA: Remote DBA | Remote Database Administration\",\"alternateName\":\"Virtual-DBA powered by XTIVIA\",\"url\":\"https:\/\/virtual-dba.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg\",\"contentUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg\",\"width\":557,\"height\":291,\"caption\":\"Virtual-DBA: Remote DBA | Remote Database Administration\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/virtual_dba\",\"https:\/\/www.linkedin.com\/showcase\/36220649\/\",\"https:\/\/www.youtube.com\/channel\/UCx3AIeUQ2ziTLKZSJDZ-SEg\"],\"description\":\"Eliminate database downtime and spiraling costs with XTIVIA\u2019s Virtual-DBA. In today\u2019s always-on business world, gaps in 24x7 on-call DBA support, neglected maintenance and security, or a stretched team struggling with overwhelming workloads can lead to costly disruptions and threaten business continuity. XTIVIA\u2019s Virtual-DBA provides the immediate, expert database administration you need, exactly when you need it, ensuring optimal performance, ironclad security, and significant cost savings without the burden of expanding your in-house team. The goal of Virtual-DBA is to provide a cost-effective solution for organizations seeking to optimize the security, management, maintenance, availability, and performance of their critical business systems, whether self-managed or cloud-managed (e.g., AWS RDS, Azure SQL Database). We accomplish this through a comprehensive remote DBA service offering designed specifically to meet the Oracle\u00ae, DB2\u00ae, Informix\u00ae, MySQL\u2122, PostgreSQL\u00ae, MongoDB\u00ae, MariaDB, and Microsoft SQL Server\u00ae, CockroachDB, Databricks, AWS, and Azure needs of our clients.\",\"email\":\"info@xtivia.com\",\"telephone\":\"8886853101\",\"legalName\":\"XTIVIA, Inc\",\"foundingDate\":\"1992-05-01\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"201\",\"maxValue\":\"500\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/425d67b3482ca79f1f1e191453d1bd51\",\"name\":\"Doug Groves\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d94da2519ee1df3cfdcf196923b538e1c09176e646b4e668430e58edc179715b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d94da2519ee1df3cfdcf196923b538e1c09176e646b4e668430e58edc179715b?s=96&d=mm&r=g\",\"caption\":\"Doug Groves\"},\"url\":\"https:\/\/virtual-dba.com\/author\/doug-groves\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Create Temporary Tablespace in Oracle and Make it Default","description":"Learn how to create a temporary tablespace in Oracle and set it as default. Step-by-step guide for PDBs and CDBs\u2014read now!","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:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/","og_locale":"en_US","og_type":"article","og_title":"Create Temporary Tablespace in Oracle and Make It the Default Temporary Tablespace","og_description":"Learn how to create a temporary tablespace in Oracle and set it as default. Step-by-step guide for PDBs and CDBs\u2014read now!","og_url":"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/","og_site_name":"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts","article_published_time":"2025-04-15T21:12:14+00:00","article_modified_time":"2025-09-16T19:47:56+00:00","og_image":[{"width":557,"height":291,"url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-in-Oracle-and-Make-It-the-Default-Temporary-Tablespace.jpg","type":"image\/jpeg"}],"author":"Doug Groves","twitter_card":"summary_large_image","twitter_creator":"@virtual_dba","twitter_site":"@virtual_dba","twitter_misc":{"Written by":"Doug Groves","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/#article","isPartOf":{"@id":"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/"},"author":{"name":"Doug Groves","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/425d67b3482ca79f1f1e191453d1bd51"},"headline":"Create Temporary Tablespace in Oracle and Make It the Default Temporary Tablespace","datePublished":"2025-04-15T21:12:14+00:00","dateModified":"2025-09-16T19:47:56+00:00","mainEntityOfPage":{"@id":"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/"},"wordCount":303,"publisher":{"@id":"https:\/\/virtual-dba.com\/#organization"},"image":{"@id":"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/#primaryimage"},"thumbnailUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-in-Oracle-and-Make-It-the-Default-Temporary-Tablespace.jpg","keywords":["Oracle Database"],"articleSection":["Blog","Database","Oracle"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/","url":"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/","name":"Create Temporary Tablespace in Oracle and Make it Default","isPartOf":{"@id":"https:\/\/virtual-dba.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/#primaryimage"},"image":{"@id":"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/#primaryimage"},"thumbnailUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-in-Oracle-and-Make-It-the-Default-Temporary-Tablespace.jpg","datePublished":"2025-04-15T21:12:14+00:00","dateModified":"2025-09-16T19:47:56+00:00","description":"Learn how to create a temporary tablespace in Oracle and set it as default. Step-by-step guide for PDBs and CDBs\u2014read now!","breadcrumb":{"@id":"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/#primaryimage","url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-in-Oracle-and-Make-It-the-Default-Temporary-Tablespace.jpg","contentUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Create-Temporary-Tablespace-in-Oracle-and-Make-It-the-Default-Temporary-Tablespace.jpg","width":557,"height":291,"caption":"Create Temporary Tablespace in Oracle and Make It the Default Temporary Tablespace"},{"@type":"BreadcrumbList","@id":"https:\/\/virtual-dba.com\/blog\/create-temporary-tablespace-in-oracle-and-make-it-default-temporary-tablespace\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/virtual-dba.com\/"},{"@type":"ListItem","position":2,"name":"Create Temporary Tablespace in Oracle and Make It the Default Temporary Tablespace"}]},{"@type":"WebSite","@id":"https:\/\/virtual-dba.com\/#website","url":"https:\/\/virtual-dba.com\/","name":"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts","description":"Remote Database Administration","publisher":{"@id":"https:\/\/virtual-dba.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/virtual-dba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/virtual-dba.com\/#organization","name":"Virtual-DBA: Remote DBA | Remote Database Administration","alternateName":"Virtual-DBA powered by XTIVIA","url":"https:\/\/virtual-dba.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/","url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg","contentUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg","width":557,"height":291,"caption":"Virtual-DBA: Remote DBA | Remote Database Administration"},"image":{"@id":"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/virtual_dba","https:\/\/www.linkedin.com\/showcase\/36220649\/","https:\/\/www.youtube.com\/channel\/UCx3AIeUQ2ziTLKZSJDZ-SEg"],"description":"Eliminate database downtime and spiraling costs with XTIVIA\u2019s Virtual-DBA. In today\u2019s always-on business world, gaps in 24x7 on-call DBA support, neglected maintenance and security, or a stretched team struggling with overwhelming workloads can lead to costly disruptions and threaten business continuity. XTIVIA\u2019s Virtual-DBA provides the immediate, expert database administration you need, exactly when you need it, ensuring optimal performance, ironclad security, and significant cost savings without the burden of expanding your in-house team. The goal of Virtual-DBA is to provide a cost-effective solution for organizations seeking to optimize the security, management, maintenance, availability, and performance of their critical business systems, whether self-managed or cloud-managed (e.g., AWS RDS, Azure SQL Database). We accomplish this through a comprehensive remote DBA service offering designed specifically to meet the Oracle\u00ae, DB2\u00ae, Informix\u00ae, MySQL\u2122, PostgreSQL\u00ae, MongoDB\u00ae, MariaDB, and Microsoft SQL Server\u00ae, CockroachDB, Databricks, AWS, and Azure needs of our clients.","email":"info@xtivia.com","telephone":"8886853101","legalName":"XTIVIA, Inc","foundingDate":"1992-05-01","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"201","maxValue":"500"}},{"@type":"Person","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/425d67b3482ca79f1f1e191453d1bd51","name":"Doug Groves","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d94da2519ee1df3cfdcf196923b538e1c09176e646b4e668430e58edc179715b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d94da2519ee1df3cfdcf196923b538e1c09176e646b4e668430e58edc179715b?s=96&d=mm&r=g","caption":"Doug Groves"},"url":"https:\/\/virtual-dba.com\/author\/doug-groves\/"}]}},"_links":{"self":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts\/242854","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/comments?post=242854"}],"version-history":[{"count":0,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts\/242854\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/media\/242942"}],"wp:attachment":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/media?parent=242854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/categories?post=242854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/tags?post=242854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}