Oracle 8.0 - how to identify temporary tablespace using dba v$ views

Hello experts,
can someone tell me how can I query a v$ or dba_ view to identify which are the temporary tablespace in a 8.0.5 Oracle database?
Thx in advance.

8.0 did not have the concept of tempfiles.
However, a Tablespace could be created as a Temporary tablespace (still using "normal" datafiles) with CREATE/ALTER TABLESPACE tablespacename TEMPORAR.
Meaning : You can't query DBA_TEMP_FILES or V$TEMPFILEs. You have to query DBA_USERS to identify the designated Temporary Tablespace(s) and then query DBA_TABLESPACES for the storage parameters and then query DBA_DATA_FILES for the files.
You can also query DBA_TABLESPACES for CONTENTS='TEMPORARY' and then query DBA_DATA_FILES.
Hemant K Chitale

Similar Messages

  • How to identify temp tablespace user in the past

    hi,
    can anyone guide me on how to identify temp tablespace users and corresponding temp space amount they used in the past?
    we have this situation where in we need to identify the top temp tablespace user last jan 1 around a specific time.
    is this possible? do these get stored in one of the tables in the dictionary? any sql statement?
    thanks.

    900666 wrote:
    hi ckpt,
    thats unfortunate..=(
    anyways, any sql that can be used to capture current sessions with their used mb in temp tablespace? for future monitoring.
    thansk.Here is example
    SQL> SET LINESIZE 145
    SQL> SET PAGESIZE 9999
    SQL> SET VERIFY   off
    SQL>
    SQL> COLUMN tablespace_name       FORMAT a15               HEAD 'Tablespace Name'
    SQL> COLUMN username              FORMAT a15               HEAD 'Username'
    SQL> COLUMN sid                   FORMAT 99999             HEAD 'SID'
    SQL> COLUMN serial_id             FORMAT 99999999          HEAD 'Serial#'
    SQL> COLUMN contents              FORMAT a9                HEAD 'Contents'
    SQL> COLUMN extents               FORMAT 999,999           HEAD 'Extents'
    SQL> COLUMN blocks                FORMAT 999,999           HEAD 'Blocks'
    SQL> COLUMN bytes                 FORMAT 999,999,999       HEAD 'Bytes'
    SQL> COLUMN segtype               FORMAT a12               HEAD 'Segment Type'
    SQL>
    SQL> BREAK ON tablespace_name ON report
    COMPUTE SUM OF extents   ON report
    SQL> SQL> COMPUTE SUM OF blocks    ON report
    SQL> COMPUTE SUM OF bytes     ON report
    SQL>
    SQL>
    SQL> SELECT
      2      b.tablespace          tablespace_name
      3    , a.username            username
      4    , a.sid                 sid
      5    , a.serial#             serial_id
      6    , b.contents            contents
      7    , b.segtype             segtype
      8    , b.extents             extents
      , b.blocks              blocks
      9   10    , (b.blocks * c.value)  bytes
    FROM
    11   12      v$session     a
    13    , v$sort_usage  b
    14    , (select value from v$parameter
    15       where name = 'db_block_size') c
    16  WHERE
    17        a.saddr = b.session_addr
    18  /
    Tablespace Name Username           SID   Serial# Contents  Segment Type  Extents   Blocks        Bytes
    TEMP          SYSTEM            1333      4725 TEMPORARY LOB_DATA            1      128    1,048,576
                    SYSTEM            1562       444 TEMPORARY SORT               89   11,392   93,323,264
                    SYSADM            1602        80 TEMPORARY LOB_DATA            1      128    1,048,576
                    SYSTEM            1613     18693 TEMPORARY SORT               89   11,392   93,323,264
    sum                                                                          180   23,040  188,743,680
    SQL>

  • How to check temporary tablespace size in Oracle 7?

    Hi,
    Anyone still using Oracle 7 ? I would like to know the sql to check the temporary tablespace and its datafile size.
    Thank,
    Regards,
    Eye Gee

    http://www.oracle.com/technetwork/documentation/oracle7-091910.html

  • Temporary tablespace - used and freespace size and percentage

    Hi,
    anyone here have a gd script to query the above?
    need to correctly calculate.
    thanks

    You should be more concerned of what's being used in temporary tablespace. As Oracle will reuse temp segment, free space in temp tablespace is not a good indicator.
    select * from v$sort_usage;

  • How to identify workbooks are using pre-calculated servers or not?

    Hi all,
    I have a lot of work books but i need to find out which workbooks are using precalculated servers or not ?
    How to identify it?
    Thanks
    pooja

    Hi,
    Go to transaction T code RSPRECADMIN.
    1.This has a list of all your precalculation
    server.
    2.To view what is in the queue, right
    click on a server and choose
    u201CDisplay Current Queueu201D.
    3.This queue will show all precalculation
    jobs that are open,
    currently running, or complete.
    Regards,

  • How can I have a use a variable view for a Popover in Xcode Applescript-ObjC?

    I'm adding Popovers to my application, but I have it coming from buttons in different views. One button might be in a Tab-View, and one in the main window. If I specify the wrong view, the Popover is off to the left and down, like the image below:
    Here's my code:
    on OpenPopover_(sender)
            Popover's showRelativeToRect_ofView_preferredEdge_(sender's frame(), MainWindow's contentView(), current application's NSMaxYEdge)
            end OpenPopover_
    How can I use a variable view or not specify the view at all so that the buttons can be in different views without having to use multiple pieces of code, using Applescript-ObjC, Xcode?

    You are using the content view of the entire window instead of whatever view the button is in - the frame rectangles are relative to the view it is in.
    The method parameters are a rectangle that is relative to the view (to position the popover), the view containing the rectangle, and the edge of the rectangle to use.  To position relative to a button, you can get the button's superview (the containing view), for example:
    popover's showRelativeToRect_ofView_preferredEdge_(sender's frame(), sender's superview(), current application's NSMaxYEdge)

  • How to define tablespaces in Oracle 10g and how put tables on tablespaces

    Hello,
    I'm having trouble to define the structure of tablespaces and how to distribute the tables/indexes/lobs on these tablespaces.
    Do you know some rules on how to define this?
    What I have until now:
    1) Put table indexes in separate tablespace
    2) Put lobs in separate tablespace and use storage clause when defining the lob column. Not sure how many tablespaces to use, I have tables with millions of lobs and tables with just one lob (with row containing the lob).
    3) Please fill more rules here ...
    Thank you, Alex.

    Long story: I received database and schema creation scripts defined in Oracle 9i. I want to redesign the tablespaces number/storage and also to change the distribution of tables into tablespaces.
    As an example I will show how tablespaces are created now. There is one tablespace for indexes BLUE_AUTO_INDX and one for each EXTENT MANAGEMENT of:
    - 64K for BLOB , name BLUE_K064_BLOB
    - 64K for tables , name K064_NTAB
    - 128K for tables, name BLUE_K128_NTAB
    - 512K for CLOB , name BLUE_K512_CLOB
    - 4M for BLOB , name BLUE_M004_BLOB
    - 64M for CLOB , name BLUE_M064_CLOB
    - 8M for tables , name BLUE_M008_NTAB
    - 1M for tables , name BLUE_M001_NTAB
    - 256M for tables, name BLUE_M256_NTAB
    Definition of each tablespace is like:
    CREATE TABLESPACE BLUE_AUTO_INDX DATAFILE 'BLUE_AUTO_INDX01.DBF' SIZE 200M REUSE AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 64M SEGMENT SPACE MANAGEMENT AUTO;
    CREATE TABLESPACE BLUE_K064_BLOB DATAFILE 'BLUE_K064_BLOB01.DBF' SIZE 20M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 64K SEGMENT SPACE MANAGEMENT AUTO;
    CREATE TABLESPACE BLUE_K064_NTAB DATAFILE 'BLUE_K064_NTAB01.DBF' SIZE 20M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 64K SEGMENT SPACE MANAGEMENT AUTO;
    CREATE TABLESPACE BLUE_K128_NTAB DATAFILE 'BLUE_K128_NTAB01.DBF' SIZE 20M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128K SEGMENT SPACE MANAGEMENT AUTO;
    CREATE TABLESPACE BLUE_K512_CLOB DATAFILE 'BLUE_K512_CLOB01.DBF' SIZE 20M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 512K SEGMENT SPACE MANAGEMENT AUTO;
    CREATE TABLESPACE BLUE_M004_BLOB DATAFILE 'BLUE_M004_BLOB01.DBF' SIZE 20M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 4M SEGMENT SPACE MANAGEMENT AUTO;
    CREATE TABLESPACE BLUE_M064_CLOB DATAFILE 'BLUE_M064_CLOB01.DBF' SIZE 400M REUSE AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 64M SEGMENT SPACE MANAGEMENT AUTO;
    CREATE TABLESPACE BLUE_M008_NTAB DATAFILE 'BLUE_M008_NTAB01.DBF' SIZE 200M REUSE AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 8M SEGMENT SPACE MANAGEMENT AUTO;
    CREATE TABLESPACE BLUE_M001_NTAB DATAFILE 'BLUE_M001_NTAB01.DBF' SIZE 100M REUSE AUTOEXTEND ON NEXT 50M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1M SEGMENT SPACE MANAGEMENT AUTO;
    CREATE TABLESPACE BLUE_M256_NTAB DATAFILE 'BLUE_M256_NTAB01.DBF' SIZE 512M REUSE AUTOEXTEND ON NEXT 256M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 256M SEGMENT SPACE MANAGEMENT AUTO;
    Does this structure of tablespaces ok? I mean if the logic of one tablespace for different EXTENT SIZEs looks ok?

  • How to identify if timesten used is client-server mode talking to oracle db

    we have existing code in C++. It uses timesten 64bit. I wanted to find out which part of code is actually talking to oracle db.
    Is there any keyword or function which will help me to find it out?
    Or other way, is there a way to find out if timesten is not running in client mode and not talking to oracle.
    Please advice.

    I'm not sure I fully understand the question. I you have a C++ application that uses TimesTen then, unless you have explicitly coded statemenyts to connect to Oracle DB none of the application code will be talking to Oracle DB. If TimesTen is used in standlaone mode then it has no dependency on Oracle DB. If you are using TimesTen as a cache then all communication between TimesTen and Oracle DB occurs in one of (a) the TimesTen library, (b) The Cache Agent, or (c) the Replication agent.
    Chris

  • How to Identify database sessions used by forms sso user sessions?

    Hi:
    When using forms with SSO, all database sessions are opened by the same OSUSER (usually oracle), from the same machine (usually the forms server) and by the same program (usually [email protected] [TNS V1-V3]).
    I need a way to identify the database session (v$session) that is beeing used by a specific SSO user. By using SSO, we say implicitly that all users using that SSO resource will be connect to the database by a specific database user.
    So, what can I do to identify the database session that a specific forms user is using ?
    Thanks
    Joao Oliveira

    You could try something like the following in a when new form instance trigger:
    declare
    authenticated_username varchar2(30);
    begin
    authenticated_username := get_application_property(`sso_userid');
    DBMS_APPLICATION_INFO.SET_CLIENT_INFO (
    client_info IN VARCHAR2);
    end;
    This will store the sso userid in the client_info field of v$session.
    I hope this works for you.
    Randy McGregor

  • How to identify empty InfoObjects used in a Cube

    Hello Gurus!
    I need some help. How do I find empty InfoObjects used in a Cube?
    I have 20+ Cubes and I need to identify those objects in the cubes, which are empty /not filled/. Statistics
    Except writing an ABAP
    Thanks in advance
    Martin

    Thank you for such fast response!
    @Tarak: unfortunately in the TX: LISTCUBE /or display data via RSA1/ you cannot display all characteristics for 'larger' cubes. Additionally you would have to select filter on each characteristics separately.
    @Aduri: could you please give me a more detailed hint? I know cube statistics for load requests, for storage space, for DB time, for IO in report use, but not for IO data, no data.
    @Analyst: Transactional data. Well, to check each mapping for 20+ cubes is a possibility. I have hoped to find a faster way, however.

  • How to identify macbook pro using the serial

    how can I identify a macbook pro using the serial #

    http://support.apple.com/kb/HT4132
    https://selfsolve.apple.com/agreementWarrantyDynamic.do
    these links might help you

  • How to identify the encoding used in a file ?

    Hi all,
    I have to read a file and check it is encoded in UTF-8. How I can do this ?. If fiel is saved in MS Windows I can check for BOM. What if the file is saved using Java API ?. Is there any code(copy left code) available for doing this ?
    rgds
    Antony Paul

    The problem is that ther eare no definite tests for character encoding. A particular byte stream can be valid in any number of different encodings (even if the resulting characters are not correct). If the characters don't happen to include any above unicode 127 then a UTF-8 stream is identical to the same characters in any number of different encodings.
    It's not just a matter of there being no code for it in the library, it's impossible to do with any certainty, and to do it even probabalistically you'd have to run the results through a multi-lingual spelling checker.
    If you just ask java.io to open a Reader without specifying an encoding it will assume the default encoding of your system.

  • How to identify various objects used in code

    Hi All,
    Can anyone tell me how can I list down various objects used in a program.
    For example in a report program if I am calling a function module, calling an include program, implementing a class and so on. Now I want to list down the objects used in the above program.
    Thanks in advance,
    Venkat

    This can get you started.
    DATA:
      code_rec(132),
      itab LIKE STANDARD TABLE OF code_rec.
    DATA:
      obj_text(40),
      it_search LIKE STANDARD TABLE OF obj_text.
    PARAMETERS:
      prog        TYPE sobj_name.
    START-OF-SELECTION.
      PERFORM search_table.
      REFRESH itab.
      READ REPORT prog INTO itab.
      CHECK sy-subrc = 0.
      LOOP AT itab INTO code_rec.
        TRANSLATE code_rec TO UPPER CASE.
        LOOP AT it_search INTO obj_text.
          SEARCH code_rec FOR obj_text.
          CHECK sy-subrc EQ 0.
          WRITE:/ 'Found ', obj_text, 'in', code_rec.
        ENDLOOP.
      ENDLOOP.
    *&      Form  search_table
    FORM search_table.
      REFRESH it_search.
      PERFORM add_a_search USING 'CALL FUNCTION'.
    ENDFORM.                    " search_table
    *&      Form  add_a_search
    FORM add_a_search USING  p_text.
      obj_text =  p_text.
      TRANSLATE obj_text TO UPPER CASE.
      APPEND obj_text TO it_search.
    ENDFORM.                    " add_a_search

  • How to identify the dtp used in the process chain in bi 7?

    Hi all,
    I have a a couple of dtp in the production system, i need to find out what are all the process chains using this DTP?
    Can anyone help me on this!!
    thanks

    Right click on DTP - If 'process chain' option is enabled for navigation it means it's already used by Process chain - click on it will take you to PC
    If it's disabled then It's not locked in any PC

  • How to identify PORTAL  name using IPORTALCOMPONENTREQUEST

    Hi All,
    We have created one portal application and we are trying to execute it from 3 different portals and trying to differentiate among portal names in the applications.Is there any mehod in the IPORTALCOMPONENTREQUEST or IPORTALCOMPONENTRESPONSE which will give me the portal name or url
    Thanks
    Bala Duvvuri

    Specify the property in the <component-profile> in portal app.xml
    for example
    <components>
        <component name="HeloTest">
          <component-config>
            <property name="ClassName" value="com.sap.training.wd.HeloTest"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="PortalNAME1" value="PORTAL1">
              <property name="personalization" value="dialog"/>
            </property>
            <property name="CachingLevel" value="User"/>
          </component-profile>
        </component>
      </components>
    When you open the Abstract Portal Component
    Please writr this peace off code
                    IPortalComponentContext contest= request.getComponentContext();
              IPortalComponentProfile profile= contest.getProfile();
              String AppURL=profile.getProperty("PortalNAME1");
    If you want to enter the Portal Name at Iview Property please use the
    <property name="personalization" value="dialog"/> property which will come in Iview Properties after you create Iview
    Thanks,
    Sreeni.

Maybe you are looking for

  • Remote app and Ipad with Apple TV

    I use the Remote app with both an iPad and iPhone to control my first gen Apple TV. This works fine except for one thing. When I select "Apple TV" as the library, using an iPhone I have access to all my library including Podcasts. When I run the same

  • Why do I get "Version too old to administer message" with CS5?

    I am using CS5 with Windows 7 to administer and edit six websites. With five sites, I have no problem accessing Administrator dialogue box.  With one site I get a message saying  "Your version is too old to Administer this website."  The error croppe

  • An error has occurred in the ADC storage system. ORA-03113: end-of-file on

    Hi. I am having the following error. I'm creating a gauge chart based on a DataObject. An error has occurred in the ADC storage system. ORA-03113: end-of-file on communication channel at Oracle.BAM.ActiveDataCache.Kernel.Server.DataStoreServer.OpenVi

  • Monitoring Oracle session with SQL_ID

    Hi All, How can I know a SQL_ID belonging to a user/schema in Oracle. Can anyone post me the query to find the SQL QUERY/SQL_ID belonging to a user session. I have googled but dint get what i expected. Hope I get it here. We dont have OEM configured

  • Displaying IT0006 on ESS (Portal)

    Hi Gurus, I want to displat employees address on ESS. IT0006 is already maintained on ECC. Please tell me the required IMG configuration form HR side so that address will be displayed on portal. Thanks, Pramod S