Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 54355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T17:12:25+00:00 2026-05-10T17:12:25+00:00

Oracle FAQ defines temp table space as follows: Temporary tablespaces are used to manage

  • 0

Oracle FAQ defines temp table space as follows:

Temporary tablespaces are used to manage space for database sort operations and for storing global temporary tables. For example, if you join two large tables, and Oracle cannot do the sort in memory, space will be allocated in a temporary tablespace for doing the sort operation.

That’s great, but I need more detail about what exactly is using the space. Due to quirks of the application design most queries do some kind of sorting, so I need to narrow it down to client executable, target table, or SQL statement.

Essentially, I’m looking for clues to tell me more precisely what might be wrong with this (rather large application). Any sort of clue might be useful, so long as it is more precise than ‘sorting’.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T17:12:26+00:00Added an answer on May 10, 2026 at 5:12 pm

    I’m not sure exactly what information you have to hand already, but using the following query will point out which program/user/sessions etc are currently using your temp space.

    SELECT   b.TABLESPACE        , b.segfile#        , b.segblk#        , ROUND (  (  ( b.blocks * p.VALUE ) / 1024 / 1024 ), 2 ) size_mb        , a.SID        , a.serial#        , a.username        , a.osuser        , a.program        , a.status     FROM v$session a        , v$sort_usage b        , v$process c        , v$parameter p    WHERE p.NAME = 'db_block_size'      AND a.saddr = b.session_addr      AND a.paddr = c.addr ORDER BY b.TABLESPACE        , b.segfile#        , b.segblk#        , b.blocks; 

    Once you find out which session is doing the damage, then have a look at the SQL being executed, and you should be on the right path.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In Oracle, you can create a temp table using something like: CREATE GLOBAL TEMPORARY
Oracle Newbie Here: I just started out creating my first Oracle database table. I
Oracle has this concept of allowing database users to be identified by the operating
In Oracle, what is the difference between : CREATE TABLE CLIENT ( NAME VARCHAR2(11
I am using Perl's DBD::ODBC to connect to an Oracle database. However, an issue
Does Oracle have a column metadata for storing its printable friendly label? Say I
I am used to oracle and now been thrown T-SQL, I am doing a
Oracle Streams AQ (Advanced Queuing) provides highly scalable database-backed queuing functionality. Does an equivalent
Oracle supports a query syntax where a table is joined to an Oracle collection
In Oracle, I can select the top 1 message in a sorted table with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.