Tablespace offline

Hi,
i have a database 11.1.0.6 running in windows 2003 server.i took a tablespace offline and changed the location of the datafile of that tablespace. When i tried to make the tablespace online it asked for media recovery and i am not able to make the tablespace online. why it happened??? i want to stimulate the same issue in my test database . So i performed the following steps
My test database in NO ARCHIVELOG MODE. I have done few transactions but dint commit. Without commiting the transactions i took the tablespace offline. i have switch the log files by using the command alter system switch logfile. With that tablespace in offline mode i am able to commit or rollback the existing transactions.
And i am able to make the tablespace online without any problem. How ??
Regards,
007
Edited by: 007 on Sep 24, 2011 5:22 AM

Probably in the your case 1, you took one datafile offline , in that case when you want to make it online again, a recovery is necessary because Oracle does not checkpoint a data file when it is taken offline.
When you take the whole tablespace offline normal (not immediate), the tablespace is checkpointed so you bring it online , no recovery is required.
[oracle@wissem ~]$ rlsqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Sat Sep 24 16:21:58 2011
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
Enter user-name: sys as sysdba
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select FILE_NAME from DBA_DATA_FILES;
FILE_NAME
/home/oracle/app/oracle/oradata/WISS/datafile/o1_mf_users_77jqszlz_.dbf
/home/oracle/app/oracle/oradata/WISS/datafile/o1_mf_undotbs1_77jqszk4_.dbf
/home/oracle/app/oracle/oradata/WISS/datafile/o1_mf_sysaux_77jqszhh_.dbf
/home/oracle/app/oracle/oradata/WISS/datafile/o1_mf_system_77jqsz9y_.dbf
SQL>
SQL> alter database datafile '/home/oracle/app/oracle/oradata/WISS/datafile/o1_mf_users_77jqszlz_.dbf' offline;
Database altered.
SQL> alter system checkpoint;
System altered.
SQL> alter system checkpoint;
System altered.
SQL> alter database datafile '/home/oracle/app/oracle/oradata/WISS/datafile/o1_mf_users_77jqszlz_.dbf' online;
alter database datafile '/home/oracle/app/oracle/oradata/WISS/datafile/o1_mf_users_77jqszlz_.dbf' online
ERROR at line 1:
ORA-01113: file 4 needs media recovery
ORA-01110: data file 4:
'/home/oracle/app/oracle/oradata/WISS/datafile/o1_mf_users_77jqszlz_.dbf'
SQL> recover datafile 4;
Media recovery complete.
SQL> alter database datafile '/home/oracle/app/oracle/oradata/WISS/datafile/o1_mf_users_77jqszlz_.dbf' online;
Database altered.
SQL> alter tablespace USERS OFFLINE IMMEDIATE;
Tablespace altered.
SQL> alter system checkpoint;
System altered.
SQL> alter system checkpoint;
System altered.
SQL> alter tablespace USERS ONLINE;
alter tablespace USERS ONLINE
ERROR at line 1:
ORA-01113: file 4 needs media recovery
ORA-01110: data file 4:
'/home/oracle/app/oracle/oradata/WISS/datafile/o1_mf_users_77jqszlz_.dbf'
SQL> recover tablespace USERS;
Media recovery complete.
SQL> alter tablespace USERS ONLINE;
Tablespace altered.
SQL> alter tablespace USERS OFFLINE;
Tablespace altered.
SQL> alter system checkpoint;
System altered.
SQL> alter system checkpoint;
System altered.
SQL> alter tablespace USERS ONLINE;
Tablespace altered.
SQL> Please consider marking your questions as answered;
Handle:      007 
Status Level:      Newbie (25)
Registered:      Sep 6, 2010
Total Posts:      178
Total Questions:      99 (89 unresolved)

Similar Messages

  • How to turn a tablespace offline when...

    Dear All,
    I need assistance;
    Which SQL statement can I use to open an oracle 8i database when the 'users' tablespace is in offline mode.

    First you say that users is offline. Then you say that that the system tablespace
    is not available. There is a VERY BIG difference between the two.
    Also, in Oracle "tablespace offline" means that a tablespace has been taken offline
    -- the Oracle command is ALTER TABLESPACE OFFLINE.
    But you now assert that the datafile has been "lost" {*whatever* that is supposed to
    mean !!}. BIG Difference again between offline and "lost" if lost means "not available".

  • Taking tablespace offline through RMAN command line

    I am taking a Oracle 9i Backup and Recovery class. One of the hands-on assignments is to simulate a lost datafile. The instructions say to shut down the database through RMAN, delete the INDX01.dbf datafile through my operating system, mount the database, take the INDX tablespace offline, open the database, recover the INDX01.dbf datafile, and then place the INDX tablespace online again.
    My problem is that when I issue the command (in RMAN) to take the INDX tablespace offline (remember, database is mounted), I get an error saying the database is not open. The command I am issuing through RMAN is this: >sql 'ALTER TABLESPACE INDX OFFLINE IMMEDIATE'; I can't get any further because of the error message that my database is not open. Is my instruction book wrong in that I can't take the tablespace offline if the database is in a mounted state? Does the database have to be open to do this?

    4. Mount the database and take the tablespace corresponding to Indx01.dbf data file offline.There could be a misunderstanding about the command to be used. ALTER TABLESPACE command needs an open DB to work, but you can use
    RMAN> sql 'alter database datafile <file name or file number> offline drop';
    that will work with DB in mount state. See this example :
    RMAN> startup mount
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area     130023424 bytes
    Fixed Size                     1218100 bytes
    Variable Size                104860108 bytes
    Database Buffers              20971520 bytes
    Redo Buffers                   2973696 bytes
    RMAN> sql 'alter tablespace test offline immediate';
    sql statement: alter tablespace test offline immediate
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of sql command on default channel at 05/21/2006 18:51:06
    RMAN-11003: failure during parse/execution of SQL statement: alter tablespace test offline immediate
    ORA-01109: database not open
    RMAN> sql 'alter database datafile 5 offline drop';
    sql statement: alter database datafile 5 offline drop
    RMAN> alter database open;
    database opened
    RMAN> restore datafile 5;
    Starting restore at 21-MAY-06
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=145 devtype=DISK
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00005 to
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:08
    Finished restore at 21-MAY-06
    RMAN> recover datafile 5;
    Starting recover at 21-MAY-06
    using channel ORA_DISK_1
    starting media recovery
    media recovery complete, elapsed time: 00:00:01
    Finished recover at 21-MAY-06
    RMAN> sql 'alter database datafile 5 online';
    sql statement: alter database datafile 5 online
    RMAN>                                                                                                                                                                

  • Sysaux tablespace offline ?

    Hi,
    Can we able to make a sysaux tablespace offline?
    What happen if it was offline.?

    Hello;
    If the SYSAUX tablespace becomes unavailable, core database functionality will remain. So Yes you can do it.
    Source - Database Administrator's Guide "Managing the SYSAUX Tablespace"
    http://docs.oracle.com/cd/B28359_01/server.111/b28310/tspaces010.htm
    OR
    http://docs.oracle.com/cd/E11882_01/server.112/e25494/tspaces010.htm#i1011659
    Best Regards
    mseberg
    Edited by: mseberg on Aug 6, 2012 12:12 PM

  • Data files are offline / tablespace offline

    I am confused on the concept of data file offline.
    What happened when you take data file offline?
    Is data file offline because of disk damage? we see the error that data file is haning a problem, we have manually to take data file offline? how?
    Why is tablespace offline but data file is still online?
    Please help!
    Thanks
    S.

    ski123 wrote:
    I am confused on the concept of data file offline.
    What happened when you take data file offline?The offline datafile means simply that the file is not available anymore for the access. All the objects for the offline file become inaccessible for the users to access.
    Is data file offline because of disk damage? we see the error that data file is haning a problem, we have manually to take data file offline? how?Yes it can happen that the data file goes offline because of any kind of damage either over the disk, or also with the file itself. For example, there may be a chance that the file is not available anymore , may be because someone has deletedthe file. So most of the times, Oracle would offline the file by itself. In any case, if the file doesn't go offline by itself than you need to take it offline yourself as the recovery for the file can't happen if its online. You would get the error messages that oracle can't acquire the exclusive access over the file.
    Why is tablespace offline but data file is still online?Not sure that I did see this ever myself. Tablespace is nothing but the container for the datafile so if there is a file of it which is offline and that's the only file in the tablespace, the tablespace can't stay as online. Show us an output for the same.
    The links given by Anantha are must for you to read the cocept of offlining a tablespace. Make sure you read them for sure.
    HTH
    Aman....

  • Tablespace offline / online.

    Hi All,
    Oracle 9.2 - aix 5.
    I have taken example tablespace offline earlier using TOAD and then deleted the example datafile. It was successful activity. but it gives error as shown below in alert log file when db restarts.
    ALTER TABLESPACE EXAMPLE OFFLINE
    Mon Nov 2 15:04:31 2009
    Errors in file /oracle/ora92/920/admin/guru/bdump/guru_dbw0_516208.trc:
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: '/oracle/app/oracle/oradata/guru/example01.dbf'
    ORA-27041: unable to open file
    IBM AIX RISC System/6000 Error: 13: Permission denied
    SQL> select status from dba_tablespaces where tablespace_name='EXAMPLE';
    STATUS
    ONLINE
    SQL> ALTER TABLESPACE EXAMPLE OFFLINE;
    ALTER TABLESPACE EXAMPLE OFFLINE
    ERROR at line 1:
    ORA-01191: file 4 is already offline - cannot do a normal offline
    ORA-01110: data file 4: '/oracle/app/oracle/oradata/guru/example01.dbf'
    though tablespace is offline oracle tries to write something to file. and everytime it gives error in alert file. i dont understand how oracle shows dual status of same tablespace at the same time...????
    Amit.

    Hallo,
    offlining a tablespace makes the tablespace unvailable to users but leaves ORACLE update the datafiles' header which belongs to the tablespace with important synchronization information. Plus during startup ORACLE checks if control file SCN matches offlined tablespace datafiles' headers.
    That's why alert logs that messages..
    Bye

  • OWB 10.1: Can't run jobs after taking tablespaces offline

    Hi,
    We merged a number of tablespaces together (that have no link to our OWB process whatsoever, they just share the same database). After we merged them we took the old ones offline.
    Now our regular warehouse process won't run. It doesnt use any of the old and/or new tablespaces, but we get the following error:
    ORA-20211: Active job does not exist, cannot link to job.
    Can this have any relation to the changed database configuration? We use OWB 10.1 icw Oracle 10.1.
    What can I do to correct this situation? Restart the server? Take the tablespaces back up? Or are the problems unrelated?

    i presume this is on TEST and not PROD box, anyways i think what you got to do try and find out what objects were there in old tabespaces which are used in owb as this could be in unusable state or this is something to do with permissions. Check if the required permissions are granted .
    P.S:
    ====
    ORA-20211: A user specified error message
    Error messages starting from -20000 until -20999 are user specified error messages.
    Oracle provides these range of codes so applications can raise an application specific error, which will be displayed after the chosen code.
    This is done using the raise_application_error pl/sql function.
    You'll have to contact the application provider should you want to have more detail about the error message.
    Edited by: user647181 on Oct 16, 2008 1:45 AM

  • Altering tablespace offline

    I have put tablespace with rollback segments to
    the offline state:
    alter tablespace rollbck offline normal;
    When I tried to view its status:
    select tablespace_name,status from dba_tablespaces;
    ORA-00376 occured, that means file cannot be read at this time, with the file belonging to the offline tablespace.
    So, when the tablespace is offline I can not even
    check its state?

    Query the dba_data_files and check the datafiles(for the rollbck tablespace) if they are offline. If not make them offline and then try out your statement
    select tablespace_name,status from dba_tablespaces;

  • Sessions getting created after tablespace is offline

    Hi all
    I am facing a situation where if I make SYSAUX tablespace offline, still session count keeps on increasing.
    Is that something expected?
    Thanks

    Thank you for your help.
    These are steps that can be done to reproduce the issue in Enterprise Edition
    SQL> select username,count(*) from v$session group by username;
    USERNAME COUNT(*)
    19
    SYSMAN 35
    DBSNMP 3
    SYS 1
    SQL> alter tablespace MGMT_TABLESPACE offline;
    Tablespace altered.
    Wait for some time
    Re run the query..
    SQL> select username,count(*) from v$session group by username;
    USERNAME COUNT(*)
    19
    SYSMAN 66
    DBSNMP 3
    SYS 1
    Hope it makes the issue clear.
    Thank you for your help.

  • Offline tablespace/partition

    I would like to 'archive' some tables (DB 11g R2) in a way that older data (older than 2-3 years) should not be visible.
    I tried to make it with partitioned tables by putting some tablespaces offline (older partitions are on separate tablespaces)..
    but this action does not seems to be valid (I got ORA-00376 & ORA-01110 errors).
    So, how could I put older data 'offline'?
    tnx

    There is a conflict in your statement itself.
    In the first post you said,
    I would like to 'archive' some tables (DB 11g R2) in a way that older data (older than 2-3 years) *should not be visible*.
    But in this post you said it should be easily accessible. 
    The one way I could think of is, move your old data to another table and keep in another tablespace.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to move Tablespace from One disk group to another disk group in RAC

    Hi All,
    I have 11gR2 RAC env on Linux.
    As ofnow I have problem with disk group. I have 3 disk group which is almost full - 98%. I have added one NEW disk group and want to move some of the Tablespace(TBS) from OLD disk group to NEW diskgroup and make some free space in OLD disk group.
    Can any one suggest me how to move TBS from one disk group to another disk grup without shutting down the instance.
    DB is in Noarchive mode.
    Thanks...

    user12039625 wrote:
    Hi Helios,
    Thanks for doc id but I am looking for noarchive mode solution. becaues I got ORA-
    "ORA-01145: offline immediate disallowed unless media recovery enabled " when run alter database datafile '...' offline.
    Hence I am trying something and findout below steps but not sure how useful it is:
    1- put tablespace offine
    2- Copy the file to new diskgroup using Either RMAN or DBMS_FILE_TRANSFER.
    3- Rename the file to point to new location.
    4- Recover the file.
    5- Bring the file online.
    I had move 240M TBS from OLE to NEW.
    These steps run successfully so I think this is valid for noarchive mode.Hence want to confirm..so inform me please.
    Thanks :)I have doubt in my mind:
    1. You database is in noarchivelog mode
    2. You're taking tablespace offline
    3. Suppose you're moving a file of size 10GB(or any larger filesize) to another disk group
    4. Now after moving the file, you're trying to bring the tablespace online............NOW
    tablespace will need recovery. if the required data is inside the SGA then it is ok. But if the data has been flushed, then?
    if step 2 and 3 has taken significant time, then most probably you'll not be able to bring that tablespace online.
    Regards,
    S.K.

  • Backup/restore tablespaces in noarchivelog mode

    In our office there is a oracle 10g box that's used for testing purposes.
    It's only got 1 database, but each user has their own tablespace.
    As it's not a 'live' box, archivelog and flashrecovery have been disabled by the dba probably in favour of speed.
    I have a NUnit test suit that runs across a tablespace, and I am trying to restore the tablespace before each run.
    In noarchivelog mode, RMAN allows me to take the tablespace offline, and create a backup - so far so good.
    Later on, I am able to take the tablespace offline again, and issue a "RESTORE TABLESPACE" command.
    But then I cannot bring the tablespace online without issuing a "RECOVER" command.
    I have tried the NOREDO option but it still says that the file needs a media recovery before it can be brought online.
    Is there a way to bring the tablespace online without applying the REDO logs ?
    Or is tablespace backup/restore not possible because of noarchivelog ?
    Thanks.

    I tried the TTS method, and it was only marginally quicker than a data_only impdp.
    I suspect this is due to the nature of a fresh nunit test database, where the metadata (huge tables structure, stored proc, etc) is often larger than the table contents itself.
    In the grand scheme of things it might even end up slower, as i need to drop the tablespace including contents if i want to use TTS to load up the backed up dbf.
    From the comments I'm guessing that there's no way of just updating the timestamp of the tablespace without applying the REDO logs then ?
    I've tested other methods as well.
    Flash recovery could only work on a table or db level, I can't take the db offline as there are other users on it with their own tablespace/schemas. (it was an old dev's box, we're reusing what we can)
    impdb with the truncate and data_only flag seems to be the only viable option so far, with TTS up for consideration.

  • Taking the datafile offline when the database is in NOARCHIVELOG mode

    My question is when the database is in No Archive log mode i'm not able to take the datafile offline.
    When i tried in my computer i have noticed fallowing.
    case1:
    SYS>alter database datafile 5 offline;
    ERROR at line1;
    ORA-01145:offline immediate disallowed unless media recovery enabled.
    case 2:
    SYS>alter database datafile 5 offline immediate;
    ERROR at line 1;
    ORA-00933:SQL command not properly ended
    case3:
    I have tried the command alter database datafile 6 offline drop; (in NOARCHIVELOG mode) and it is showing the same effect as alter database datafile 6 offline; ( in ARCHIVELOG mode).
    *In the NOARCHIVELOG mode are we really dropping the datafile to take the datafile offline? Will you please tell me the effect of keyword drop.

    JohnWatson wrote:
    You've marked your question answered - was that a mistake?
    The answer is that you cannot directly take a datafile offline in noarchivelog mode. You must take the tablespace offline:
    Hmm, are you certain about that? Perhaps I'm missing something.
    SQL> select file_id, file_name, online_status, status from dba_data_files where tablespace_name = 'USERS';
       FILE_ID FILE_NAME                                          ONLINE_ STATUS
             4 /u01/app/oracle/oradata/TEST/users01.dbf           ONLINE  AVAILABLE
    SQL> select log_mode from v$database;
    LOG_MODE
    NOARCHIVELOG
    SQL> alter database datafile 4 offline drop;
    Database altered.
    SQL> select file_id, file_name, online_status, status from dba_data_files where tablespace_name = 'USERS';
       FILE_ID FILE_NAME                                          ONLINE_ STATUS
             4 /u01/app/oracle/oradata/TEST/users01.dbf           RECOVER AVAILABLE
    SQL>  ALTER SYSTEM FLUSH BUFFER_CACHE;  <-- may not have been necessary
    System altered.
    SQL> select count(*) from scott.emp;
    select count(*) from scott.emp
    ERROR at line 1:
    ORA-00376: file 4 cannot be read at this time
    ORA-01110: data file 4: '/u01/app/oracle/oradata/TEST/users01.dbf'
    SQL> recover datafile 4;
    Media recovery complete.
    SQL> select file_id, file_name, online_status, status from dba_data_files where tablespace_name = 'USERS';
       FILE_ID FILE_NAME                                          ONLINE_ STATUS
             4 /u01/app/oracle/oradata/TEST/users01.dbf           OFFLINE AVAILABLE
    SQL> alter database datafile 4 online;
    Database altered.
    SQL> select file_id, file_name, online_status, status from dba_data_files where tablespace_name = 'USERS';
       FILE_ID FILE_NAME                                          ONLINE_ STATUS
             4 /u01/app/oracle/oradata/TEST/users01.dbf           ONLINE  AVAILABLE
    SQL> select count(*) from scott.emp;
      COUNT(*)
            14
    Also, please see the following link from the manual which discusses altering data file availability in noarchivelog mode.
    Altering Datafile Availability

  • Drop Normal Tablespace Taking several hours

    Hi,
    In my 1TB database there is one tablespace size (38.5 GB / used 4 GB) which we used for objects backup purpose and i am trying to drop this tablespace using every option like bring tablespace offline and drop with DROP TABLESPACE TBS_NAME INCLUDING CONTENTS AND DATAFILES CASCADE CONSTRAINTS
    but Drop Tablespace Taking several hours (24 + hrs)
    I tried with drop objects from the tablespace but that is also taking lot of time to drop and then i tried to drop empty tablespace and again it is taking several hours.
    Database version :- 10.2.0.3 and 10.2.0.4
    Operation System Version :- Solaris 5.10
    ERP 11.5.10
    Please suggest what could be the problem.

    So, till now you have done these steps,
    1) dropped all database objects from that tablespace. Checked if any objects are there in this tablespace and there were none
    2) take tbs offline
    3) drop tablespace
    4) While drop tablespace command is hanging, monitored segments in the tbs from another session. Segments were reducing very slowly
    Out of first 3 steps, which step took longer? drop tablespace ?
    Logically, when you are able to drop objects, then there should be no issue of locks or anything like that.
    Dictionary updates should not take 24 hours!!!
    What else is going on, on the disk/file-system where this tbs is housed?
    Do you have all locally managed tablespaces?

  • Is it OK to Switching Undo Tablespaces without DB stop ?

    We use Oracle11g R2.
    I read Oracle Doc and It looks OK.
    But, how could I make sure UNDO tablespace mode(ONLINE,PENDING OFFLINE) ?
    Switching Undo Tablespaces
    You can switch from using one undo tablespace to another. Because the UNDO_TABLESPACE initialization parameter is a dynamic parameter, the ALTER SYSTEM SET statement can be used to assign a new undo tablespace.
    The following statement switches to a new undo tablespace:
    ALTER SYSTEM SET UNDO_TABLESPACE = undotbs_02; 
    Assuming undotbs_01 is the current undo tablespace, after this command successfully executes, the instance uses undotbs_02 in place of undotbs_01 as its undo tablespace.
    If any of the following conditions exist for the tablespace being switched to, an error is reported and no switching occurs:
      The tablespace does not exist
      The tablespace is not an undo tablespace
      The tablespace is already being used by another instance (in an Oracle RAC environment only)
    The database is online while the switch operation is performed, and user transactions can be executed while this command is being executed. When the switch operation completes successfully, all transactions started after the switch operation began are assigned to transaction tables in the new undo tablespace.
    The switch operation does not wait for transactions in the old undo tablespace to commit. If there are any pending transactions in the old undo tablespace, the old undo tablespace enters into a PENDING OFFLINE mode (status). In this mode, existing transactions can continue to execute, but undo records for new user transactions cannot be stored in this undo tablespace.
    An undo tablespace can exist in this PENDING OFFLINE mode, even after the switch operation completes successfully. A PENDING OFFLINE undo tablespace cannot be used by another instance, nor can it be dropped. Eventually, after all active transactions have committed, the undo tablespace automatically goes from the PENDING OFFLINE mode to the OFFLINE mode. From then on, the undo tablespace is available for other instances (in an Oracle Real Application Cluster environment).

    After you switch the UNDO_TABLESPACE parameter to the new tablespace, at the minimum, you have to wait for active transactions to complete (commit/rollback) before you can take the old Undo Tablespace offline.  Note that if you take the old Undo Tablespace  offline too quickly, you may prevent long running queries from reading from the old Undo Tablespace and may cause them to error with ORA-01555.  So you need to wait a reasonable time (e.g look at MAXQUERYLEN in V$UNDOSTAT) before you take the old Undo Tablespace offline.
    Hemant K Chitale

Maybe you are looking for

  • How do i switch ipod/itunes account to new computer

    how doi switch my ipod and itunes account to a new computer

  • How to create custom template for webcenter portal application

    Hi, I created webcenter portal application in my jdev using the webcenter portal application template provided by the webcenter framework. I tried to create custom template for my application by following steps: 1. Created new application using webce

  • Grouping with 2 date in sql server

    totle_count          dt          name    program_id 1   1/3/2015   Tea 14 1   1/5/2015   Tea 14 1   1/6/2015   Lunch 13 17 1/6/2015   Tea 14 2 1/9/2015   Breakfast 1008 39 1/10/2015   Breakfast 1008 4 1/19/2015   Breakfast 1008 1 1/19/2015   Dinner 1

  • Is it possible to automatically select all a filters parameters to publish?

    Many filters have numerous parameters and selecting them all manually  is very time consuming and I find that some can be overlooked accidentally. So is there any way to simply select everything to publish?

  • Display entries in the table.

    I have created a table where i have selected 'Table Maintenance not allowed' option and I am trying to insert a record in the same table. Sy-subrc value is zero. I have given 'commit work' still I could not see the record in the table. Is the 'Table