shrink a data file (Oracle 9i Solaris 9)

Hi guys,.

Can you reduce a data file, and how this is achieved. I'm running out of space, and I noticed that they are other files of data that have been attributed to more of space.

Thanx.

You can try: alter database resizing datafile '' ;

Tags: Database

Similar Questions

  • May not be able to Shrink tables (data files)

    Hi all

    Oracle 10.2.0.3.0 on HP - UX

    I've restored the cold backup of size 1.5 to. All tables are present in a single schema.

    SQL > SELECT SUM (bytes) / 1024/1024/1024 "GB" FROM WHERE user_segments;

    GB
    ----------
    1496.96539

    Application user is past the tables of all the useless lines.

    SQL > SELECT SUM (bytes) / 1024/1024/1024 "GB" FROM WHERE user_segments;

    GB
    --------
    677.87667

    After letting down the paintings, I try to reduce the tables to reduce the HWM. For this, I have the query on all of the tables below.

    change the movement line of table_name enable;

    ALTER table table_name retractable space compact;

    I check with a script available in metalink to analyze the data files how can I reduce the size of the file of data manually

    After running script. I found there is that no boom of the data file cannot be done. When I try to reduce the data file using

    SQL > alter data < datafile > size < size >;

    It throws error as

    ORA-03297: file contains data beyond the requested value of RESIZING

    When I check my size of the database, this is the same I checked with the tables, that is to say 1.5 to.

    Could you please suggest what would be the problem?

    Thank you
    KSG

    Published by: KSG on 15 March 2010 14:01

    Hello

    But I have no space left to create the tablespace or move the tables. Export of more than 1.5 TB of data is not allowed for me to move forward.

    So it will be difficult, but it is not impossible.

    First published as previously you must use option SHRINK SPACE, as you could see in the link below
    in order to free up space in your Tablespace:

    http://www.Oracle.com/technology/oramag/Oracle/05-may/o35tuning.html

    With the request that I posted, you can locate the last block in your data file.

    You can follow the Segment that has this block by changing the query as follows (assuming that your block size is * 8192 * bytes, else you will need to change)
    This value in the query):

    select a.tablespace_name, a.file_name, b.owner, b.segment_name, ceil( (nvl(hwm,1)*8192)/1024/1024 ) "Mo"
    from dba_data_files a, ( select file_id,
                             max(block_id+blocks-1) hwm
                             from dba_extents
                             group by file_id
                           ) b
    where a.file_id = b.file_id(+)
    order by tablespace_name;
    

    Then, MOVE you (or RECONSTRUCTION if there is an Index) the segment corresponding in a different Tablespace.
    And revert to the original.

    Check again where is your last block with the above query.

    And Segment-by-Segment basis, you can move the HWM of the data file and reduce its size without
    use too much space.

    But you need time, so be patient. Time or space, you can choose :-).

    Hope this helps;
    Best regards
    Jean Valentine

    Published by: Lubiez John Valentine on March 14, 2010 10:44

  • Recover data file / oracle database duplicate offers backup

    Hello.
    I have regular backups of all data files (copy of the image) and created by oracle archivelogs suggested backup.

    I want to recover the database to a specific day, and not to the last transaction, on the last day of backup was performed.
    So far I've always had the last transaction recovery with isn't an option because a large amount of data is missing, and I don't know what happened, I just know that that day there before (last image retrieved copy) is very well, but I'm unable to recover at this point. I used recover until sequence, up to the time, but I have always applied the newspaper.

    So my question is, can I restore the data file and retrieve it, I mean sync with the database without appling archivelogs to keep the data in this file, as it was the day of the last backup, or use this image copy to create another database to get the same things, or is there another way to get data as it was on the last day backup was taken.

    Any help is appreciated, the situation is very serious!

    Hi user12091398,

    Furthermore, it just ask, pourrais I try to use blockrecover to copy good image perhaps?

    With recovery of block, you will have to make a full recovery, it is of no use.

    Steps for cloning:
    -create an auxiliary environment (instance, space...) db_file_name_convert and log_file_name_convert parameters can be useful.
    -make elements of rman backup available on the host running the auxiliary.
    -set up tns to be able to access the target host of the auxiliary.
    -create and run a script in double
    Run {}
    define_db_name duplicate target database
    # up to "TO_DATE('2010-01-28:10:00:00','yyyy-mm-dd:hh24:mi:ss')".
    up to the time "TO_DATE('define_date','yyyy-mm-dd:hh24:mi:ss')".
    ;
    }

    Kind regards

    Tycho

  • The data file (Oracle 10 g) file extension

    Hi all

    After reviewing DBA_DATA_FILES, it shows that some files are '. DFA' instead of ".dbf"?

    Can I know if it's the same as dbf?

    Thank you very much.

    Rgds

    Andrew

    Oracle does not care about extensions or file names - you can name them as you wish. You will need to check your organization what DFA means, assuming that no. one typed by mistake.

  • RESIZE data file

    Hi all

    I have a tablespace called "syscom" and there a data file size is 4 GB.
    Now I increase 1 GB to this data file, so that the total tablespace size is 5 GB.

    When I run below coment: -.

    ALTER database datafile ' / oracle/ora10g/ecms/syscom01.dbf' size to 1 GB.

    reduce the size of 1 GB tablespace and total size is 3 GB, now.

    What is the query, to increase the size of the data file, then.

    Rgds,
    Pravin

    create a tablespace again with 5 M

    SQL> create tablespace new_data datafile 'C:\miBBDD\oradata\FRAN\newdata_01.dbf' size 5M;
    
    Tablespace creado.
    
    SQL> select name, bytes/1024/1024 from v$datafile where name like '%NEWDATA%';
    
    NAME
    -------------------------------------------------------------------------------
    
    BYTES/1024/1024
    ---------------
    C:\MIBBDD\ORADATA\FRAN\NEWDATA_01.DBF
                  5
    

    now resize to 3 m

    SQL> ALTER DATABASE DATAFILE 'C:\MIBBDD\ORADATA\FRAN\NEWDATA_01.
    DBF' RESIZE 3M;
    
    Base de datos modificada.
    
    SQL> select name, bytes/1024/1024 from v$datafile where name like '%NEWDATA%';
    
    NAME
    --------------------------------------------------------------------------------
    
    BYTES/1024/1024
    ---------------
    C:\MIBBDD\ORADATA\FRAN\NEWDATA_01.DBF
                  3
    

    The new tablespace size is 3 m, because I resize at 3 m, if you resize a low size will shrink the data file, if you resize a high value datafile will increase.

    alter database datafile '/oracle/ora10g/ecms/syscom01.dbf' resize to 1GB. 
    
    tablespace size reduce by 1GB and total size is 3GB, now.
    

    Are you sure?
    Please post the output of:
    SELECT name, bytes/1024/1024 of v$ datafile, whose name like '% SYSCOM % ';

  • Reduction of size of the Tablespace SYSTEM or adding data file?

    Hello

    I read the MOS notes on aud$ table, etc and the purge it (truncation). But what happened in this situation. Please take a look. # Oracle Database 11 g Release 11.2.0.2.0 - 64 bit Production
     ## size in MB
    TS Name                                 Total_size   Free space     %age_free    %age_free
    
    SYSTEM                               2000       409.875              20         80
    SYS@AP AS SYSDBA> select owner, segment_name, segment_type, bytes/1024/1024 "MB" from dba_segments
      2  where tablespace_name = 'SYSTEM' AND rownum <=20 AND bytes/1024/1024 > 1 order by bytes desc;
    
    OWNER                      SEGMENT_NAME                                              SEGMENT_TYPE              MB
    ------------------------------ --------------------------------------------------------------------------------- ------------------ ----------
    SYS                      OBJ$                                                   TABLE                   25
    SYS                      I_OBJ2                                                   INDEX                   22
    SYS                      I_OBJ5                                                   INDEX                   22
    SYS                      DEPENDENCY$                                              TABLE                   15
    SYS                      C_OBJ#                                                   CLUSTER              14
    SYS                      I_OBJ1                                                   INDEX                   11
    SYS                      I_OBJ4                                                   INDEX                   11
    SYS                      I_SYN2                                                   INDEX                   10
    SYS                      SYN$                                                   TABLE                    8
    # System Tablespace has a data file:
    /Oracle/oradata/AP/datafile/o1_mf_system_6l9549kc_.dbf

    What are the possibilities for me here, please? Can I purge/truncate above segments, or add a data file?

    Thank you

    Concerning

    ALTER database... datafile autoextend on next maxsize 64M

    So yes, you can change this. Easily!

    --------
    Sybrand Bakker
    Senior Oracle DBA

  • How can I add data file to an existing table on Oracle RAC ASM with no OMF? Thank you!

    How can I add data file to an existing table on Oracle RAC ASM with no OMF? Thank you!

    Hello

    So I guess you have some files in ASM, see your first existing file structure

    Select file_name

    from dba_data_files;

    and to add to an existing table, the example below (even if you're better sticking with OMFs!)-is that what you are looking for?

    SQL > create tablespace TEST1

    2 datafile '+ DATA' size 1 M;

    Created tablespace.

    SQL > select file_name in dba_data_files;

    FILE_NAME

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

    +Data/orcl2/datafile/users.259.859820983

    +Data/orcl2/datafile/undotbs1.258.859820983

    +Data/orcl2/datafile/SYSAUX.257.859820983

    +Data/orcl2/datafile/system.256.859820981

    +Data/orcl2/datafile/example.269.859821049

    +Data/orcl2/datafile/Test1.271.859843053

    6 selected lines.

    SQL > alter tablespace TEST1

    2 Add datafile ' + DATA / mynewfile01.dbf ' size 2 m;

    Tablespace altered.

    SQL > select file_name in dba_data_files;

    FILE_NAME

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

    +Data/orcl2/datafile/users.259.859820983

    +Data/orcl2/datafile/undotbs1.258.859820983

    +Data/orcl2/datafile/SYSAUX.257.859820983

    +Data/orcl2/datafile/system.256.859820981

    +Data/orcl2/datafile/example.269.859821049

    +Data/orcl2/datafile/Test1.271.859843053

    + DATA / mynewfile01.dbf

    Thank you

  • How can we export itno csv data file for oracle forms

    Hello

    How can we export itno csv data file for oracle forms

    For example. I have the block called A.what never the data displayed on a block, when I click on a button, displays the block data, must be exported to the csv file.

    My application is running on the unix operating system.

    Please help on this.

    First of all.  What is your version of forms (for example: 11.1.2.2.0 not 11g).  Finally, who will use the .csv file?  If it is a user on their client computer - CLIENT_TEXT_IO TEXT_IO or WebUtil are standard packages used to export data to a file of Oracle Forms.

    The amount of data to be exported?  If you export only a couple hundred lines - export of Froms will be OK.  If you export more lines than that (300 + lines) then the export will be extremely slow to your username.  Keep in mind that forms is not designed to perform data exports - there are better tools available for this...

    Craig...

  • ORA-01578: block of data corrupted ORACLE ORA-01110: data file 46:, ORA-06512: at line 1 ScanningError 1038246

    We get error below of the application team. Please find attached the file backup rman error.

    ORA-01578: ORACLE corrupt data (file # 46, block # 64626) ORA-01110: data file 46: ' / db04_hlt/PHCLMDB/PHCLMDB_DATA/phclm21.dbf' ORA-06512: at "HCLM_ADMIN. SCANPROC_INSUPLOADTEMP", line 16 ORA-06512: at line 1 ScanningError 1038246

    fe40282660394026b5f76bf3f5d649e4 SCANPROC_INSUPLOADTEMP-ORA-01578: data block (file # 46, block # 64626) corrupted ORACLE ORA-01110: data file 46:

    Hello

    Please follow the steps to format corrupt block a used the procedure mentioned in the document below, please note that you need to do several times for all the block corrupted in free space.
    Doc-ID 336133.1===> how corrupt Format block is not part of any Segment.

    Following the notes 293515.1 -->> ORA-1578 ORA-26040 in a LOB segment - Script to resolve errors

    This note is for these errors, but the procedure is exactly the same, we must:

    1 - identify the ROWID affected
    2 - Put the ROWID corrupted on EMPTY_LOB
    3. When you MOVE the LOB to a new Tablespace

    These are essentially the steps, the note shows how

    Kind regards

    Alok

  • Install for Oracle data files new 11.2 g

    Hello

    I installed Oracle 11.2 g on Windows 7 Professional 32-bit environment. I want to download data files to run queries. Could you tell me where I can download data database of folders/files/scripts?

    Could you also tell me what Oracle manual can be used for the practice of Oracle database for admin systems

    Thanks for your help.

    Content

    GOOGLE for EXAMPLE of ORACLE or ORACLE SCHEMA SAMPLE SCHEMA

  • ORA-01110: data file 1: ' / opt/oracle/oradata/pd1perf/SYSTEM01. DBF'

    HI Experts

    I'm trying to convert the window (oracle 10g) to using linux (oracle 10g) in the light of the tutorial link. My database is in archivelog mode

    http://kamranagayev.com/2010/08/20/RMAN-convert-database-video-tutorial/

    When I'm trying to change the open database resetlogs then his error giving

    SQL > ALTER DATABASE OPEN RESETLOGS
    *
    ERROR on line 1:
    ORA-01194: file 1 needs a recovery more match
    ORA-01110: data file 1: ' / opt/oracle/oradata/pd1perf/SYSTEM01. DBF'

    even I tried
    recover database using backup controlfile
    and
    recover database using backup controlfile until cancel

    Check your version to minimum 10.2.0.4. And I think that version should be one even on two machines

  • ORA-01110: data file 1: ' / u01/app/oracle/oradata/tbmdb/system01.dbf'

    I'm back RMAN.

    For purposes of experience, I moved control02.ctl of actual position and then restore the backup. After you restore successfully, I couldn't open DB again and meet the error ORA-01110, I need your help to understand the error on my part and its resolution.

    RMAN> restore controlfile from '/u01/app/oracle/fast_recovery_area/TBMDB/backupset/2013_03_26/o1_mf_ncsnf_TAG20130326T164239_8o32h84t_.bkp';
    
    Starting restore at 27-MAR-13
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=129 device type=DISK
    
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
    output file name=/u01/app/oracle/oradata/tbmdb/control01.ctl
    output file name=/u01/app/oracle/fast_recovery_area/tbmdb/control02.ctl
    Finished restore at 27-MAR-13
    $sqlplus / as sysdba
    
    SQL> startup
    ORACLE instance started.
    
    Total System Global Area  521936896 bytes
    Fixed Size              2229944 bytes
    Variable Size            402655560 bytes
    Database Buffers       109051904 bytes
    Redo Buffers              7999488 bytes
    Database mounted.
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    
    SQL> alter database open resetlogs;
    alter database open resetlogs
    *
    ERROR at line 1:
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/u01/app/oracle/oradata/tbmdb/system01.dbf'
    Published by: malhi on 27 March 2013 23:55

    Hello;

    It looks like how you restored the control antagonized file a copy who did align with current data files.

    I just tested this I'll now what I did different here in a moment.

    My test:

    http://www.Visi.com/~mseberg/RMAN/simulating_loss_of_control_files_rman.html

    The link shows all the details. What jumps out is two things. I put the DBID and I let RMAN decide what control file to restore. View I had the same ORA-01589 like you and how I recovered from it.

    RMAN > restore database;
    SQL > alter database open resetlogs;
    RMAN > reset database;

    and then the test data.

    Best regards

    mseberg

    Published by: mseberg on March 28, 2013 02:22

  • Extract data from Oracle into excel file

    Hello

    I have a requirement where in I need to extract data from Oracle into excel file and the worksheet excel name should be 'given '.
    for example. Excel 'AR Data_DDMMYY' file name and the name of the "Data" sheet excel

    I used the UTL_FILE API to extract the data delimited by tabs that you can open in excel, but it's not exactly an excel file as the name of the worksheet is the same as the name of the file.

    I tried to use utl_file.fcopy and frename.

    Is it possible to do it using PLSQL?

    Select * from version of v$.
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    "CORE     10.2.0.5.0     Production"
    TNS for HPUX: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    Example Code:
    declare
    cursor c is
    select * from scott.emp;
    v varchar2(100);
    f utl_file.file_type;
    
    file_name varchar2(100) := 'AR Data.xls';
    dir varchar2(50) := 'CESDIR191710';
    
    --select * from dba_directories
    
    begin
    
    
    f := utl_file.fopen(dir, file_name, 'W');
    
    v := 'EMPNO'||chr(9)||'ENAME'||chr(9)||'JOB'||chr(9)||'SAL'||chr(9)||'HIREDATE'||chr(9)||'DEPTNO';
    utl_file.put_line(f, v);
    
    for i in c
    loop
    
    v := i.empno||chr(9)||i.ename||chr(9)||i.job||chr(9)||i.sal||chr(9)||i.hiredate||chr(9)||i.deptno;
    utl_file.put_line(f, v);
    
    end loop;
    utl_file.fclose(f);
    
    --utl_file.frename(dir, file_name, dir, replace(file_name, '.xls', '_')||to_char(sysdate, 'MMDDYY')||'.xls', false);
    utl_file.fcopy(dir, file_name, dir, replace(file_name, '.xls', '_')||to_char(sysdate, 'MMDDYY')||'.xls');
    
    end;
    Thank you
    Imran

    Hello

    I tried to change the .xlsx to .xls and it gives a note at the opening of the file "the file you are trying to open, abc.xls, is in a different format that it is specified by the file extension. Check that the file is not corrupted and precedes from a trusted source before you open the file. Do you want to open it now? »

    When you rename the file does not solve your problem.
    Anton Scheffer package generates a file in format xlsx Office 2010. When rename you it with the .xls extension, then Office 2010 will give you the warning that the file format does not match the extension.

    but the requirement has to generate excel 2003 file.

    The xml_spreadsheet package writes a format that was introduced with Office 2003, but you must use .xml as extension in other Office 2010 will give you the same caveat.
    To write the real xls version (binary), you can use Apache POI. You will need to import Java classes in your db and write a PL/SQL wrapper. Or you can use one of the options above, writing the output to a windows server and then use Excel to open and save in the required format.

    You must decide whether it is easier to write the binary xls format or to convince the customer to accept other formats that can be opened with Excel.

    Concerning
    Marcus

  • Move the data files on the standby server without moving primary Oracle 11 g r2

    Hi all


    Oracle 11g 2 with EBS 11.5.0.2 version.

    The size of one of the mounting points on the standby is full and I'm going through one of the data files to another mount point without making any changes to the primary level.

    I tried Google and came across this link:
    http://oraclesea.blogspot.in/2011/12/move-datafiles-on-standby-server.html
    But it did not work... I had to start the database with the spfile to work.

    The steps mentioned in the blog:
    Include below parameter in standby parameter file
    DB_FILE_NAME_CONVERT = '/primary_location/xyz.dbf','/standby_location/xyz.dbf'
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE cancel;
    shut immediate
    startup nomount pfile=initSCSL.ora
    alter database mount standby database ;
    alter system set standby_file_management='MANUAL' SCOPE=MEMORY ; 
    ! cp /primary_location/xyz.dbf'  /standby_location/xyz.dbf
    alter database rename file  '/primary_location/xyz.dbf' to '/standby_location/xyz.dbf';
    alter system set standby_file_management='AUTO' SCOPE=MEMORY ; 
    alter database recover managed standby database parallel 4 disconnect from session;
    Can you please help me with the right steps...


    Concerning
    KK

    Edited by: 903150 Sep 26, 2012 22:41

    Here is an example for you.

    Database pending:

    SQL> select status,instance_name,database_role from v$database,v$instance;
    
    STATUS       INSTANCE_NAME    DATABASE_ROLE
    ------------ ---------------- ----------------
    OPEN         srprim           PHYSICAL STANDBY
    
    SQL> select file_name from dba_data_files;
    
    FILE_NAME
    --------------------------------------------------------------------------------
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\USERS01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\UNDOTBS01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\SYSAUX01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\SYSTEM01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\USERS02.DBF
    
    SQL> select process,status,sequence# from v$managed_standby;
    
    PROCESS   STATUS        SEQUENCE#
    --------- ------------ ----------
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    RFS       IDLE                  0
    RFS       IDLE                154
    MRP0      WAIT_FOR_LOG        154
    
    7 rows selected.
    
    SQL> show parameter name_convert
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    db_file_name_convert                 string
    log_file_name_convert                string
    SQL> alter database recover managed standby database cancel;
    
    Database altered.
    
    SQL> shut immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    M:\>copy C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\USERS02.DBF C:\APP\SHIVANANDA.RAO\ORADATA\DBTEST\USERS02.DBF
    1 file(s) copied.
    
    M:\>sqlplus sys/oracle@srprim as sysdba
    
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Sep 27 14:57:16 2012
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    Connected to an idle instance.
    
    SQL> startup mount
    ORACLE instance started.
    
    Total System Global Area  778387456 bytes
    Fixed Size                  1374808 bytes
    Variable Size             494929320 bytes
    Database Buffers          276824064 bytes
    Redo Buffers                5259264 bytes
    Database mounted.
    SQL> alter system set standby_file_management=manual;
    
    System altered.
    
    SQL> alter database rename file 'C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\USERS02.DBF' to 'C:\APP\SHIVANANDA.RAO\ORADA
    A\DBTEST\USERS02.DBF';
    
    Database altered.
    
    SQL> alter database recover managed standby database disconnect from session;
    
    Database altered.
    
    SQL> select process,status,sequence# from v$managed_standby;
    
    PROCESS   STATUS        SEQUENCE#
    --------- ------------ ----------
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    RFS       IDLE                  0
    RFS       IDLE                155
    MRP0      WAIT_FOR_LOG        155
    
    7 rows selected.
    
    SQL> select name from v$datafile;
    
    NAME
    --------------------------------------------------
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\SYSTEM01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\SYSAUX01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\UNDOTBS01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\USERS01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\DBTEST\USERS02.DBF
    

    1. you must close the database pending.
    2 copy the file that you want to move to the different mount point using the OS commands.
    3. Mount the standby database.
    4 rename the data through database level. Make sure that the standby_file_management is set to MANUAL
    5. start the MRP on the standby database.

    Please do not use more than one response to the thread ID. Because you created this thread with ID 903150, I propose to answer with the same ID, not the ID of the other.

  • Migration - MySQL to Oracle - do not generate data files

    Hello

    I have been using the SQL Developer migration Assistant to move data from a MySQL 5 database to an Oracle 11 g server.
    I used it successfully a couple of times and its has all worked.

    However, I am currently having a problem whereby there is no offline data file generated. Control files and all other scripts generated don't... just no data file.
    It worked before, so I'm a bit puzzled as to why no logner work.

    I looked at newspapers of migration information and there is no errors shown - datamove is marked as success.
    I tried deleting and recreating rhe repository migration and checked all grants and privs.

    Is there an error message then it would be something to continue but have tried several times and checked everything I can think.

    I also tried the approach of migration command-line... same thing. Everything works fine... no errors... but only the table creation and control script files are generated.
    The schema of the source is very simple and there is only the tables to migrate... no procedure or anything else.

    Can anyone suggest anything?

    Thank you very much
    Mike

    Hi Mike,.

    I'm so clear.
    You use SQL Developer 3.0?
    You walked through the migration wizard and choose Move Offline mode data.
    The generation of DDL files are created as are the scripts to move data.
    But no data (DAT) file is created and no data has been entered in the Oracle target tables.

    With offline data move, Developer SQL generates (saved in your project, under the DataMove dir directory) 2 sets of scripts.
    (a) a set of scripts to unload data from MySQL to DAT files.
    (b) a set of scripts to load data from the DAT files in the Oracle target tables.
    These scripts must be run by hand, specifying the details for the source databases MySQL and Oracle target.

    "no offline data file generated. Control files and all other scripts generated don't... just no data file. »
    «.. . but only the creation and control file table scripts are generated. »

    What you mean
    (1) the DAT files are not generated automatically. This should, if we need to run the scripts yourself
    (2) after manually running the scripts that the DAT are not present, or that the DAT files are present, but the data does not load in Oracle tables.
    (3) the scripts to move data in offline mode does not get generated

    Kind regards
    Dermot
    SQL development team.

Maybe you are looking for