Client deletion  & reorganization

Dear all,
we have 3 clients in sandbox server . i want to delete the client and how can i use the deleted Client space .
kindly suggest
Regards

Hello,
Indexes can be rebuild online via the ABAP program RSANAORA.
Select the option "Index".
Select the option "Alter Index Rebuild Online".
In Object fill in all your index names.
I always create the index list as follows:
Start tcode DB02OLD.
Use "Detailed analysis".
Object type : INDEX
Eventually also select the tablespace : PSAPSR3, PSAPSRUSR
Press ENTER
Afterwards download the list of indexes and sort them from smallest to largest.
After that you can copy the index names in the object field of program RSANAORA and run the program.
After the rebuild of the indexes you will see that index quality improves a lot, as well as overall DB performance.
After a client delete/copy where you modify a lot of data I also recommend you run a full DB statistics run.
Success.
Wim

Similar Messages

  • 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

  • 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

  • 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 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

  • 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 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 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

  • Client Deletion

    Hi
    After performing client deletion, how to do "reorg database to recover database space"? Kindly  let me know the steps to proceed further...
    Environment
    SAP 4.6C
    Oracle 10G
    Windows 2003 X64
    Thanks & Regards
    Prakash.P

    seems to be helpful for you
    Oracle Database Reorganization

  • Long running client deletion

       Hello all
    How can I speed up the removal of the big productive client?
    I use:
    1) No Archive log mode
    2) Parralel processing
    I reran the removal of 4 times. Total removed about 500 million entires from 1 200 billion
    There are very few tables, but I think it is a large tables
    Please,see part of the client deletion information.
    Current Action:   
    Copy/Delete Tables
    Process
    Server
    Table            
    Time
    MVKE             
    15:46:36
    00002 
    CDCLS            
    16:28:49
    00004 
    BDCP2            
    16:25:52
    00005 
    MARC             
    15:48:07
    00007 
    CKMLPR           
    16:09:21
    00008 
    MSTA             
    15:46:41
    00009 
    FAGLFLEXA        
    15:36:21
    00010 
    FAGL_SPLINFO     
    15:33:26
    00011 
    MOFF             
    15:46:17
    00014 
    MBEWH            
    16:30:05
    00016 
    CDHDR            
    16:28:52
    Statistics for this Run
    - No. of Tables       
    65979 of
    66248
    - Number of Exceptions    
    3
    - Deleted Lines    
    62747951
    Sm66:
    SAPLSCCR Direct Read MSTA
    SAPLSCCR Direct Read CDHDR
    SAPLSCCR Direct Read CKMLPR
    SAPLSCCR Direct Read MOFF
    SAPLSCCR Direct Read MBEWH
    SAPLSCCR Direct Read BDCP2
    SAPLSCCR Direct Read MARC
    SAPLSCCR Direct Read FAGLFLEXA
    SAPLSCCR Direct Read CDCLS
    SAPLSCCR Direct Read FAGL_SPLIN
    SAPLSCCR Direct Read MVKE
    Only direct read, and nothing else.

    Ouu, truncate?Please,tell me more about this..
    Long story. Just need a copy of the productive system without application data. Only customizing.
    I created new client in the system and copied customizing from PRD client(SCCL), but i need also delete productive client from system,.,Only client with cust

  • Stop and Resume client deletion

    Hi all,
    I have a strange requirement here, I am planning to execute client deletion using parallel processing.  I will be executing the deletion during weekends Saturday & Sunday. In case, if the deletion still continue on Monday morining, I want to cancel the deletion ( Logically STOP) and resume in next weekend..
    Since, client deletion will resume from the point where it stopped, i would like to know the standard procedure of cancelling the deletion job. Does SCC5 or SCC3 provides any option to STOP the active jobs? If not, which is the correct way to stop the active deletion process?
    Please share your experience & thoughts on this line.
    regards,
    VInodh.

    Hi Vinodh,
    Set a background job for client deletion using transaction SCC5 and stop the active job when you want to....using SM37>Job>Cancel active job ....At this time the client is almost completely deleted. If you need to, you can restart the deletion. Because the users must have been deleted at this point, log on as user SAP* and use the initial password PASS and continue with client deletion.
    Award points accordingly,
    Regards,
    Raju.

  • 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

  • Client deletion answers

    Hi experts,
    in my system I have two client (440, 460).
    Now i need to perform the 440 client deletion. I see that in my system the are some cross-client tables (without MANDT in key).
    According to you the client deletion impact on those tables contents (tables will be deleted)?
    THANKS

    Hi,
    The same data that would have been created for a client copy,
    is the same data that would be deleted during a client delete.
    (i.e. no cross client data should be deleted)
    Kind Regards,
    Chris

Maybe you are looking for

  • Mail on iOS 5 and iCloud sync (Mails are not marked as read when I read them on my MacBook)

    Hello everyone, I am an iOS 5 and OS X Lion User in Germany and I have following question concering Mail on iOS 5 and iCloud. I have a MacBook Pro 13" with OS X Lion 10.7.2 and an iPhone 4 with iOS 5. I also have an iCloud account (I switched yesterd

  • Logical port could not be determined

    I try to send a WS RM Message from XI server to ABAP system. I get error :" Error while determining the logical port" Please suggest where is entry for logical port?

  • Process Flow in a distributed environment (OWB 9.0.4)

    Consider the following architeture: - ServerA in location1 is a Warehouse target - ServerB in location2 is a Warehouse target In this environment I want to do the following: 1) Extract some data from a sourcde system into a staging area on ServerA, a

  • New with questions

    This is my first post.  Bought a Curve 8530 yesterday.  My first ever BlackBerry. Lovin the phone.  Got 2 things I would love to understand. 1)  All my contacts are in Windows Contacts.  How can I sync them to my phone with Vista? 2)  Is there a way

  • Address Book doesn't sync new entries with iCloud

    New entries in the Address Book on my MacBook Pro do not show up on my iPhone and iPad. Changes to existing contacts do! Who understands what's going on and what to do to remedy this?