DROP TABLESPACE TIVOLIORTS INCLUDING CONTENT AND DATA FILES;

How can I do it's 8i?

Unless the storage space is already empty, you will still need to syntax "including the content. If there is any referential integrity between objects in this ts and others, you must the syntax 'constraints cascading:

Drop tablespace tivoliorts including content of cascade constraints;

Tags: Database

Similar Questions

  • tablespace and data files not synchronized

    Hello
    I'm under 10.2.0.1.0 Oracle instance.
    got an error like:

    ORA-01652: unable to extend segment temp of 128 in tablespace TEMP.

    resolution, I've tried:
    I added 2 database files each of 2 GB in TEMP tablespace.

    then I re-run same query got the same error message.

    On OEM, the TEMP tablespace and data files that it contains are not synchronized.

    When I added a few .dbf in tablespace TEMP it has not yet calculated space and space occupaid.

    Is anyway I can make TEMP tablespace and .dbf in tablespace TEMP in sync... ?
    anyhelp is fine
    I'm stuck... ?

    Thank you
    JP

    Hello

    You should have added tempfiles and not the datafiles, right?

    Why didn't you not adjust existing files to autoextend on? And you can try adding space via Enterprise Manager itself.

  • export an entire site, including graphics and css files

    I'm trying to export an entire site, including graphics and css files. I know that this service exists in InDesign. Basically, I worked on a site with an image file which has all sorts of images that I have worked, to test how it would look. So, rather than go back and try to think of what file was not good, I want to be able to export all html files and include the css and image files.

    If it is not possible to do, anyone know a thing to collect images?

    Thank you

    ARA

    Simply download the HTML using DW. Only referenced (linked) image files
    in the HTML code will be downloaded.

    --

    Walt

    "aagraphics" wrote in message
    News:fr9eq6$q8o$1@forums. Macromedia.com...
    > Sorry about that, I was just using InDesign for example. I just try
    > to
    > collect images that apply to HTML page in a single file, currently it
    > is
    > additional images in my pictures folder I do not use for the site. I have
    > don't
    > to download all the files that are not nesseccary. When I initially
    > designed
    > it, I tested with a few images and then left them in the pictures folder for
    > own
    > until later. Now, if I can export similar to how InDesign or Quark and
    > include all images, it would be great, but if you know the tricks that
    > would be
    > work just as well.
    >

  • Transportable tablespaces and data files

    Hello

    I wonder if the following is possible.

    With the help of 11.2.0.3

    Export datapump job to export an entire table every day to dumpfile daily functioning

    Then, slide old partitions for example 1 day

    About destination databased days later (imgaeine 4) if need import current dumpfile and datafile for the affected tablespace that will import the deleted partition (that is, the 1st day

    Thank you

    I'm a little confused as to what you're asking, but since you're on 11.2.0.3 you have called transportable table mode.  You can export a single partition of a table using transportable tablespace data movement.  It helps a lot when you create a new storage space for each partition.  It also works if you do not have, but there are a lot of additional data you need to store.  Let me give you an example:

    table foo with:

    partition 1 - tablespace 1 - day 1

    partition 2 - tablespace 2 - day 2

    partition 3 - tablespace 3 - day 3

    partition 4 - tablespace 4 - day 4

    If you were to run this export:

    tables of user/password = foo:partition1 transportable expdp = always dumpfile = foo_part1.dmp...

    you would get a dumpfile with just partition1.  You must save the dumpfile and the data file if you ever need to restore.  To restore it, run a command like:

    Impdp username/password DB11G = dumpfile = foo_part1.dmp...

    It would be important only the partition, and it would create a table called foo_partition1.  You can then use the swap partition to put back in the table where you need restored.

    If all of these scores have been in the same table, you could do the same thing for export and import, but you would need to keep a copy of the dumpfile with a copy of the storage space for every day.  Then

    day 1 - would thus dumpfile datafile with just data from day 1

    day 2 - would thus dumpfile data file with data from day 1 and the day2

    day 3 - would thus dumpfile datafile on day 1, day 2 + data of the day 3

    etc.

    The reason for this is because the import checks that the tablespace that has the same features when it was exported.  It uses a checksum or something to verify this.  So, if you've added data to day 2, the data file would not be the same and the import fails.

    I hope this helps.

    Dean

  • segments and data files

    can someone clarify me the following...

    If a table space includes a number of segments... is that true

    -A table space can contain a number of files, each consisting of a number of segments of. ?

    Also when a table partitioning is involved,... lets say partition us a table on two separate drives,... a segment would be placed in a data file on disc one and the other segment placed in a data file on disk B... but where information held relating to the global table (if that makes sense... that is to say where would hold information on partitions ,, ?)

    Any help would be appreciated

    -A table space can contain a number of files, each consisting of a number of segments of. ?

    True and true half. Segments in a tablespace may extend in all, part or all of the data in this table files. User has no command to specify what datafile inside a tablespace should be used for a segment.

    but where information held relating to the global table

    The attributes of the table is stored in the metadata, and it is in the SYSTEm tablespace. However, a partitioned table has a default tablespace associated with it. Partitions that you do not specify that a tablespace to go.

    Example: MP_OHDB is default tablespace of the table but each subpartition in it's own tablespace bit!

    CREATE TABLE MEM_NBR
    (
      BUSINESS_DATE  DATE,
      INSTANCE       NUMBER(5),
      LOGBAPI_NBR    NUMBER(20)
    )
    TABLESPACE MP_OHDB
    PCTUSED    0
    PCTFREE    10
    INITRANS   1
    MAXTRANS   255
    PARTITION BY RANGE (BUSINESS_DATE)
    SUBPARTITION BY LIST (INSTANCE)
    SUBPARTITION TEMPLATE
      (SUBPARTITION INSTANCE_1 VALUES (1) TABLESPACE MP_OH_GEN_P1,
       SUBPARTITION INSTANCE_2 VALUES (2) TABLESPACE MP_OH_GEN_P2,
       SUBPARTITION INSTANCE_3 VALUES (3) TABLESPACE MP_OH_GEN_P3,
       SUBPARTITION INSTANCE_4 VALUES (4) TABLESPACE MP_OH_GEN_P4,
       SUBPARTITION OTHERS VALUES (DEFAULT) TABLESPACE MP_OHDB
      )
    INTERVAL( NUMTODSINTERVAL(1,'DAY'))
    (
      PARTITION P0 VALUES LESS THAN (TO_DATE(' 2008-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
        NOLOGGING
        NOCOMPRESS
        TABLESPACE MP_OHDB
        PCTFREE    10
        INITRANS   1
        MAXTRANS   255
        STORAGE    (
                    BUFFER_POOL      DEFAULT
                   )
      ( SUBPARTITION P0_INSTANCE_1 VALUES (1)    TABLESPACE MP_OH_GEN_P1,
        SUBPARTITION P0_INSTANCE_2 VALUES (2)    TABLESPACE MP_OH_GEN_P2,
        SUBPARTITION P0_INSTANCE_3 VALUES (3)    TABLESPACE MP_OH_GEN_P3,
        SUBPARTITION P0_INSTANCE_4 VALUES (4)    TABLESPACE MP_OH_GEN_P4,
        SUBPARTITION P0_OTHERS VALUES (DEFAULT)    TABLESPACE MP_OHDB ),
      PARTITION VALUES LESS THAN (TO_DATE(' 2010-11-17 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
        NOLOGGING
        NOCOMPRESS
        TABLESPACE MP_OHDB
        PCTFREE    10
        INITRANS   1
        MAXTRANS   255
        STORAGE    (
                    BUFFER_POOL      DEFAULT
                   )
        SUBPARTITIONS 5 STORE IN (MP_OH_GEN_P1,MP_OH_GEN_P2,MP_OH_GEN_P3,MP_OH_GEN_P4,MP_OHDB),
      PARTITION VALUES LESS THAN (TO_DATE(' 2010-11-18 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
        NOLOGGING
        NOCOMPRESS
        TABLESPACE MP_OHDB
        PCTFREE    10
        INITRANS   1
        MAXTRANS   255
        STORAGE    (
                    BUFFER_POOL      DEFAULT
                   )
        SUBPARTITIONS 5 STORE IN (MP_OH_GEN_P1,MP_OH_GEN_P2,MP_OH_GEN_P3,MP_OH_GEN_P4,MP_OHDB),
      PARTITION VALUES LESS THAN (TO_DATE(' 2010-11-19 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
        NOLOGGING
        NOCOMPRESS
        TABLESPACE MP_OHDB
        PCTFREE    10
        INITRANS   1
        MAXTRANS   255
        STORAGE    (
                    BUFFER_POOL      DEFAULT
                   )
        SUBPARTITIONS 5 STORE IN (MP_OH_GEN_P1,MP_OH_GEN_P2,MP_OH_GEN_P3,MP_OH_GEN_P4,MP_OHDB)
    )
    NOCOMPRESS
    NOCACHE
    PARALLEL ( DEGREE DEFAULT INSTANCES DEFAULT )
    MONITORING;
    
  • Alter tablespace name wrong when creating data file

    Hello

    While creating a data file, I used alter tablespace name wrong.
    For example,.
    I used:
    ALTER TABLESPACE ADD datafile APPS_TS_SEED ' / d01/oracle/stkmnfun/db/apps_st/data/a_txn_data05.dbf' size 1024M;

    Correct one:
    ALTER TABLESPACE ADD datafile APPS_TS_TX_DATA ' / d01/oracle/stkmnfun/db/apps_st/data/a_txn_data05.dbf' size 1024M;

    I have created a more a_txn_data06 with the correct STORAGE space...
    But, did anyone know how this can be corrected?


    Thanks in advance,

    As long as it has not at all affected in this data file, you can deposit with
    alter tablespace... datafile drop...

    Kind regards
    Uwe Hesse

    http://uhesse.WordPress.com

  • The high water table and data files

    Hi all

    I just have a small question regarding high Tables in correlationi with the HWM to a data file. I have a data file that I would like to resize. At this point, I can reduce the data file of 100 GB to 70 GB which is the HWM of the data file. However, I know that I can compress probably some tables in the tablespace and assuming that these tables have extensions the datafile, will be running 'alter table shrink space,' also decrease the HWM of the data file? Or is there no correlation between the 2 HWM?

    Thank you.

    Note You can use alter table move and change reconstructions of index to move generally the scope used to the logical beginning of the data files. How good Oracle repacks extensions dependent measure used tablespace management and the size and order of executed moves/reconstruction. Retractable table option allocates no new extensions so it won't move that objects forward in the file.

    But again, there is very little point in trying to pack each scope to the front of the file if you cause Oracle immediately need to expand the file to store the new allowance claims. Existing free extensions in the logical HWM of the file will be reused when possible with managed tablespaces locally packaging 100% is not necessary.

    If the dictionary is indeed this reuse is more variable, but based on your previous posts, there is no need to worry about this situation.

    HTH - Mark D Powell.

  • I want to delete wtf and data files, I'm the administraghiter but his application for permission

    I want to delet these 2 files but it said access denied need administraighter permission but I am the admin

    Hello

    -What is the exact wtf files and data location you want to remove your computer?
    -Did you do changes on the computer before this problem?
     
    I suggest you to follow the steps mentioned below and check if it helps:
    1.right - click on file or folder, and then choose Properties.
    2. click on the Security tab.
    3. click on Advanced, then the owner tab.
    4. click on change, then your user name (make sure to check Replace owner subcontainers..).
    5. click on apply, and then click OK.
    6.now, under permissions, click on change permissions.
    7. click Add, and then type your user name and click on OK.
    8 check the box allow under full control, then click on OK.
    9. now, choose the replace all the CheckBox child permission.
    10. click on OK, then apply, then on Close.

    If it's system files, I suggest you don't not to remove files.

    Hope this information helps.

  • a backup controlfile and data files but not archive file db 11 g xe

    a backup data files and controlfile but not to redo file db is r2 xe 11g... was trying to backup closed... again missed...

    in any case to restore the back Pb...
    I forgot to backup log file...
    DB has been closed... properly
    much appreciated info.
    see you soon

    Published by: zycoz100 on February 27, 2013 04:42
    I do not have these 2 files newspapers... in the destination mentioned

    Is no question, the create controlfile statement specifies redo filenames - if they do not exist, the Forum could gripe about it, but they will be created at the start of the backup database redo information.

    And if you don't like the names, this problem, which is:

    -- change:
    ... group 1 '\O1_MF_1_80L7C259_.LOG' size ... ,
    group 2 '\O1_MF_2_80L7C375_.LOG' size ...
    -- to
    'C:\oraclexe\app\oracle\oradata\XE\redo\redo01.dbf' size ... ,
    'C:\oraclexe\app\oracle\oradata\XE\redo\redo02.dbf' size ...
    -- if you want three redo files that's fine too- add  group 3 ...
    , group 3 'C:\oraclexe\app\oracle\oradata\XE\redo\redo03.dbf' size ... 
    

    You will have to make the folder "remake", part complete must be a valid directory. The "out of the box" installation program in the tenth place redo files in the flash recovery area. And FRA imposes an arbitrary size limit, 10 GB, I think. Better to point files redo to a different folder, not in the location of the FRA.

    Redo files can also have several members, for extra protection. If at least one member of a group of redo is integrated the database will continue to run. Specify additional members with:

    group 1 ( '\redo01.dbf', '\redo01.dbf' ) size ... ,
    group 2 ( '\redo02.dbf', '\redo02.dbf' ) size ... ,
    group 3 ( '\redo03.dbf', '\redo03.dbf' ) size ... 
    

    I always name the files redo with an extension .dbf, at one point, there was a system administrator I looking a little too aggressive log files that "had to be cleaned up to save space.

    Good for him, he has released a few MB of disk space.

    Bad for me, the instance crashes as soon as he tried to write in a missing file again.

  • Index and data files

    You can store the Page and Index file on different drives? If Yes, how to make the change, and when in the process of creation of the app?


    (App 11.1.2 native Essbase version)

    Thank you!

    -Monica J

    You can store them on different drives. Would be a right click on the database name and select Edit properties. Go to the storage tab and select the drive that you want everyone to be on. If there is already data in the database, to get on the new discs, you must export the data and then stop and reformulate the request.

  • Cache buffers DB, file Cache Redo, DBWR, LGWR and log and data files

    Hi all Experts,

    I m very sory for taking your time to a matter of very basic level. in fact, in my mind, I have a confusion about the DB buffer cache and the cache of log buffers
    My question is in the DB buffer cache are three types of dirty, pinned and free i-e data. and in Sales, they are all changed data data and are willing to empty in DBRW. and then he write data files.

    but again bufers also works for the CDC and all the changed data is temporaryliy chacheed bufers redo and the LGWR writes in the log files. and these data can be data are committed or not. and when the log switch is held, then it writes data to data files commited

    My question is that if a log file may have committed data type and stop and when a log switch takes place then only the data are committed are transferred to datafiles, then where are the data no go?


    If dirty pads also contain modified data so wath is the diffrence between the bufers and data log data incorrect.

    I know that this can be funny. but I m maybe wrong abot the concept. Please correct my concept about this

    Thank you very much

    Kind regards

    user12024849 wrote:
    Hi all Experts,

    I m very sory for taking your time to a matter of very basic level. in fact, in my mind, I have a confusion about the DB buffer cache and the cache of log buffers

    The first thing we do not mention this newspaper stamp in the log buffer cache. It won't make a difference to even call it that, but you should stick with the term normally used.

    My question is in the DB buffer cache are three types of dirty, pinned and free i-e data.

    Correction, it is the States of the buffer. These aren't the types. A buffer can be available in all of these three States. Also, note even when you would select a buffer, his first PIN before it can be given to you. Apart from this, there is a type more State called instant capture buffer aka CR (coherent reading) buffer that is created when a select query arrives for a buffer inconsitent.

    and in Sales, they are all changed data data and are willing to empty in DBRW. and then he write data files.

    Yes, that's correct.

    but again bufers also works for the CDC and all the changed data is temporaryliy chacheed bufers redo and the LGWR writes in the log files. and these data can be data are committed or not.

    That is partially right. The buffer which is written by DBWR in the data file is a full buffer while in the log buffer, it is not the entire block that is copied. Oracle enters the log buffer called vector of change . It's actually the representation of this change that you made in the data block. It is the internal representation of the change that is copied into the log block and is much smaller in size. The size of the buffer of paper compared to the buffer cache is much smaller. What you mentioned about the writing of written data room again or not committed is correct. His transactional change that needs to be protected and therefore is almost always written in the restore log file by progression of the LGWR.

    and when the log switch is held, then it writes data to data files commited

    Fake! To the command log, Checkpoint is triggered and if I'm wrong, its called point of control of thread . This causes DBWR write buffers dirty this thread in the data file regardless of whether or not they are committed.

    >

    My question is that if a log file may have committed data type and stop and when a log switch takes place then only the data are committed are transferred to datafiles, then where are the data no go?

    As I explained, it is not only the validated data are written to the file data but committed and not committed is written.

    If dirty pads also contain modified data so wath is the diffrence between the bufers and data log data incorrect.

    Read my response above where I explained the difference.

    I know that this can be funny. but I m maybe wrong abot the concept. Please correct my concept about this

    No sound is not funny, but make sure that you mix in anything else and understand the concept that he told you. Assuming that before understanding can cause serious disasters by getting the concepts clearly.

    Thank you very much

    HTH
    Aman...

  • Firefox not to honor the "Offline Web content and data user" settings

    Firefox still accept web content offline and the user data, I have never any notification regardless of the 'tell me when a website asks to store data for use in offline mode' parameter (in preferences > advanced > network).

    I also completely erased all: permissions tab regardless of the "all sites > offline storage" storage offline implementation is always allowed.

    Here is one - step by step to reproduce my problem.
    1. make sure all: permissions is clear
    2 make sure that the list to: Preferences > network > "the following Web sites are..." "is that clear
    3. close the preferences window
    4 go to go to http://appcachefacts.info/demo/ ... No notification about the offline cache will appear.
    5. open the preferences, the list of preferences > network > "the following Web sites are..." »
    Will fill up now with http://appcachefacts.info (1.1 MB)

    This article list persists even after closing the browser window and re - open.
    This happens with a total disregard for the settings described in the first paragraph.

    I found a related question, but it's old and archived:
    https://support.Mozilla.org/he/questions/981189

    Firefox will store small amounts (less than 50 MB) of data without asking permission.

    • offline - apps.allow_by_default; true
    • offline - apps.quota.warn; 51200

    You can switch the pref in offline mode - apps.allow_by_default to false to make Firefox ask.

  • error code while trying to open the photos include JPEG and BMP files: C:\Documents and Settings\Jim\My Documents\My Pictures\img005.jpg is not a valid Win32 application

    I withdrew just a very good old scanner which apparently couldn't handle the recent installation of Windows XP Service Pack 2 or 3, and went with a rather nice Epson V330 Photo.   I uninstalled all old software, want my images to JPEG and BMP to open in Adobe PhotoShop Elements 8 for editing and development.  It is my job and my hobby and means of photography technique.  I reinstalled the scanner by removing the Arcsoft software with which it has been furnished, which is not really suitable for what I do.

    Now, I can not open JPEG in PhotoShop Elements 8.0 and here I get the error message:

    C:\Documents and Settings\Jim\My Documents\My Pictures\img005.jpg is not a valid Win32 application

    It seems to have something to do with the hack with the folder options after that I spilled the Arcsoft as any kind of primary program.

    BUT I have to open JPEG files, and it MUST be in PhotoShop Elements 8, I bought.  I can see, overview and could open to the limited capacity of some of the ArcSoft stuff, but I'm not interested in distance using that.

    How can I get these files/folders to open in something useful?  I was able to create JPEG on the new scanner, but now my computer opens not those or 'old' of my files.   See the warning message.

    I'm trying to uninstall all the software now and do not reinstall the stuff of Arcsoft, which would not be useful for me in any setting.   But I do not think that this will be the solution, as my computer can not open these key files in PhotoShop Elements 8.0.

    I think it's something I did during the passage, but I did system restore and NO RESULT.  NONE!

    If you open a directory of photos and go to the thumbnail view in Explorer, they display the thumbnails correctly?
     
    I think that you need to reset the file association for programs that open the image files.  Try a right-click on a jpeg file and go to properties and click on the button to edit, and then designate PS elements 8 as the top program open with, and then see if it works very well.
     
    You can also check the settings in the registry for the types of image files.  Seewww.oehelp.com/noimg.aspx , which deals with a related issue.
     
    Steve
     

    I withdrew just a very good old scanner which apparently couldn't handle the recent installation of Windows XP Service Pack 2 or 3, and went with a rather nice Epson V330 Photo.   I uninstalled all old software, want my images to JPEG and BMP to open in Adobe PhotoShop Elements 8 for editing and development.  It is my job and my hobby and means of photography technique.  I reinstalled the scanner by removing the Arcsoft software with which it has been furnished, which is not really suitable for what I do.

    Now, I can not open JPEG in PhotoShop Elements 8.0 and here I get the error message:

    C:\Documents and Settings\Jim\My Documents\My Pictures\img005.jpg is not a valid Win32 application

    It seems to have something to do with the hack with the folder options after that I spilled the Arcsoft as any kind of primary program.

    BUT I have to open JPEG files, and it MUST be in PhotoShop Elements 8, I bought.  I can see, overview and could open to the limited capacity of some of the ArcSoft stuff, but I'm not interested in distance using that.

    How can I get these files/folders to open in something useful?  I was able to create JPEG on the new scanner, but now my computer opens not those or 'old' of my files.   See the warning message.

    I'm trying to uninstall all the software now and do not reinstall the stuff of Arcsoft, which would not be useful for me in any setting.   But I do not think that this will be the solution, as my computer can not open these key files in PhotoShop Elements 8.0.

    I think it's something I did during the passage, but I did system restore and NO RESULT.  NONE!

  • CAN I RECOVER DELETED DATA FILE AND ITS TABLESPACE BY USING FLASHBACK DATABASE

    Hello!

    I CREATED THE TABLESPACE WITH ITS DATA FILE.

    SQL > create tablespace usmantbs datafile 'E:\oracle\product\10.2.0\oradata\orcl\usman.dbf' recording petit_fichier the size of 10 M extent management local segment space management auto;

    THEN, I CREATED A USER AND HIM ENTRUST THIS TABLESPACE.

    SQL > create default profil_utilisateur identified by Neil Leal Microsoft account unlock default tablespace usmantbs;
    SQL > grant connect, resources for Neil;

    I CONNECTED WITH Neil as USER AND CREATED a TABLE.

    SQL > conn Leal/Leal
    SQL > create table baseball (id number (9));

    SQL > select current_scn from v$ database;

    CURRENT_SCN
    ---------------------
    545863

    Then I deleted the tablespace including contents and data files...

    SQL > drop tablespace usmantbs including content and data files;

    I have no backup of this data file, but my database is in archive log...

    So I can... .flashback database to the SNA 545863 as it was before the fall... to get back my along its tablespace data file
    Wil I get my datafile back or not? Help, please...

    You can test it by yourself easily :) You will not be able to open your database
    After getting the error, just rename this data file and flashback again. Then open your database

    C:\Documents and Settings\Administrator>sqlplus "/as sysdba"
    
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Aug 1 14:20:34 2009
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    
    Total System Global Area  293601280 bytes
    Fixed Size                  1248624 bytes
    Variable Size              96469648 bytes
    Database Buffers          192937984 bytes
    Redo Buffers                2945024 bytes
    Database mounted.
    
    SQL> alter database archivelog;
    
    Database altered.
    
    SQL> alter database flashback on;
    
    Database altered.
    
    SQL> alter database open;
    
    Database altered.
    
    SQL> create tablespace tb datafile 'c:\tb.df' size 1m;
    
    Tablespace created.
    
    SQL> create user tb identified by tb;
    
    User created.
    
    SQL> grant dba to tb;
    
    Grant succeeded.
    
    SQL> alter user tb default tablespace tb;
    
    User altered.
    
    SQL> create table tb (id number);
    
    Table created.
    
    SQL> select current_scn from v$database;
    
    CURRENT_SCN
    -----------
         547292
    
    SQL> drop tablespace tb including contents and datafiles;
    
    Tablespace dropped.
    
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    
    Total System Global Area  293601280 bytes
    Fixed Size                  1248624 bytes
    Variable Size              96469648 bytes
    Database Buffers          192937984 bytes
    Redo Buffers                2945024 bytes
    Database mounted.
    
    SQL> flashback database to scn 547292;
    flashback database to scn 547292
    *
    ERROR at line 1:
    ORA-38795: warning: FLASHBACK succeeded but OPEN RESETLOGS would get error
    below
    ORA-01245: offline file 5 will be lost if RESETLOGS is done
    ORA-01111: name for data file 5 is unknown - rename to correct file
    ORA-01110: data file 5: 'C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00005'
    
    SQL> alter database open resetlogs;
    alter database open resetlogs
    *
    ERROR at line 1:
    ORA-01245: offline file 5 will be lost if RESETLOGS is done
    ORA-01111: name for data file 5 is unknown - rename to correct file
    ORA-01110: data file 5: 'C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00005'
    
    SQL> select name from v$datafile;
    
    NAME
    --------------------------------------------------------------------------------
    
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\SYSTEM01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\UNDOTBS01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\SYSAUX01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\USERS01.DBF
    C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00005
    
    SQL> alter database create datafile 'C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00005' as 'c:\tb.dbf';
    
    Database altered.
    
    SQL> flashback database to scn 547292;
    
    Flashback complete.
    
    SQL> alter database open resetlogs;
    
    Database altered.
    
    SQL>
    
    SQL> select * from tb;
    
    no rows selected
    
    SQL> select name from v$datafile;
    
    NAME
    --------------------------------------------------------------------------------
    
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\SYSTEM01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\UNDOTBS01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\SYSAUX01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\USERS01.DBF
    C:\TB.DBF
    
    SQL> select name from v$tablespace;
    
    NAME
    ------------------------------
    SYSTEM
    UNDOTBS1
    SYSAUX
    USERS
    TEMP
    TB
    
    6 rows selected.
    
    SQL>
    

    - - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev a. (10g OCP)
    http://kamranagayev.WordPress.com
    [Step by step installation Oracle Linux and automate the installation by using Shell Script | http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

    Published by: Kamran Agayev, a., July 27, 2009 14:38

  • Drop tablespace and recreate a new!

    Hi all

    Of my database (oracle 10g, aix server) has a tablespace called tools for xample. its size is nearly 16g, but current use is about 170 MB only. So I want to resize the size of tablespace to 2G

    So what I've done, taken separately export tools tablespace and backup full export. so in my hand, I, tablespace backup tools (export file) and backup of the entire database (taken using new utility exp)

    Now, I tried to drop the tablespace tools and got this error

    SQL > DROP TABLESPACE TOOLS including CONTENTS AND DATA files;

    DROP TABLESPACE TOOLS INCLUDING CONTENTS AND DATA FILES

    *

    ERROR on line 1:

    ORA-29857: domain indexes and/or secondary objects exist in the tablespace.

    so I planned too, instead of dropping the tablespace, I thought the deletion of objects in storage space and resize and import using the backup of what I have.

    When I interrogate the tablespace, I had 4 object. indexes, tables, lobindex and lobsegment.

    I wrote the script to delete the index and dint tables.but run again.

    How delete/move, lobindex, and lobsegment, so that I can resize the tools tablespace?

    someone has experienced this problem? or any other method is over come this problem?

    Please provide detailed step if you did.

    Kind regards

    Pradeep. V

    1. create a new tablespace with the expected size

    2. move the original SCT to the second object

    ALTER table move

    change the index rebuild

    ALTER table move lob () store (tablespace )

    The lobindex will follow by itself.

    3. be sure that the original tablespace is now empty

    4. remove the original tablespace

    5 rename the new tablespace as former

    alter tablespace and rename

    Nicolas.

Maybe you are looking for

  • HP Elite 8200 CMT: Bios Update after the update of Windows 10

    Hello, I've updated my HP Elite 8200 CMT from windows 7 to windows 10. In the HP driver download page, there is no updated BIOS for windows 10. But I noticed that it is has updated BIOS for Windows 7. The question is, can I use it on Windows 10? And

  • I can't print from my Tablet AT300

    Hi guys I can't print from my tablet to the printer connected to our home wifi wireless. What is happening as I type on the 3 points on the left sharing, select top of page of a page, then hp eprint. But all I get is 'file is empty or could not be re

  • HP Z420: Z420 replacement HP Motheboard

    Hello The motherboard of my hp z420 workstation is a failure (problems with the slot machines, boot etc...). Now, my question is this: is the only option to buy another motherboard from z420 or could it be an opportunity to upgrade (for example, by b

  • HP pavilion 3050s.uk update

    have hp pavilion 3050s.uk, want to map of graphics 256 MB or 512 MB of pref upgrade, need suggestions

  • nor - rt.ini RTTarget.OlsonTimeZone = "IS"

    Hi all I'm working on a small client/server application that I can run on the target RT for letting me set the date, time, and time zone for the purpose of RT. I went down the date and fine, but I'm curious to know how to correctly set the zone infor