relocate datafile witout put offline?

Hello world

Need help please, is there any method to move (move and rename) a file of data without putting in offline mode?

I realized that when we do: alter tablespace users begin backup, trasactions are written in the redologs.

We can use this mechanism to rename a data file, while the application can insert and read the data?

Thank you

> then use rman, it is possible to create a datafilecopy before importing it in offline mode in oracle 10 g / 11 g, is not?

Yes. However, you still should I take the database offline for a short time while when you make the datafile to switch to copy and recover datafile (where Oracle must reapply to redo all that took place against the data file, while it has been copied).  The steps assume that there was * no. * NOLOGGING operations in the window when the data file has been copied.

Hemant K Collette

Tags: Database

Similar Questions

  • disk management, can not put offline to drive (USB)

    I'm setting up a Hyper-V in Windows XP virtual machine on my windows 8 Pro for laptop.

    My problem is to get the virtual machine to recognize a USB key. I found the instructions that say, on the host, use disk management to set the USB offline. I follow the instructions and first remove the drive letter, and then right-click to set if as offline, but there is no other choice 'offline '?

    Like this guy problem

    Someone knows why?

    Thank you

    Gourd salvation,

    The question is more suited in the TechNet forums. So I would say you mention the link and send the request in this forum for better support.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?Forum=winserverhyperv

    For any information related to Windows, feel free to get back to us. We will be happy to help you.

  • put the offline data file when the database is in NOARCHIVELOG mode

    My question is when the database is in log mode Archive No. I am not able to take the database offline.

    When I tried in my computer I noticed set-aside.

    CASES1:

    SYS > alter database datafile 5 offline;

    ERROR at line 1;

    ORA-01145: offline immediately rejected at least media recovery enabled.

    case 2:

    SYS > alter database datafile 5 immediate offline;

    ERROR at line 1;

    ORA - 00933:SQL not correctly completed order

    CASE3:

    I tried the command drop alter database datafile offline 6; (in NOARCHIVELOG mode) and it is to show the same effect that alter database datafile offline 6; (in ARCHIVELOG mode).

    * In NOARCHIVELOG mode are we really drop the data file to use the offline data file? You please tell me the effect of the dropkeyword.

    Oracle protects you. Please review ARCHIVELOG and NOARCHIVELOG mode.

    When you take the database offline in NOARCHIVELOG mode:

    (1) the file is offline

    (2) the RCS in which you took the database offline will be is more to be in the online redo logs

    (3) at this point, you need to perform a media recovery to enable again the file online (ie. restore the database)

    So you can see why you shouldn't do that.

    The DROP Offline command does not actually remove the data file. It removes the control file file details and updates the offline data file. It can be used for purposes of recovery or when you actually plan on deleting data files.

  • alter tablespace offline...

    Hello

    http://docs.Oracle.com/CD/E11882_01/server.112/e25494/tspaces005.htm

    just a quick question,
    alter tablespace....offline temporary
    A tablespace can be taken offline temporarily, even if there are error conditions for one or more files in the storage space. When you specify TEMPORARY offline, the database supports offline data files that are not already in offline mode, the control points as she does.
    If no file is offline, but you use the temporary clause, media recovery is not required to bring to the online storage space. However, if one or more files from the storage space are offline due to clerical errors, and you are taking the tablespace offline temporarily, the tablespace requires recovery before you can bring it online.

    Based on the explanation above, done means that these datafile (with the error condition) code with the storage space you want to use offline will not in offline mode.
    Oracle will be only offline these 'good' datafile associate with storage space?

    My confusiong early when he mentions:
    if one or more files of the tablespace are offline because of write errors,
    which make me feel that even in the midst of erros, all storage data files will be always taken offline.

    The documents also mention:
    Specify TEMPORARY only when you cannot take the tablespace offline normally. In this case, only the files taken offline because of errors need to be recovered before the tablespace can be brought online. Specify IMMEDIATE only after trying both the normal and temporary settings.
    In this case, based on my current knowledge, I mention since all data files are taken offline in the middle of the condition of erros, we just need to recover those files that have the condition of error on them. ???

    Published by: flaskvacuum on March 1, 2012 11:45

    >
    Oracle will be only offline these 'good' datafile associate with storage space?
    >
    Well, Yes, but it's because the files of data with errors will already be ordering offline offline will not be offline them.
    >
    that means the code of these datafile (with the error condition) with the tablespace you want to use offline will not be in offline mode
    >
    No - the doc says that data files wilth errors have been offline. And after ordering TEMPORARY if you try to put the storage space online, it will fail because it will try to put offline the with online also return errors.

    That's why the doc has this cautionary
    >
    Caution:

    If you take a tablespace offline, use the NORMAL clause (default) if possible. This setting ensures that the tablespace requires not coming online restore, even if after incomplete recovery, you reset the sequence of redo logs using an ALTER DATABASE OPEN RESETLOGS.
    >
    You should check the status of all data files before you use CONNECTION TEMPORARY offline, or if a data file is already offlilne because of a clerical error, you will find that what you thought was temporary will avoid you to bring online storage space unless you do a recovery.

  • DataFile recovery not to repair corrupted block

    Hello
    Towing of data files are corrupt data block and recovery of files not repairing block corruption.
    sql 'alter database datafile 2, 8 offline';
       restore datafile 2, 8;
       recover datafile 2, 8;
       sql 'alter database datafile 2, 8 online';
    The media recovery complete successfully without warning.
    But, after recovery when I try:
     validate check logical datafile 8,2; 
    It shows again block corruptions. I tried several times to recovery, and the same appears when I query V$ database_block_corruption.
    I also tried the same thing with RMAN > failure of the repair and the result is always the same.

    I tried RMAN incremental and full after that it and two of them have not
     ORA-00600: internal error code, arguments: [17114], [0x2B58288E0BB8], [], [], [], [], [], []
    ORA-00600: internal error code, arguments: [17147], [0x2B58288E0BB8], [], [], [], [], [], []
    It seems that the data files are not recovered and block corruption after the restoration and recovery.

    An of this datafile is sysaux. and the version of DB is g 11, standard edition.
    BANNER
    Oracle Database 11g Release 11.1.0.6.0 - 64bit Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE     11.1.0.6.0     Production
    TNS for Linux: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    Thank you

    Published by: najet 11 June 2010 20:05

    Published by: najet June 11, 2010 20:11

    I suggest you to contact the Oracle Support

  • Mail is always "Download Messages".

    I noticed that Apple Mail is always "Download Messages".  This process will occur approximately every 10 minutes.  This is usually between 250 and 270 messages.  (screenshot)  However, there is no double or extra emails.  In addition, the number of downloaded emails usually does not change (perhaps by 1 or 2 later in the day).

    I have 4 email accounts in Mail, which are all Gmail accounts.  I went through each account settings and made sure they are all handled in the same way and have the same options are checked.

    I think I found the problem with account, because I tried with the right button and select "Take account offline" when I see that it starts to download the messages.  Once I have put offline, the download stops.  I tried to remove this suspected account and Add again, but it still does the same thing.  Any help would be appreciated!

    Hello and welcome to the communities of Apple support, ggerrits.

    If I understand your message just Mail on your Mac continues to show that it Downloads hundreds of mails every 10 minutes. I can certainly understand how she could become a nuisance to see permanently who warn even if no new messages are actually downloading. I'm happy to help him to stop appearing.

    You've done some excellent troubleshooting already to refine what e-mail account, what's happening with. The next thing that I recommend you do is to make sure that you run the version of OS X El Capitan, which should be 10.11.6. Using your Mac update, take a look at updating the software on your Mac. If you haven't done so already, I recommend also restart your Mac. Test the Mail after doing those two things.

    If the problem persists, follow these steps:

    1. With Mail open, select "Mail" in the upper left corner of your screen and select Preferences.
    2. Select the tab accounts.
    3. Select the e-mail account that you are having the problem with.
    4. Select the Advanced tab.
    5. Uncheck "automatically detect and manage account settings."

    Next, close and then restart Mail to see if you feel the same way.

    Thank you for using communities of Apple Support.

    Take care.

  • Manuel App install does not.

    My Readynas is used in offline mode, and I have to install PHP and MYSQL. I downloaded the .deb from the site files, but the installation fails every time. The only successful manual upgrade was softer anti-virus, so I know that I'm filling out the procedure properly. I've recently updated OS6 and installed have not worked since then. Help please.

    PHPMyAdmin can a dependencies including PHP.

    It would be easier to temporarily take the online system to install apps then put offline again.

    Have a read about apt - get repositories and you should be able to find dependencies.

    You can use the ReadyNAS OS VM to help find what are the dependencies if you wish.

  • Reference Dell MD3000i - Contoller Module 1 Stopped working, I think that

    I think that I lost my MD3000i Controller Module 1.  I'm not familiar with these devices and I donb't want to waste them.  I don't have spare parts.  Is it possible to see if I can get the Controller Module 1 working again?  The Module is NOT in offline mode.  I ping the outside management NIC of the band, but I can't view the IP information for Port 0 and Port 1 iSCSI network settings.

    Module controller 0 is working right now, but without the controller 1 I lose redundancy.

    Thank you

    PS - I have registered Support information but don't see nowhere here to tie it.

    Sam - I was able to get the module working again yesterday.  I had to put offline, cut the power, unplug the chassis unit and disconnect the NIC after these actions, I have it plugged it all back in and brought online and was able to redistribute the readers.  Everything works well again.  Backup controller order has been placed.

    Thank you!

  • the process of updating jnlp is corrupting the cache via hotspot network

    Hi all

    This post is a Java cache problem. We have a jnlp file, responsible for the update of our application (so we cannot put 'offline'). The problem is that some of our users run the application behind a network of wireless access point. In this case, they do not have Internet access, but the java webstart mechanism tries to download the JNLP despite this. In this case, TJS downloads the HTML login page and put it in its cache without any verification. As a result, the next via shortcut access is impossible.

    Is this a known problem and is there a workaround?

    Thanks in advance for your answers

    FYI

    We removed the href of the tag of the jnlp file and it is now ok. The jnlp is never updated, but it's ok for us.

  • How to shrink thin comments on VMFS5? or change the block size?

    Hi all, I'll try to find a way to reduce invited bloating thin-set in service in an environment VMFS5 all.

    We went from 4.1 to 5.1 and then also vmotioned storage all our newly created vm VMFS5 volumes before you delete the old VMFS3 volumes.  During this operation, everyone has forgotten that one of our volumes has been intentionally assigned to a block size of differnet than all the others for the purpose of narrowing of the guests who had swelled upward for some reason any.  Now, we have no way to create something other than a volume of 1 MB block size which prevents us from doing the cleaning routine.  Is there an alternative way to shrink a guest who does not put offline?

    For those who do not know the procedure that I describe, here's how it works:

    You have a 100 GB comments that has only 10 GB of actual data in it, but because of something after bad temporary files, cleaning up old data, etc., that 100 GB had been used at a point of real files but is now only 10 GB in use. You want to recover which is now 90 concerts waste of space because your thin provisioned VMDK is sitting there at 100 GB in size.  With VMFS3, you could create a volume with a block size that was different from that of the volume on which the guest is currently living.   In our environment were all our 1 MB LUN but one that we kept to 2 MB just for that purpose.   When we were getting a little low on space and found guests such as the one in question, we would run a simple command to write zeros to the entire free space:

    Cat/dev/zero > bigfile; RM f bigfile

    Then all you have to do is storage vMotion the guest at the volume of 2 MB and return to its normal domestic and suddenly the VMDK's 100 GB up to 10 GB, all with no impact on the guest.  Without support for the creation of a file system with a different block size in VMFS5, now I'm not aware of a way to reclaim this space in a way that does not require an interruption of the guest.

    You can select the VMFS version when you create a new data store. With selected VMFS3, you will be able to specify the desired size of the block.

    André

  • Deferred activity IN Aprrovals situation. R11i

    Hi all.

    In the workflow, I have purchase orders have been aprroved is set to DEFERRED payment after they have been approved. If they must be sent to the person next in line if they are of a higher value they can also be programmed to deferred payment.

    What brings this erropr and how to solve it.

    Thank you.

    Hello

    Here is the situation that could have a workflow activity:

    • Active - activity is running.
    • -All the activity finished normally.
    • Waiting - activity expects to run.
    • Warned - activity of notification is delivered and opened.
    • Deferred - activity is delayed.
    • Error - activity completed with error.
    • Suspended - activity is suspended.

    The engine has a deferred processing feature that allows long-running tasks be handled by background engines instead of in real time.

    As you pointed out quite rightly if workflow activity is waiting for another person in the queue to approve it, then the current activity is put offline / wait [waiting on the next approver] until the final approver in the Windows Firewall either approves / rejects the WF activity will be deferred.

    Note:

    If you see things status deferred instead to fill even after full approval so it is a bug, please raise an issue with Oracle, but you start to 11i don't know if oracle would always support you.

    It could be useful!

    Kind regards

    Wherry

  • If I have or I shouldn't

    I have a virtual machine that is 2008 R2 Enterprise acting as a PDC. It is a single point controller. I need to migrate it to another server esxi on the same network, read domain controllers seem to be taboo with Virtualization.  Is it safe to do a live migration. the idea of putting offline is not a popular with the owners of the server.

    Ty Mark

    hitthemark wrote:

    I heard that they can very easily of tombstone

    If you have:

    * Have two domain controllers

    * Instant server has

    Changes on server B, either directly, or replication of server A, then

    * Server rollback has a previous snapshot

    You will undergo a restoration USN - which is often (incorrectly) called a tombstone.

    Easily?

    If you have an inability to not take pictures and then roll them then sure.

    Edit: There is a way and one way only, to tombstone a domain controller, and it's for his failure to replicate with a different domain controller for longer than the lifetime of tombstone. Virtualization has no role in the present.

    http://TechNet.Microsoft.com/en-us/library/cc784932 (v = ws.10) .aspx

    It is actually impossible to tombstone a single domain controller environment.

  • Block size is too small - reformat the data store or create files VMDk 2?

    Hello

    I'm new to VMware and so far I absolutely love everything about her!  Well, I was not too happy when I realized that I can't create more than 256 GB a drive without reformatting the VMFS datastore.   Apparently, I accepted the block size of 1 MB by default during the installation...   I now need to configure a file server with about 500 GB of storage.  The data store with a larger block size (4 MB would be fine for me) reformatting is easy enough?  I am currently working on the first host ESXi 4.1 and will move to set up 2 more hosts in the coming weeks.  I read somewhere on the forum that ESXi 4.0 doesn't let you change the block size by default of 1 MB - is this true or relevant to 4.1?

    Currently, I have only 2 small VMs on that host, and these can be easily saved and put offline for a few hours, if necessary.  When starting the server, I created a single RAID array that holds ESXi and all virtual machines - does that mean that I have to reinstall ESXi in order to increase the size of the block?

    An alternative that I can get to is to simply create 2 255 GB VMDK each and load distribution of storage in the guest operating system (Win 2008).   Performance wise, is a disc more great and better (or worse) than the two smaller disks?

    On a related note, what should I choose for the "Independent" option when you add a new virtual disk?  Default is disabled (not independent).

    Your thoughts, focus and expertise are welcome and will be greatly appreciated!

    Thanks in advance,

    Dothan

    Dothan,

    You should power (after the virtual machine backup) remove the current data store and create a new one with the new block size. I did not have this on ESXi 4.1 again, however, he worked on ESXi 4.0.

    The maximum size of VMDK. If you want ot be able to take pictures, make sure you subtract twice the size of block in GB of the documented maximum size.

    Block size 1 MB--> 254 GB (= 256 GB, 2 GB)

    Block size of 2 MB--> 508 GB (= 512 GB - 4 GB)

    Size of block 4 MB--> GB 1 016 (= 1 024 GB - 8 GB)

    Block size of 8 MB--> GB 2 032 (= 2 048 GB to 16 GB)

    André

    EDIT: Just the KB for the maximum sizes. http://KB.VMware.com/kb/1012384

  • 11.2.2 compression group

    Could dear gurus TimesTen, you please help me with my question.

    Platform - TimesTen 11.2.2 - Linux x 86

    Documentation: "only INLINE columns are supported when you specify multiple columns in a compacted column group. ..."
    [oracle@nodett1 ~]$ ttversion
    TimesTen Release 11.2.2.2.0 (32 bit Linux/x86) (tt1122:53392) 2011-12-23T09:21:34Z
      Instance admin: oracle
      Instance home directory: /u01/app/oracle/product/11.2.2/TimesTen/tt1122
      Group owner: oinstall
      Daemon home directory: /u01/app/oracle/product/11.2.2/TimesTen/tt1122/info
      PL/SQL enabled.
    [oracle@nodett1 ~]$
    Command> create table emp (id number not null) OPTIMIZED FOR READ;
    Command> alter table emp add (val_1 varchar2(129), val_2 varchar2(12) ) compress (val_1 BY DICTIONARY MAXVALUES = 255, val_2 BY DICTIONARY MAXVALUES = 255);
    Command> desc emp;
    
    Table GENA.EMP:
      Columns:
        ID                              NUMBER NOT NULL
        VAL_1                           VARCHAR2 (129) NOT INLINE
        VAL_2                           VARCHAR2 (12) INLINE
      COMPRESS ( VAL_1 BY DICTIONARY MAXVALUES=255,
                 VAL_2 BY DICTIONARY MAXVALUES=255 ) OPTIMIZED FOR READ
    
    1 table found.
    (primary key columns are indicated with *)
    Command> alter table emp add (val_3 varchar2(129), val_4 varchar2(129) ) compress (val_3 BY DICTIONARY MAXVALUES = 255, val_4 BY DICTIONARY MAXVALUES = 255);
    Command> desc emp;
    
    Table GENA.EMP:
      Columns:
        ID                              NUMBER NOT NULL
        VAL_1                           VARCHAR2 (129) NOT INLINE
        VAL_2                           VARCHAR2 (12) INLINE
        VAL_3                           VARCHAR2 (129) NOT INLINE
        VAL_4                           VARCHAR2 (129) NOT INLINE
      COMPRESS ( VAL_1 BY DICTIONARY MAXVALUES=255,
                 VAL_2 BY DICTIONARY MAXVALUES=255,
                 VAL_3 BY DICTIONARY MAXVALUES=255,
                 VAL_4 BY DICTIONARY MAXVALUES=255 ) OPTIMIZED FOR READ
    
    1 table found.
    (primary key columns are indicated with *)
    Command>
    Is this ok?

    Best regards
    Gennady

    It is correct that you have set up several groups of single column. What you can't do right now is put offline columns in a multiple column group:

    Command > add alter table emp (val_1 varchar2 (129), val_2 varchar2 (12)) compresses ((val_1, val_2) BY DICTIONARY MAXVALUES = 255);
    805: compression of several column with line output columns has not been applied
    The command failed.

    Tim

  • Repeat rows and deleting lines

    Good day everyone.

    It seems that I am stuck in an endless "loop" trying to figure out how to get a line to repeat without headers are repeated every time. So I have a delete button on each line. After adding a few lines, I can remove only 1 row, then when I try to remove the next line I get the wonderful "GeneralError.

    GeneralError: Operation failed.

    1. XFAObject.removeInstance:1:XFA:form1 [0]: #subform [0]: psl_list_subform [1]: Table3 [0]: Row1 [0]: del_but [0]: click

    The element [min] has violated its number of occurrences. I can only remove 1 line to be able to delete rows.

    I think it has to do with the headers to repeat.

    I am using LiveCycle Designer 8.0 (ver. 8.05.2073).

    These are the settings I use

    Psl_list_subform;

    Subform tab: allow Page Breaks content enabled

    Links: Subform Repeat for each data item Checked

    Min County "unaudited."

    Initials Count = 1

    Table 3

    Table tab: enable content "unaudited page breaks".

    Tab link: Repeat table for each data item is checked

    Min count = 1

    Initial number of rotations "unaudited."

    Header line

    Line tab: enable content "unaudited page breaks".

    The paging tab: include the line in the initial page "verified."

    Include the header row in the following pages "checked".

    The binding tab: line to repeat for each data Items 'checked '.

    Min count = 1

    Initial counter "unaudited."

    Rank 1

    Line tab: enable content "unaudited page breaks".

    Tab link: line of repetition for each data item "checked".

    Min count = 1

    Initial count = 2

    I try different combinations and does not always.

    Any help would be appreciated.

    Concerning

    Try this:

    Psl_list_subform - disable subform repeat (unless you are really repetitive of the entire subform - although this should not affect the table).

    Table 3 - disable Table again, you're probably not repeat the entire table.

    Header line - put offline of repetition, you don't want to repeat the header for each data item.

    Row1 - looks ok, you will get 2 rows to start and can only remove for a minimum of 1.

    The error you get is done your setting Min, hard to tell which was originally there. This is just to tell you that you try to delete something that is already at its minimum.

    Table headers can certainly be a pain sometimes! I had problems repeated on several pages.

Maybe you are looking for

  • HP DV7-4150EA - headset problem

    I have a problem with the settings of the helmet, when I play command & conquer tiberium wars and I want to hear the sound only through headphones, but I don't know how, the sound is almost always in the portable speakers main, just occasionally the

  • Error in C:\Windows\system32\nvsvc.dll __Missing entry: nvsvcStart

    Starting Windows, the error message above is displayed. I tried the update of Windows and the DVD player, but the disc will not play DVD etc. Anyone know how I can fix this please?

  • You can somone tell me why microsoft has virus and apple isn't?

    Why did apple computers never have viruses and microsoft makes. Is this a scamm money by companies?

  • HP ENVY 15-q178ca notebook pc

    I want to know if HP ENVY 15-q178ca notebook pc to support the following requirements Combo CD-RW/DVD-RW drive 10/100 auto detection of network card A/G/N Card Standard 10 / 100 (one of those standards will suffice) Discreet 256 MB or 512 MB shared v

  • Laptop fire

    Laptop HP Pavillion burned. Someone else?