How to move a segment in the SYSAUX tablespace data file

Hello

I had a problem with my tablespace SYSAUX growing due to the history of Stats being not properly purged (lots of hits and articles against this known issue). I have since corrected this problem and I did my SYSAUX tablespace so that it is now less than 3 GB. However, the data file unique original behind this tablespace is still 10 GB and I want to reduce again to below 6 GB.

However as a suspect when I try to reduce the data return file I get ORA-03297 file contains data beyond the requested value of RESIZING.

I checked the table dba_extents for this tablespace, which reveals there are approximately 765 segments over my desired fix of 6 GB.

Q1. If there is only 1 or 2 segments above this mark of 6 GB, how would manually move their bottom?

Q2. I gave have 765 segments above this 6 GB brand, what are the recommendations to achieve the mass movement required of these segments?

Thank you
Jim

The Alter Table or Alter Index statement will pass all these types of segment?

Lol some are special items.

Here is what I make sure you test something you care to.

And the double test. Frankly, I would like to change the least possible and if I didn't do it, I would avoid.
It might be easily really much, much more trouble than its worth.

LOBINDEX

ALTER table move lob () store (tablespace );

NESTED TABLE

A nested table can be moved to a different tablespace only by moving his table containing storage target.
(Move the parent table, which is only necessary.)

PARTITON TABLE

ALTER partitioned table move partition part_2 tablespace ;

LOB SEGMENT

ALTER TABLE owner.table_name MOVE LOB (column_name) STORE AS (nom_tablespace);

CLUSTER

I'm not sure.

INDEX PARTITION

example of

ALTER INDEX SYS. I_STREAMS_APPLY_SPILL_MSGS_PT1 CHANGE DEFAULT USERS TABLESPACE ATTRIBUTES;

PARTITION OF LOB

ALTER table

partition of moving lob () store as (tablespace );

See also - online redefinition of tables

http://Oracle.Su/docs/11g/server.112/e10595/tables007.htm

Oracle Database 10 g Release 2 online data reorganization & redefinition

http://www.Oracle.com/technetwork/database/features/availability/HA-10gR2-online-reorg-TWP-131644.PDF

http://jhdba.WordPress.com/2009/05/19/purging-statistics-from-the-SYSAUX-tablespace/

Best regards

mseberg

Tags: Database

Similar Questions

  • How to reduce the temp tablespace data file

    Dear all,

    I'm using Oracle 11 g on Windows 2003. Due to a SQL select query my temp tablespace data file size has increased significantly. How can I reduce the data temp file?

    Thank you

    http://download.Oracle.com/docs/CD/B28359_01/server.111/b28310/tspaces007.htm#CFHJFBBJ

  • Lost in the SYSTEM tablespace data file

    Version: 10.2.0.5
    Platform: AIX 6.1

    The only data in the System tablespace file is lost. The DB has crashed.
    We have the RMAN backup and the newspaper archive since the last backup of level 1.
    With RMAN, where should we go

    a. restore, Recover Database
    or
    b. restore, recover any SYSTEM tablespace?

    Your database must be mounted State.

    RMAN > run {}
    allocate channels ch1 disc type;
    system restore of tablespace;
    recover the system tablespace.
    SQL 'ALTER DATABASE OPEN;
    }

    Talip Hakan Öztürk
    http://taliphakanozturken.WordPress.com/

  • Loss of all control files and two independent of the system tablespace data files.

    Hello


    Loss of the controlfile and 2 data files: February 25, 2010... 15:00

    Database: in Archivelog mode

    Backup: controlfile and all (6) datafiles on February 20, 2010 and all archive logs are available up to the failure

    -Wanted to recover.

    Even if the controlfiles are restored from a backup, as long as the archive + online redo logs are available, you can make a FULL recovery.
    At the end of the recovery, an OPEN RESETLOGS would update the controlfile with correct information about SNA sequence # and headers of files.
    (Of course, the RESETLOGS would mean a new incarnation is created and log sequence numbers start from 1 - if you perform a backup as soon as possible after the RESETLOGS).

    Hemant K Collette
    http://hemantoracledba.blogspot.com

  • How to move my taskbar to the side down

    How to move my taskbar to the side down

    Hello

    Right-click on the taskbar and make sure lock the taskbar don't are NOT checked.

    On the left, click on an empty area, and then drag to the bottom.

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • How to purge the spill to apply the SYSAUX tablespace

    Hello

    My SYSAUX tablespace grows up to 10 GB due to the process of demolition.
    I got these errors.

    ORA-12801: error reported in the parallel query P000 Server
    ORA-01688: impossible to extend the table SYS. Partition of BROOKS$ _APPLY_SPILL_MSGS_PART P2 by 8192 in the SYSAUX tablespace

    I'm planing to remove the configuration of flow. If anyone has an idea how to make to recover my tablespace SYSAUX or how to solve these errors.

    If I remove the configuration of the flow is automatically, she claim my sysaux tablespace or not.

    Thank you
    Chaitnaya

    If you can confirm that the problem is related to the same transaction, a quick solution is to ignore the transaction or apply the hotfix 6640950 (bug 6640950)

    the workaround is

    exec dbms_capture_adm.stop_capture ('JAPAN_CAPTURE');
    exec dbms_capture_adm.set_parameter ('JAPAN_CAPTURE', '_ignore_transaction', '3.30.13393');
    exec dbms_capture_adm.start_capture ('JAPAN_CAPTURE');

    exec dbms_apply_adm.stop_apply ('JAPAN_APPLY');

    exec dbms_apply_adm.set_parameter ('JAPAN_APPLY', '_ignore_transaction', '3.30.13393');
    exec dbms_apply_adm.start_apply ('JAPAN_APPLY');
    SELECT * FROM DBA_APPLY_SPILL_TXN;

    However do not forget that the data must be inconsitent as transaction is ignored

    Concerning

  • all my photos were deleted from my computer, but are still in my windows media player how to move images from windows media player in a file

    original title: Windows media player

    Some how all my photos were deleted from my computer, but are still in my windows media player how to move images from windows media player in a file?

    Just an idea that might be worth a try...

    Is it possible that your files are still there but have
    become hidden?

    Reach... Control Panel / folder Options / View tab.
    ... To check "Show the hidden files and folders" / apply / OK.

    Let us know if the files reappear.

  • How can I activate images on the DVD in video file so that I can edit and send to people?

    Hello.  I recently transferred footage tape VCR to a gathering on a DVD of family.  How can I activate images on the DVD in video file so that I can edit and send to people?

    Any help would be appreciated, as I was chasing my tail for about an hour and a half now.

    Thank you!

    When you insert the DVD in your DVD player... close
    all the windows that can open and then go to... Start /.
    Computer... right click the icon for the DVD player
    is in, and then select or open Explorer.

    The files you need from the DVD are the. VOB files.
    You will find them in the VIDEO_TS folder. Copy them
    in a folder on your hard drive. Or you can copy the
    full VIDEO_TS folder.

    First... just try to rename one of the. VOB files to
    . MPG or. AVI and see if it will matter in Movie Maker.
    If import works... drag the file to the timeline and
    Economy/publication it to .wmv or .avi format. Then...
    Re - import new video film for editing purposes.
    (if you have Vista Home Premium or Ultimate, you)
    may be able to import the VOB files in Movie Maker
    as they are)

    (FWIW... you can probably play the files renamed
    in Windows Media Player to be sure that VOB
    file to edit)

    If you are unable to import the files they need to be converted
    another .wmv format would be a good choice.

    There are many programs that can do conversions...
    The following freeware is an example...:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Format Factory
    http://www.videohelp.com/tools/Format_Factory
    (the 'direct link' is faster)
    (the file you want to download is: > FFSetup260.zip<>
    (FWIW... installation..., you can uncheck
    ('all' boxes on the last screen)

    First, you will need to decompress the file or just open the
    Drag FFSetup260.exe out of the folder
    and drop it on your desktop. To install left click.

    Next, after the download and installation of Format
    Factory... you can open the program and
    left click on the toolbar, the "Option" button and
    "Select an output folder to" / apply / OK.
    (this is where you find your files after they)
    are converted)

    Drag and drop your video clips on the main screen...

    Select "all to WMV" / OK...

    Click on... Beginning... in the toolbar...

    That should do it...

    Good luck...

  • How to move a specific tablespace data file from one directory to another

    Database: 10.2.0.1
    OS: generic
    Description of the problem: how to move a specific tablespace data file of one directory to another account of the database that is on the installer of Oracle Dataguard

    * Oracle is working on this issue, but at the same time opens the topic community so that community members can add their views, experience, or knowledge. This will strengthen again all the knowledge bases, including My Oracle Support and My Oracle Support Communities *.

    Published by: ram_orcl on August 16, 2010 21:21

    Dear ram_orcl,

    Please follow the procedures here;

    http://download-UK.Oracle.com/docs/CD/B19306_01/server.102/b14239/manage_ps.htm#i1034172

    8.3.4 Renaming a Datafile in the Primary Database
    
    When you rename one or more datafiles in the primary database, the change is not propagated to the standby database. Therefore, if you want to rename the same datafiles on the standby database, you must manually make the equivalent modifications on the standby database because the modifications are not performed automatically, even if the STANDBY_FILE_MANAGEMENT initialization parameter is set to AUTO.
    
    The following steps describe how to rename a datafile in the primary database and manually propagate the changes to the standby database.
    
       1.
    
          To rename the datafile in the primary database, take the tablespace offline:
    
          SQL> ALTER TABLESPACE tbs_4 OFFLINE;
    
       2.
    
          Exit from the SQL prompt and issue an operating system command, such as the following UNIX mv command, to rename the datafile on the primary system:
    
          % mv /disk1/oracle/oradata/payroll/tbs_4.dbf
          /disk1/oracle/oradata/payroll/tbs_x.dbf
    
       3.
    
          Rename the datafile in the primary database and bring the tablespace back online:
    
          SQL> ALTER TABLESPACE tbs_4 RENAME DATAFILE      2> '/disk1/oracle/oradata/payroll/tbs_4.dbf'
            3>  TO '/disk1/oracle/oradata/payroll/tbs_x.dbf';
          SQL> ALTER TABLESPACE tbs_4 ONLINE;
    
       4.
    
          Connect to the standby database, query the V$ARCHIVED_LOG view to verify all of the archived redo log files are applied, and then stop Redo Apply:
    
          SQL> SELECT SEQUENCE#,APPLIED FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;
          SEQUENCE# APP
          --------- ---
          8 YES
          9 YES
          10 YES
          11 YES
          4 rows selected.
    
          SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
    
       5.
    
          Shut down the standby database:
    
          SQL> SHUTDOWN;
    
       6.
    
          Rename the datafile at the standby site using an operating system command, such as the UNIX mv command:
    
          % mv /disk1/oracle/oradata/payroll/tbs_4.dbf /disk1/oracle/oradata/payroll/tbs_x.dbf
    
       7.
    
          Start and mount the standby database:
    
          SQL> STARTUP MOUNT;
    
       8.
    
          Rename the datafile in the standby control file. Note that the STANDBY_FILE_MANAGEMENT initialization parameter must be set to MANUAL.
    
          SQL> ALTER DATABASE RENAME FILE '/disk1/oracle/oradata/payroll/tbs_4.dbf'
            2> TO '/disk1/oracle/oradata/payroll/tbs_x.dbf';
    
       9.
    
          On the standby database, restart Redo Apply:
    
          SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE
            2> DISCONNECT FROM SESSION;
    
    If you do not rename the corresponding datafile at the standby system, and then try to refresh the standby database control file, the standby database will attempt to use the renamed datafile, but it will not find it. Consequently, you will see error messages similar to the following in the alert log:
    
    ORA-00283: recovery session canceled due to errors
    ORA-01157: cannot identify/lock datafile 4 - see DBWR trace file
    ORA-01110: datafile 4: '/Disk1/oracle/oradata/payroll/tbs_x.dbf'
    

    Hope that helps.

    Ogan

  • How can I fix a missing the MSVCP71d.DLL DDL file

    How can I fix a missing the MSVCP71d.DLL DDL file

    Hi GaryYS,

    Thanks for posting in the Microsoft Community.

    I'm sorry to know that you are facing a problem to install Maxim DL of Diffraction Limited.

    As you receive error message missing MSVCP71d.DLL, it would be useful if you can answer this question to help you further.

    1. when exactly you receive this error message?

    2 did you a recent software or hardware changes to the system?

    Msvct71.dll is a Microsoft C Runtime Library and it is necessary for the performance of several Microsoft and non-Microsoft applications on a Windows System.

    You try to run a SFC scan to check all corrupted files.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    If you need further assistance, please answer and we will be happy to help you.

  • Not able to reduce the size of data file

    Hi all
    I use Oracle Database 11.2.0.2 etdansl ASM instance. Today, I noticed that the use of the disk is almost full in my disk groups. I thought so to reduce the size of large size Tablespace data files.

    Select file_name, bytes/1024/1024 of dba_data_files where nom_tablespace = 'FRARDTA9T ';

    FILE_NAME BYTES/1024/1024
    ------------------------------------------------------------------------- -------------------------------------
    +DATAJDFSWM/t1erp90d/datafile/frardta9t01.dbf 81000

    ALTER database datafile '+ DATAJDFSWM/t1erp90d/datafile/frardta9t01.dbf' resize 40000M;

    I get the following error.


    ERROR on line 1:
    ORA-03297: file contains data beyond the requested value of RESIZING

    Here is the result for DBA_FREE_SPACE


    SQL > select * from dba_free_space where nom_tablespace = 'FRARDTA9T ';

    NOM_TABLESPACE, FILE_ID, BLOCK_ID BYTES BLOCKS RELATIVE_FNO
    -------------------------------------------- ---------- -------------- ---------- ----------- -----------------
    104 97728 5767168 704 1024 FRARDTA9T
    104 189016 4521984 552 1024 FRARDTA9T
    104 277016 5046272 616 1024 FRARDTA9T
    104 277680 655360 80 1024 FRARDTA9T
    104 1630336 3288334336 401408 1024 FRARDTA9T
    104 2031744 4160749568 507904 1024 FRARDTA9T
    104 2539648 4160749568 507904 1024 FRARDTA9T
    104 3047552 4160749568 507904 1024 FRARDTA9T
    104 3555456 4160749568 507904 1024 FRARDTA9T
    104 4063360 4160749568 507904 1024 FRARDTA9T
    104 4571264 4160749568 507904 1024 FRARDTA9T
    104 5079168 4160749568 507904 1024 FRARDTA9T
    104 5587072 1543503872 188416 1024 FRARDTA9T
    104 5775616 2616197120 319360 1024 FRARDTA9T
    104 6094976 4160749568 507904 1024 FRARDTA9T
    104 6637472 2803630080 342240 1024 FRARDTA9T
    104 7550488 558694400 68200 1024 FRARDTA9T
    104 7618688 4160749568 507904 1024 FRARDTA9T
    104 8126592 4160749568 507904 1024 FRARDTA9T
    104 8634496 4160749568 507904 1024 FRARDTA9T
    104 9142400 4160749568 507904 1024 FRARDTA9T
    104 9650304 4160749568 507904 1024 FRARDTA9T
    104 10223520 786432 96 1024 FRARDTA9T

    Please suggest me how to solve this problem... There's fragmentation the culprit who don't let not releasing me a space?

    -Saha

    the tablespace is fragmented maybe you defragment to free up space. There are several features to do more or less effective.

    -change the movement of the table / index
    exp/imp
    -reduce the space
    -dbms_redefinition
    -DEC

    each technology has advantages and disadvantages...
    I suggest starting by shrink space, but do not start with larger items...

    HTH

  • The boot configuration data file is missing some required information, error code: 0xc000000d

    Original title: question of recovery of Windows 8
    I have a Toshiba laptop with windows 8.  and this morning when I tried to turn it on, it's the message that is displayed:
     
    "RECOVERY".
    your PC needs to be repaired
    The boot configuration data file is missing some required information
     
    File \BCD
    Error code: 0xc000000d

    you will need to use the tools of recovery on your installation media. "If you, etc.".
     
    There is no USB or CV came with the laptop.  It is automatically installed when I first turned on.
     
    I was looking at a trip to this topic last night and everything was perfect, now, this morning, I get this message.
     
    I restarted the computer a few things, but this message is still there.
     
    My question is how can I get my laptop to work again, because I can't go in the computer to change the settings or options.
     
    Help, please
     
    Thank you
    Winnie

    Hello

    We are here to help.

    You can perform the troubleshooting steps below:

    Option 1: Windows startup parameters in the Windows recovery environment .

    • Windows recovery environment, enter in safe mode. After you have successfully loaded in safe mode, perform the clean boot.

    Option 2: restore your PC to an earlier point in time .

    1. Enter in the right edge of the screen and then click on Search.
    2. Enter the Control Panel in the search box, and then tap or click Control Panel.
    3. Enter the collection in the control panel search box, and then tap or click recovery.
    4. Press or click open system restore, and then follow the instructions.

    Let us know how it goes.

  • Windows 8 will not mistake The Boot Configuration Data file is missing some required information.

    Yesterday, I downloaded Windows 8, and although using it was confusing I got the hang of it. Today, I used the computer again and everything was fine but then I stopped him and a few hours later, when I turned it on a blue screen appeared and he says:

    Recovery
    Your PC needs to be repaired
    The Boot Configuration data file is missing some information required.
    Leader: \Boot\0xc000000d
    OT: After victory. Download 8 it won't launch
    I have no idea what is happening or how to fix it. Any help to help me understand and solve this problem would be appreciated.

    Met the same question from one day to the other - re install Win 8< week="" old="" decided="" to="" misbehave="" on="" a="" reboot.="" nothing="" untoward="">

    In any case discovered that the automatic startup repair is less useless for me. He could not fix anything whatsoever after the diagnosis and just gave up.

    However, resort to repair (start your windows installation CD) command line prompt, I managed to solve it with the command of the ffg on the command line.

    Bootrec /rebuildbcd

    More info about bootrec available using your favorite search engine.

    for example, this site was useful for me

    http://superuser.com/questions/451277/missing-boot-files-in-Windows-8

    For users in previous posts with problems and have only a version downloaded to Win 8 - well I'd say that you yourself create a DVD of the version uploaded to win 8 - the installation program ask you if you want to create media - that will create a 4.x GB. ISO file that you can burn to DVD. There is enough information on how to do this just search online.

    With regard to creating a way to initiate Win8 installer from USB Eh well I heard the ffg tool works with Win 8 too but cannot vouch for her since have never tried so its at your own risk.

    http://www.microsoftstore.com/store/msstore/HTML/pbPage.Help_Win7_usbdvd_dwnTool?ClickID=ckqs4fqifskwfnxlpiwkzwxqwwwzlvvlezzk

    Good luck, have fun,

    See you soon

  • Unable to start Win8. Error: "0xc0000098. "The boot configuration data file contains no valid information for an operating system".

    Original title: Windows 8 will not start

    I have a pre installed Windows 8 pro and have therefore no disks in the system. It does not start, but I get a message from the "Windows Boot Manager" with the message "Windows couldn't boot...". «, etc, etc and told to contact the ' system administrator or computer manufacturer...» "then the information:
    File: \BCD
    Status: 0xc0000098
    Info: the boot configuration data file contains no valid information for an operating system.

    How can I get it back? Can I get a system disk or can I do?

    Hi David,

    Thank you for getting back to us with additional information.

    If you have another computer with Windows 7 or Vista installed, you can create Windows 8 DVD installation of this system. But you need to get the product key Windows 8 of the manufacturer of the computer. Please refer to this link and create a DVD of Windows 8.

    http://Windows.Microsoft.com/en-us/Windows-8/create-reset-refresh-media

    Hope this information is useful.

  • The Boot Configuration data file contains no valid information for an operating system

    I have a Toshiba Satellite C55 B5200 running Windows 8.1 pre-installed. How ever when I boot, I get the Boot Configuration Data file does not contain valid information for an operating system to file: \BCD error Code: 0xc0000098

    If I do a usb on a friends computer system recovery, it will affect the recovery of my computer? I don't have product key windows 8 as it was preinstalled. If I go down to the store, buy Windows 8.1 will be this also fixes my problem? Any help is appreciated

    Hello

    Please refer to this and see if it helps:

    http://www.thewindowsclub.com/0xc0000098-error-Windows-8-help

    Hope this helps, good luck :)

Maybe you are looking for