Not used in the database tablespace

Hello

I want to find the list of the tablespace in my database which is not used at any time. I have listed below the scenarios where I must avoid these tablespace

1. I have a tablespaces in my database in which my application creates indexes at runtime and it falls. I need avoid these tablespace.
2. each user can have a separate UNTOTABLESPACE. I need avoid these tablespace in my query.

I use the query now to find the list of the tablespace that is not in my database below. But my query below does not satisfy the two conditions above.

SELECT NAME UNUSED_TABLESPACE
V $ tablespace
WHERE NAME NOT IN (SELECT USER_USERS
FROM dba_users)
AND NAME NOT IN ('UNDOTBS1")
AND NAME NOT IN (SELECT tablespace_name
OF dba_ts_quotas)
AND NAME NOT IN (SELECT tablespace_name
FROM dba_segments)
AND NAME NOT IN (SELECT temporary_tablespace
FROM dba_users)

Kind regards

007

1 if you have Diagnostic Pack license that you can try to use DBA_HIST_TBSPC_SPACE_USAGE, but it has only a dozen days of history. See http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/statviews_3195.htm#I1023456.

2. an Oracle user cannot use a specific UNDO tablespace: a user can only use a specific permanent tablespace or a specific temporary tablespace.

Tags: Database

Similar Questions

  • Identify a tablespace that is not used in the database

    Hello

    How to find the tablespace that is not assigned to any user? Note that I have a table partition in which there is table space where the records will be placed in the future based on the requirement on this partition table. I gave the unlimited tablespace on these tablespace privilege for the user. How to find storage space that is not used at any time in the database?


    Kind regards

    007

    007 wrote:
    Hello

    How to find the tablespace that is not assigned to any user? Note that I have a table partition in which there is table space where the records will be placed in the future based on the requirement on this partition table. I gave the unlimited tablespace on these tablespace privilege for the user. How to find storage space that is not used at any time in the database?

    Kind regards

    007

    According to my understanding of your question

    To check the quota on the tablespace use query below:

    SELECT * FROM dba_ts_quotas WHERE username = "XXXX";

    to check the default tablespace use the following query:

    Select USER_USERS from dba_users where username = 'XXXX '.

    How to find storage space that is not used at any time in the database?

    Use view dba_data_files for space used for the tablespace.

    I hope this help you

    Neeraj-

    Published by: Virginia October 22, 2011 14:35

  • UID: NestedListStyle U96 references 3918 UID which was not known to the database

    I started Muse after the last update and get the error message:. Muse is automatically terminated. UID: NestedListStyle U96 references 3918 UID which was not known to the database. I can't work!

    Hi Andreas,

    Could you please try the following: -.

    If you are on MAC: -.

    1) go to the location:-~/Library/Preferences (you can use Finder--> Go--> Go to folder or shift + command + 'G' type in the location)

    (2) move the com.adobe.AdobeMuseCC.2014.3 folder to another location

    (3) inside of the Preferences folder, navigate to the Adobe folder and move the following folders to another place: -.

    Adobe Adobe Muse CC libraries, library CC Adobe Muse, Muse CC

    If you are on a windows machine: -.

    (1) open file type %appdata%\microsoft\windows\sendto and Explorer on the top (C:\Users\username\AppData\Roaming)

    (2) move the com.adobe.AdobeMuseCC.2014.3 folder to another location

    (3) inside of the Roaming folder, navigate to the Adobe folder and move the following folders to another place: -.

    Adobe Adobe Muse CC libraries, library CC Adobe Muse, Muse CC

    Try running Muse again.

    Kind regards

    Neha

  • 1016: could not connect to the database: Oracle returned ORA-00257: archiver e

    Dear friends,

    Receive the above error.

    Removed my old ARC files to another drive and now the error again.

    How can I go about it.

    Please advice.

    Thank you!

    Note: I use Oracle 10 g on a Windows platform

    Published by: user645399 on July 26, 2012 18:36

    After 1000 posts, you need to understand that 10g is not a version number, but a marketing label. That's what says the error message,

    ORA-00257: archiver error. Connect internal only, until freed.
    
    Cause: The archiver process received an error while trying to archive a redo log. If the problem is not resolved soon, the database will stop executing transactions. The most likely cause of this message is the destination device is out of space to store the redo log file.
    
    Action: Check the archiver trace file for a detailed description of the problem. Also, verify that the device specified in the initialization parameter archive_log_dest is set up properly for archiving.
    

    If you simply deleted files using the command o/s, it don't will not update the control file that these files are no longer available and space mapped by them must be released. If you must use cross-checking of the RMAN command to confirm the deletion and mark the file as expired and then you will have to issue delete expired . Apart from this, the only option would be to add more space to the destination where you store the archive logs.

    HTH
    Aman...

  • Could not save to the database. MODE = UPGRADE error

    Hello world

    I get the following error when you try to save a custom database wft file

    1602: cannot save.
    1400: can not save to the database. MODE = UPGRADE EFFDATE = 2009-09-15 08:58:07
    1404: Please first loading this entity or check protect and customize the level of ITEM_TYPE 'XXXXPT '.

    We use the following:
    WF = 2.6.3.5 generator
    Version of WF = 2.6.0 (based on select text of the wf_resources where name = "WF_VERSION")

    Oracle Apps 11.5.10
    Oracle DB 10.1.0.4.0

    I tried to set the access level to zero (0), but the same error appeared.
    I use the correct version of the constructor?

    I appreciate if you can give help and ideas on that.

    Thank you
    Elmer

    PL see if MOS Doc 272897.1 (' error 1602 ': can not save "occurs when trying to save Supptest26 in Workflow Builder) can help

    HTH
    Srini

  • Info connect/disconnect not saved in the database?

    Hi I was searching through the tables to check the timestamp of a user login and logout of the system, but I can't seem to find it, is this information not stored in the database?

    So I went to check the query for the "active users" that I thought that 'this should have any information about this', and I come across this:

    < td > SELECT dName,
    dFullName AS wwSctrCHFull_Name,
    dUserType AS wwSctrCHUser_Type,
    dUserArriveDate AS wwSctrCHCr_Date
    USERS
    WHERE NOT IN dName
    (SELECT s.comp_username
    OF s SctAccessLog
    WHERE s.comp_username IS NOT NULL AND
    (Users.dName = s.comp_username) AND
    (s.SctDateStamp > =?) AND
    (s.SctDateStamp < =?) AND
    (s.comp_validRef IS NOT NULL) AND
    (sc_scs_eventType = 'Access content' OR)
    sc_scs_reference = 'web'))
    ORDER BY dName
    < table >
    < td >
    Date of SctFmtFromDate
    Date of SctFmtToDate
    < table >

    It is certainly not get 'no active users in period'!, don't stellent really keep the timestamp of the log-in times? According to the present application no.

    Thank you

    Because content tracker to track any service, and none of the data transmitted with this service, you can set it up to track (or maybe it's out of the box, I do remember everything on time) the CONNECTION service. For example, you might pay attention to the data passed to the LOGIN function, with a variable named auth. If it is set on the Internet is IdcSecurity. If it is set ot Intranet it attempts to use the Microsoft AD integration (or probably). So you could track that data, and then create a report to show how many connections of each type, you had, etc.

    I don't currently have the installed extranet component sorry. You need find the logout button and see that it has a convenience store. Then you could follow the logouts thus.

    With respect to the actual process of configuration Content Tracker, I'll first you point to the documentation on that and on the back with specific questions.

    Good luck Olivier! Give us an update!

  • Select the list with a shipment does not save to the database

    OK, I have a form with several fields (text, radiobox, selection list, display text). I have one of these lists of selection fill a display in the text field. When I chose a selection of the selection list, she filled the screen in the text field with the correct information but erased all the other information that was the inscription in the other fields. I searched the forum and found that the selection list should be a selection with mailing list and the branch page on itself, which works, but now these 2 fields information is not saved in the database. All other fields are saved, but not both. Anyone know what im missing? Thank you

    Deanna

    Hi Deanna,
    First the display as a text cannot insert data into the database. It can only display data from database. I guess you do not want the user to enter these areas, and that's why you use display as text field.

    There is a good way to resolve this situation. Say, you have 3 select list P1_ITEM1, P1_ITEM2, P1_ITEM3 in your page. For the change of P1_ITEM1 the screen Select the list and the LOV type in your query, assuming you want the value to be retrieved from a table. Therefore, type-

    Select emp_id, ename from emp;

    type the default value and null -1 and display null YESvalue. Make sure that under the type of source, you have the selected with the correct name database column.
    for P1_ITEM2 to the section LOV retype your query - i.e.

    Select mng_id, executive pay where emp_id = NV('P1_ITEM1') or NV ('P1_ITEM1') = 1

    Basically, this statement updating the data in the list select second after the first selection. type the default value and null -1 and display null YESvalue. Make sure that under the type of source, you have the selected with the correct name database column.

    Do the same for the third. It should work fine.

    I hope this helps.

    Kind regards

    Pascal M
    http://Tajuddin.whitepagesbd.com

  • I'm not able to merge the partition not used to the local disk partition

    I'm using windows xp service pack 3 and I have deleted my partitions from disk 2, but im not able to merge the partition not used to the local disk partition, what should I do?

     
    Original title: HELP ASAP!

    Hi Joseph.

    Suggestion of PML in the thread below, can be very useful.

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-performance/how-do-i-merge-two-partitions-in-XP/d2a7fa28-b2dc-41F6-9cd3-2c2beb6c6865

  • Can I remove Logical columns that I will not use in the layer of presentation as the id or foreign key columns?

    Hello

    Can I remove Logical columns at the level of the business layer that I'm not going to use the layer of presentation as the ID or foreign key columns? It will not affect the relations to the business layer?

    Kind regards

    Nestor

    Hi Nestor,.

    It won't unless they are used as keys, columns sort order, the ID column or the likes. But you can leave them in the MDB layer and expose just in the presentation layer - just in case you need it later. It is not use all the resources or generate overhead. More: Developer of the RPD should be used to work with loads of columns

  • Earphone is not upward or the database service is not registered with her

    Hello

    I'm new to the world of the oracle. Newly installed oracle DB 11 g. I tried to start dbconsole his failure. So I looked in Google additional suggestions on the order of RECREATE EM REPOSITORY .emctl stop dbconsole went successfully.

    but when I tried to run emca - deconfig dbcontrol db error listener is not to launch or database service is not registered with it below is the log

    tail - n 20 /u01/app/oracle/cfgtoollogs/emca/ORCL/emca_2014_06_05_09_07_17.log

    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:589)

    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1448)

    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:573)

    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:521)

    June 5, 2014 perform 09:07:37 oracle.sysman.emcp.EMConfig

    SEVERE: Earphone is not upward or database service is not registered with it. Start the listener and register the service of database and rerun the wizard of Configuration of EM.

    See the file journal at /u01/app/oracle/cfgtoollogs/emca/ORCL/emca_2014_06_05_09_07_17.log for more details.

    June 5, 2014 perform 09:07:37 oracle.sysman.emcp.EMConfig

    CONFIG: Stack Trace:

    oracle.sysman.emcp.exception.EMConfigException: listener has not elapsed or the database service is not registered with it. Start the listener and register the service of database and rerun the wizard of Configuration of EM.

    at oracle.sysman.emcp.ParamsManager.checkListenerStatusForDBControl(ParamsManager.java:3245)

    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:203)

    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:157)

    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)

    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:589)

    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1448)

    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:573)

    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:521)

    Oracle.sysman.emcp.EMConfig 5 June 2014 RestoreOuiLoc 09:07:37

    CONFIG: Restoration of oracle.installer.oui_loc to /u01/app/oracle/product/11.2.0/db_1/oui

    [config oracle@gds-bgl-oradb] $ tail-f /u01/app/oracle/cfgtoollogs/emca/ORCL/emca_2014_06_05_09_07_17.log

    at oracle.sysman.emcp.ParamsManager.checkListenerStatusForDBControl(ParamsManager.java:3245)

    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:203)

    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:157)

    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)

    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:589)

    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1448)

    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:573)

    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:521)

    Oracle.sysman.emcp.EMConfig 5 June 2014 RestoreOuiLoc 09:07:37

    CONFIG: Restoration of oracle.installer.oui_loc to /u01/app/oracle/product/11.2.0/db_1/oui

    IG] $


    [oracle@gds-bgl-oradb db_1] $ cat network/admin/listener.ora

    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    (ADDRESS = (PROTOCOL = TCP) (HOST = gds-bgl-oradb)(PORT = 1521))

    )

    )

    [oracle@gds-bgl-oradb db_1] $ cat network/admin/tnsnames.ora

    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora

    # Generated by Oracle configuration tools.

    LISTENER_ORCL =

    (ADDRESS = (PROTOCOL = TCP) (HOST = gds-bgl-oradb)(PORT = 1521))

    ORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = gds-bgl-oradb)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = orcl.cisco.com)

    )

    )

    ADR_BASE_LISTENER = / u01/app/oracle

    [oracle@gds-bgl-oradb db_1] $ lsnrctl status

    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on June 5, 2014 09:30

    Copyright (c) 1991, 2009, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production

    Start date June 5, 2014 08:55:04

    Uptime 0 days 0 hours 34 min 56 s

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora file

    The listener log file /U01/app/Oracle/diag/tnslsnr/GDS-BGL-OraDB/listener/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = gds - bgl - oradb.cisco.com)(PORT=1521)))

    Summary of services...

    Service "ORCL" has 1 instance (s).

    Instance "ORCL", State LOAN, has 1 operation for this service...

    Service 'orclXDB' has 1 instance (s).

    Instance "ORCL", State LOAN, has 1 operation for this service...

    The command completed successfully

    Please help me.

    You create the password with passwd file utility with the key.

    for the normal user login try one account other than sys (HR, System...)

  • Document windows does not use all the available on new monitor display area

    Hello

    I have a new monitor - a Benq BL2711.

    I have set up as my secondary monitor on display in Windows 8.

    I can put Photoshop (CS6) on this screen and maximize the it, but there is a vast space not used in the document window, which is not used. I want to show a lot more of my images that I can currently, but the document window will not only fill all that screen real estate. A large part of it is lost.

    The panels occupy the right space to the bottom of the screen, but the window of the document (or the display area?) uses only 60% of the height of the screen.

    What is a limitation or do I have to configure something? (I have reset the workspace of photography).

    Thanks for any help

    Nick

    It is really a shot in the water, but it's the space used by the "timeline" Panel when it is open. Try to check in the menu window and close the bottle.

    Other that that, there are always some good old Reset preferences. Make sure you save the custom actions/brushes/presets and so forth first!

  • A way to show items that are not used in the sequence

    Hello world

    is there a way to display items that are not used in the sequence.

    in order not to forget the "rushes" in the Assembly?

    my best,

    Turn on the use Audio and video columns in the sandbox and then sort by those.

  • May not use all the available space in the data store

    Hello

    We have a HP DL580 G7 Server P410i raid controller with 8 x 1 TB HDD.

    I create a raid 1 with 2 hard drives (1 TB) and raid 5 with 6 hard drives (5 TB) and install ESXi 5.1 in the first data store (1 to).

    After installation when I tried to create the 5 TB data store, (ESXi detects and displays the space available 5 TB) it does use that almost 2.5 TB! and may not use all the space

    I also installed the ESXi 5.5 but still no luck.

    This Ko seems to apply to you: http://kb.vmware.com/kb/2006942

  • I want to insuscribe because I do not use of the applications. Thank you

    I want to insuscribe because I do not use of the applications. Thank you

    In order to cancel the order, please contact customer service

    You can use: http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

    For more information on cancellation: cancel your creative cloud membership

  • Show only the value not save to the database based on the dynamic action

    Nice day
    I have a select box with products and dynamic action that updates a single display element with the price, based on the selection of products.
    Once the selection is made and the page is submitted, I noticed that the price is not stored in the database. If I change the display
    only the value of a text box, the data is saved. This is expected behavior? If so, can I add something to the text box to make it uneditable?

    Thanks for any help you can provide.

    Version is Application Express 4.1.1.00.23

    Steve

    stmontgo wrote:
    Hello
    Thanks for your advice. I changed the STATE of SESSION SAVE Yes with the other values remains the same, as they met to your recommendations.
    When I change the value, I get the error below. It's maybe because the value is taken from a dynamic action?

    Yes. That would mean there isn't an item "view only". The value is changed by the browser.

    You might change view as textitem and set read-only by adding the ReadOnly attribute to the property attributes of HTML form elements .

Maybe you are looking for