Client  deletion Problem - Urjent..

Hi Experts,
There is an existing DEV-QA-PRD environment. There is a need to have a complete Configuration copy of PRD in DEV2 system, which will be used to build another Production Stream (DEV2, QA2, PRD2) for another project.
When we are deleting client ,below  Problems we have facing :
1) Production equivalent client (4 TB of data) is taking too much time while deleting tables (step 4 in the diagram below).
2) Of the total 34,882 tables, 34,855 tables took almost 7-8 days to delete.
3) Last 30-35 tables are taking a lot of time to delete, these are probably the largest tables in the system
4) Tables EDIDS and CDCLS are currently being deleted for the last 3-4 days
5) Adding more processes to the Dev2 system is not helping either.
6) At the current rate, these tables will take another 1.5-2 weeks, which seems to be a long time
7) Some more tables which took more time were SWWLOGHIST, IDOCREL, SRRELROLES
Other information:
1) Operating System used  for the ECC 5.0 is: Tru64 / HP, Oracle 9i DB (List of Service packs and Patches are attached)
2) Production system has data worth approx. 4TB
3) No Data Archiving has been done since the inception of the system
I need your Suggestions and Comments on this ---its urjent
Points will rewarded for suitable answers
Regards
Prabhu

Hi Prabhakar
Any other comments Plz...
Ok, you wanted it )) here is mine
so far:
- you copied your huge database (where you don't delete / archive old data) to the new server
- you are now deleting row by row all that data
- you will end up having a still huge but empty database, because the tables / tablespaces won't shrink after the client deletion
This does not make any sense to me, am i missing something :(((
Are there other clients in the prod system, which you keep?
@ Markus: i don't think they have 100+ gb memory to cache their huge tables in the sga
I guess the client deletion has something like a MAX ROWS COMMIT limit to prevent undo overflow. If this number is for example 100'000 rows, then you have to execute 100 delete statements (-> 100 full scans) on a 10mio row table. This of course is taking ages. Even worse it gets slower and slower, because the first delete up to 100'000 rows gets the first blocks, the second scans the same blocks, but they are empty now, so it has to scan further, and so on...
Best regards
Michael
Update: i recall there was a sap note somewhere, i just checked, here it is:
365304 - CC-ADMIN: Reports for deleting tables
Edited by: mho on Jan 8, 2008 2:40 PM

Similar Messages

  • Client Deletion Status | CANCELLED

    hi all
    maybe someone has experienced this problem, a little assistance please
    TIA
    Client to be Deleted
    600
    Copy Type
    Delete Complete Client
    Status
    Cancelled
    User
    SAP*
    Start on
    06.11.2009 / 13:48:31
    Last Entry on
    06.11.2009 / 13:57:39
    Last Action:
    Copy/Delete Tables
    -  Table Being Edited:
    BFOD_A
    Statistics for this Run
    - No. of Tables
    6707 of     54438
    - Number of Exceptions
    11
    - Deleted Lines
    0
    Check System Log (SM21)

    Hi,
    First clarify:
    Are you able to login into client 600?
    Do you want to login into 600, already deleted client?
    do you want the root cause, why this was cancelled?
    What wil happen if it cancelled in between?
    I would suggest you to have a brief detail about Client deletion in client maintanance.
    Regards
    Nick Loy

  • Client deletion failed

    Hi All,
    I have started deleting a client using scc5. I have done it in dialog mode. After 3 hours it throwed me an error saying that client deletion is failed and restart is required. So, I logged off from the client and tried to login. I could able to login to the client but I could not go to any transactions. It is giving me an authorization error when I enter any transaction. I checked in sm21 in other client, but there was no errors. What could be the reson for this and how can I start deleting the client again now. Could you please suggest.
    Thanks & Regards,
    Sundara.

    Any suggestions?
    Give us description of the problem and the factors or "players" involved.  
    You say MAC.  So only MAC?  How about other types of wireless clients of different OS?  How about smart phones/tablets? 
    Most common Wifi issues
    Fix Wi-Fi Problems in OS X Yosemite

  • ERP Package for client deletion

    Hi experts,
    I have a problem when I do the client deletion using the process type"ERP Package for client deletion".
    After the first time execution of deleting the datas of table TD09P_*...,
    I received the follows below.
    State of sub-activity  State Sub-activities
    Aborted                                  5
    Completed successfully              10,203
    Completed with warning                   0
    Completed with error                     0
    Running (In process)                     0
    Not yet started                          0
    There are 5 aborted jobs
    (TD09P_T313I
    TD09P_T313J
    TD09P_T313K
    TD09P_T313L
    TD09P_T313LD).
    I checked the logs, which said all these 5 like this:
    Message text
    Job started
    Step 001 started (program /TDM/9_300_90007_02208_C, variant &0000000000007, user ID LEEE03)
    Error while reading cluster CNVMBTCLU, Key 0144703489
    Job cancelled
    I searched in note1175565 and found that it was fixed since I have updated to sp11 already.
    Also I tried to re-run the cancelled jobs manually using sm37, the error is like this:
    Job started
    Step 001 started (program /TDM/9_300_90007_02208_C, variant &0000000000007, user ID LEEE03)
    Session ID C1290007000000000010 is not valid
    Job cancelled
    according to these above, could anyone tell me the reason?
    Thanks& Best Regards,
    Eric

    Hi
    I had the exact same issue, and what i have found was that the tool drop all the authorization data and if you had specified a cust profile that handle the RFC authorization then the RFC connection to the receiver system then no longer works.
    The way I managed to solve the issue was to change the SAP_TDMS_MASTER role and added in object S_RFCACL with all permissions and generated and activated it.
    This allowed the RFC to work again and then you could restart the process from the central system
    Regards
    Alex Tender

  • OPSI setting remain as ABAP code after client deletion

    Hi all,
    I'm just wondering if anyone face this problem before:
    1. I've created some test data in OPSI (validations of project system) in a test client (eg: 201)
    2. I perform client deletion on 201 and client copy from PRD to 201
    3. If I check the include statement, the test data still exist as ABAP code (and will generate an abap runtime error). However, if I go to OPSI, the test data no longer not exist.
    4. If I re-create the test data in OPSI, then this problem is solved.
    Regards.

    THere is nothign to worry about it. It is std.behaviour. Wheneven you trasport or Copy client with refrence to Validation. Even though validation is in place in congiuration but system not read that validation and behave as per last config of validation.
    You need to correct the same manually by Validation menu--> Simulate function, This will internally generate ABAP code according to your currnet validation. After that your system will behave correctly according to currnet config of validation.
    With regards
    Nitin p.

  • Problem Syncing Outlook....says outlook sync client encountered problem

    I have been syncing outlook calendar and contacts from my PC to my iPhone with no problems. I have version 1.1.2 on my iPhone and 7.5 or whatever the latest is on iTunes software. The syncs were fine until recently and now I cant sync and get an error message that says "outlook sync client encountered problem" What could possibly have happened....I read some posts that say to go back to iTunes 7.3 etc....this has to be a common problem....any suggestions.

    Here is an article from the apple support website that might help out.
    http://docs.info.apple.com/article.html?artnum=305845

  • Two Related (?) file deleting problems in Finder and Time Machnine

    My internal drive is partition into two volumes. In the second one (the "non-boot" one), I was have trouble putting files in the trash that were locked. As I was tracking that down I coincidentally(?) started having another problem.
    I started getting a message that the files being put into the trash must be deleted immediately. I check permissions and I had read/write Privileges in the user account I'm normally logged into. However, If I logged into my administrator account, I could put things in the trash without deleting them. I noticed that ignore ownerships wasn't checked, so I checked that.
    That allowed my to put files into the trash without immediately deleting them. I went ahead and deleted the files I wanted to get rid of. However, I'm wondering if there was another issue because I am lead to understand that the ownership privileges shouldn't have necessitated checking "ignore ownerships"?
    Also, I had trouble deleting the backups of those files and folders in time machine. I can delete most of it. But for one folder (and all the folders in which it resides in the hierarchy) I can't deleted it. I tell it to delete backups of that folder (or folders it is in), I put in the password, and goes "ding". But nothing disappears...
    (After I wrote this, I tried unchecking "ignore ownerships" and the problem did not reappear. I can still put files in the trash without the immediate deletion problem.)
    Message was edited by: davidpsummers
    Message was edited by: davidpsummers

    Pondini wrote:
    davidpsummers wrote:
    Also, I had trouble deleting the backups of those files and folders in time machine. I can delete most of it. But for one folder (and all the folders in which it resides in the hierarchy) I can't deleted it. I tell it to delete backups of that folder (or folders it is in), I put in the password, and goes "ding". But nothing disappears...
    Are you doing that via the Finder or Terminal? If so, that's not the way to delete backups. See #12 in [Time Machine - Frequently Asked Questions|http://web.me.com/pondini/Time_Machine/FAQ.html] (or use the link in *User Tips* at the top of the +Time Machine+ forum).
    And now I'm getting an error in time machine. "Files can't be copied onto the backup disk because it appears to be "read only"". I do get info on the disk, and my account has Read & Write privleges, but it say "You can only read" above that".
    The Finder or Terminal deletions may have corrupted your backups. Repair them, per #A5 in [Time Machine - Troubleshooting|http://web.me.com/pondini/Time_Machine/Troubleshooting.html] (or use the link in *User Tips* at the top of the +Time Machine+ forum).
    Message was edited by: Pondini
    I'm doing the deletion through Time Machine (I go into Time Machine, find the folder in the backup, and ask Time machine to delete all backups of that folder).
    I did find the tip of unmounting the disk, rebooting, and remounting it. That Stopped messages about the disk being read only. However, the folder still doesn't delete. I'm also a bit worried about these being symptoms of some other problem...
    Message was edited by: davidpsummers

  • Client deletion taking long time....

    Hi All,
    I have been going through tough times in SAP ECC right now.
    I am doing a client deletion using SCC5. Total entries in tables were 58514.
    It was going fine till it reached 58504. From then onwards, the tables SAP is deleting are having crores of entries, which is why it is taking time.
    My question here is, Is their any way by which we can delete the entries fast?
    Like from Database level. Database iam having is Oracle. Can we run any sql delete command to delete entries from backend while SAP client deletion is in progress.
    Its been 3 days since i have started client deletion and it is very frustrating now.
    Could anyone of you please help me with this?

    Hi,
    Thank u all for helping me out....
    Well i am done with Client deletion....I deleted the entries from SQL level.
    My client deletion is completed but with dictionary errors.
    There are around 3-4 tables in which maximum of 100 entries are still remaining.
    Now my doubt is whether i should go ahead with client copy or not?
    If yes, please assist me with steps before starting copy, so that it doesnot take much time similar to client deletion (6 days)..
    Regards,
    Vikram

  • Table space and recollection of released space after client deletion

    Dear All,
    I have two questions:
    1.Can any1 tell me how to determine the fastest growing table and how to reorganize table space.
    2. Is there any way by which we can recollect the space released:say after client deletion. I had deleted one client two  weeks back and when I saw the SAP/user drive I fow free space available remains the same.
    I searched but found no relevant clue.
    regards,
    Ashutosh

    1.- You can see the largest table report in ST04 (as far as i remember)...
    2.- You can reorganize your db using brtools - brspace...
    Read,
    http://help.sap.com/saphelp_erp2004/helpdata/en/32/0d0c888839164ba4245b3ff7969c59/frameset.htm
    Regards
    Juan

  • FREE SPACE COLLECTION AFTER CLIENT DELETION

    Hi,
    I delete a client but there is no effect on the database size.... means all the table space are having the same size as before client deletion...
    What to do... to recollect all the free space after client deletion...???
    Regards,
    Neehir Bhatt

    Hi,
    Use brtools to reduce the tablespace size.
    http://help.sap.com/saphelp_nw04/helpdata/en/a7/8db6c2ebc5384eb82e5f99e49600d6/content.htm
    Regards
    Ben

  • Client Deletion Takes long time

    Hi All,
    Need help, Every month in our quality system we do client refresh so we delete existing data from quality and take export from production and Import into quality.Client Import takes 15 hrs but to delete client  it almost takes 36 hrs. There are PCL4/2/1 tables which takes more time to delete the data even not sure they will delete all the data.Looks like these are cluster tables so what can be do to have more optimize client deletion.
    To delete client from OS level is is safer side?  What can be other ways...?

    Hi
    PCL4 is not a cluster, at least on Ehp6 at DB level it is a transparent table, that means that the table does exist at both SAP & DB level.
    There is a way to process deletion faster, at least for Oracle (but it could also work for other DB)
    Create a new temporary table table with a CTAS command (copy table as select) to only include the data for the clients you want to keep.
    You can then drop the original table and rename the temporary table to the original name.
    Watch out CTAS does not copy indexes, constraints and default values.
    If you are using Oracle DB datapump query parameter can be the best option.
    You could export the data for the client you want to keep (setting a "query" option like query=" where MANDT in ('200', '300')") , truncate the table and import back the data.
    The point here is that copying / inserting new records is faster than deleting.
    Regards

  • Client deletion and reorganise

    Is there any impacts to delete client with scc5 and T000 values? i want to delete 8 clients at a time from my test system. how can i reorganize database? can i delete directly with scc5 or any thing i could do? can i delete logical systems and rfc connections before going to delete clients? how can i delete these clients without side effects.
    Thanks.

    Client deletion should not be an issue,u can do it with SCC5 just delete all the RFC's and logical connections prior deleting them.there are no sideeffects as such
    use this method:
    log into the client to delete 
    2. go into SCC5 and delete client 
    3. log into another client and delete entry with SCC4 
    u cal also delete the client from database but this is better option,use it
    for database reorganization you can use BRTOOLS i.e BRSAPCE
    check out the following link for more info.
    http://help.sap.com/saphelp_erp2004/helpdata/EN/32/0d0c888839164ba4245b3ff7969c59/content.htm
    Rohit

  • Client deletion good practices

    Good morning everyone,
    I am after "best practices" when deleting a client.
    I am not planning on re-using some of the deleted clients and want to make sure the landscape is cleaned up where possible with reference to these clients.
    I am especially after anything that would take up space at the OS or database level that would not necessarly be cleaned up via SCC5.
    Has anyone got recomendations on what can and should be cleaned up before and after a client deletion?
    For example I have cleaned up WE20-WE21, the RFC...
    The logs are still there under SCC3, usefull for historical purposes, but really should they been retained?
    Thank you
    Coco

    Hello
    You need to clean up all client dependent transport request Also you need to clean up the queues which are client dependent
    thanks
    atul

  • Client Deletion, Transaction log getting full.

    Hi Gurus,
    We are trying to delete a client by running:
    clientremove
    client = 200 (*200 being the client we want to remove)
    select *
    The transaction log disk space allocated is 50GB, it is getting full (in simple mode) and client deletion never completes. The size of the table it is accessing is 86 GB, and i think 200 client will be occupying around 40-45GB. Client 200 has 15.5 million rows in the table.
    I am i giving proper command ?is there any explicit commit  i can include or any  workaround for deleting the client and not hammer the log file.
    Thanks guys
    Edited by: SAP_SQLDBA on Jan 22, 2010 6:51 PM

    Hi,
    Backup the active transaction log file and Shrink the file directly.
    Please refer the following SAP Notes to get more information.
    [  Note 625546 - Size of transaction log file is too big|https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=625546]
    [  Note 421644 - SQL error 9002: The transaction log is full|https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=421644]
    Which version of SQL Server u are using ? SP Level ?
    Frequently perform Transaction Log backup (BACKUP TRANS) to remove inactive space within the Transaction Log Files.
    Please refer  [Note 307911 - Transaction Log Filling Up in SQL Server 7.0|https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=307911] to get more information about the reasons for such kind of situation.
    Regards,
    Bhavik G. Shroff

  • Space Reorganization after client delete.

    Hi Gurus,
          I have a doubt in reorganization of  space after client delete.
           I have created a client and the client copy(local) was done successful. Now i want to delete the client and want to clear  the space occupied by  the new client (approx 2 GB) . Can u help me how to empty the space occupied by this client.
         My environment..IDES 4.7 . Win 2k. Oracle database.
    Thanks in Advance,
    Sachin.

    Hi
    Sachin.
    Inorder to delete the client login to the particular client say like ex: 300
    execute from the functions or SCC5.
    Select if u want to delete it from the entry of table T000, schedule it immediately or background, Whenever it is deleted the space is not automatically freed from the database although these areas can be filled up with new data.
    When a client is deleted and created again, the space which is freed can be filled up with new data.
    To immediately restore the free space perform the database reorganization, this is recommended when ur client is having a large amount of database.
    For ur case the client is of size 2GB,  the new data can reuse the free space of the deleted  client,
    Checking the space management, current sizes,space statistics etc., Goto the Database performance or Tcode DB02 check the Date/Time analysis when it has done, Else do refresh so that a dialog box is opened and prompts u to select
    1. Perform the database checks
    2. DB checks and update statistics
    Select the 2 option so that it will reorganize the database.
    Regards
    Bhaskar
    Edited by: bhaskar1818 on Jun 3, 2008 10:15 AM

Maybe you are looking for

  • Breaking up data in a remote object

    Currently I have a chart that gets its data using a remote object connection. The chart currently shows a months worth of data. Now I need to break that monthly data into weekly data. The customer would rather have the data spread acroos four weekly

  • True Widescreen Video on iPod Classic

    Hi there, I have a new iPod classic and I've just put some videos on it. They are widescreen videos and they even show up as widescreen pics on their little thumbnails in the iPod's list of videos. However when I play them they are stretched to fit t

  • Creative ways to use Remote

    Is there some software that allows one to use the MacBook Pro remote in more creative ways other than with Front Row? For instance, how about using it to snap pictures?

  • When inputing the time, my calendar always changes the end time to a "one-hour" segment, how do I change this?

    Trying to set up appointments on my calendar. When I input the time, the calendar defaults to a "one-hour" segment. How do I fix this?

  • Java swing background?

    am making a java program which will output a binary number, howeva i want to replace the 1 n 0 in the binary string with graphics.. e.g. an england flag will represent 1 and france flag will represent a 0.... all help is appreciated thank you