Reduce Size or delete unwanted entries from tables AllDocStreams,AllDocVersions,EventCache,EventLog of Sharepoint 2010 content database
Size or delete unwanted entries from tables AllDocStreams,AllDocVersions,EventCache,EventLog of Sharepoint 2010 content database:
We using powershell scripts to migrate data between two sharepoint 2010 sites .
While doing migration we delete all document libraries & list form destination site and then run powershell to migrate data from source to destination. We following this process
twice in a week.
But in doing so we found the above mention tables (AllDocStreams,AllDocVersions,EventCache,EventLog ) of destination Sharepoint Content database are growing at an alarming rate.
Wish to know how could get rid of unwanted data stored in these tables.
Hi,
This is old thread but here is your answer for some of the tables you mentioned
http://blogs.msdn.com/b/sowmyancs/archive/2012/06/29/alldocversions-amp-alldocstreams-table-size-after-upgrading-to-sharepoint-2010.aspx
Cheers
Similar Messages
-
Delete an entry from table T527X.
Hello Gurus,
How can we delete an entry from table T527X from se11/se16? Or is there any other transaction by which we can delete this entry? I can not delete the org unit as this org unit is not having any name and the ID is: 00000000. I created this entry using SE11 -> utilities -> Create entry.
Thanks,
Chakri.When you say select the entry or you double clicking?
You can try this.. simply select the check box against that entr in the displayed list and then use the menu option Table Entry--> Delete
Other than, this I can't think of another option.. ofcourse you can always have a simple custom program with a couple of lines of code to delete a table entry.
~Suresh -
I cannot delete multiple entries from table
Hi
i am trying to delete multiple entries from table while keeping some data.
for example I have the following table
Plant Item
US101 777
US101 888
US101 999
US101 666
I want to keep the rows where the item is 777 and 888 for plant US101 and keep delete the rest data
I wrote the following code
Delete source_package where Plant = 'US101' and Item NE '777' or '888'.
but all the rows get deleted.
I tried deleting single row and it worked.
Delete source_package where Plant = 'US101' and Item NE '777' .
How can I delete multiple rows.
thanksHi Bhat Vaidya,
Plz refer the following code.. IT will solve ur problem..
REPORT ZSDN_TEST.
data: BEGIN OF it_data OCCURS 10,
plant(4),
item_num TYPE string,
END OF it_data.
data: str type string.
data: it_final like it_data OCCURS 10 WITH HEADER LINE.
it_data-plant = 'US01'. it_Data-item_num = 777. append it_data.
it_data-plant = 'US01'. it_Data-item_num = 888. append it_data.
it_data-plant = 'US01'. it_Data-item_num = 999. append it_data.
it_data-plant = 'US01'. it_Data-item_num = 666. append it_data.
delete it_data where plant = 'US01' and item_num ne 777 and item_num ne 888.
LOOP AT it_data.
write:it_data-plant,it_data-item_num.
skip.
ENDLOOP.
Regards,
Apoorv -
How to delete an entry from table pat10(standard sap)
hi experts!!
how can i delete an entry in the database table pat10. This is a transparent table.
I need a solution quickly
Thanks
AnilHello,
Table PAT10 contains OCS semaphores. If there is any entry a transport is either about to be imported or the import process did abend.
You should contact your admins instead of deleting anything.
Regards,
Thomas -
SharePoint 2010 content database size issues alldocs streams
HI All,
We are planning to do migration from sharepoint 2010 to sharepoint 2013. our database team identified that "all docs streams" and "audit log table" using almost 300 gig
we dropped "audit log" table today almost 100 gig
but still "all doc streams" table size is almost 147 gig
how to handle this situation before migration?
do I need to migrate as it is or do I need to work on "all doc streams" table
hot to handle database size
which way you recommend ? what are the best practices
please see database table size
can any one please send me step by step implementation?
Thanks,
kumar
kkmFirst off, touching SharePoint database tables is completely unsupported.
http://support.microsoft.com/kb/841057
You shouldn't be making changes within the database at all and you're putting yourself out of support by doing so.
AllDocStreams is your data. You need to have users clean up data, or move Site Collections to new Content Databases if you feel you need to reduce the size of the table itself.
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
To delete multiple entries in table control in module pool
Hi,
Please help me out to know , <b>how to delete multiple entries from table control</b> when multiple lines in table control are selected.
Regards,
Irfan Hussainhai,
you can do it inthis way.
in the PAI event.
loop at <table control name>
module del_itab.
endloop.
in the nodule,write the folowing code.
if <tablecontrol>-fieldname = 'X'.
delete <tablecontrol-itab>
endif.
cheers -
Delete all entries from the following tables - Follow-up Activities (oracle)
Hello,
I performed a homogeneous system copy of our development BW system with the database (oracle 11.2.0.3) from the BW production system!
I already start the oracle database and the SAP system in the target system/server (development BW system) and I´m doing some follow-up activities. One of this activities is (at the system copy guide 6.2.3.2 Activities at Database Level) is to delete all entries from the following tables:
DBSTATHORA, DBSTAIHORA, DBSTATIORA, DBSTATTORA
I tried to delete them using SQL Plus:
sqlplus /nolog
SQL> connect /as sysdba
SQL> delete from DBSTATTORA;
delete from DBSTATTORA
ERROR at line 1:
ORA-00942: table or view does not exist
... and it show me that error message.
This is strange because when I go to transaction SE14 and check the DBSTATTORA I see that table exist and contain a lot of entries!
Why this is happened in SQL Plus!? I´m running the correct SQL statement for doing this type of task or not?
How can I delete the entries of that tables? Can I do that using the transaction SE14?
Can you help me please?
Thank you,
samid raifHello
sqlplus /nolog
SQL> connect /as sysdba
SQL> delete from DBSTATTORA;
delete from DBSTATTORA
ERROR at line 1:
ORA-00942: table or view does not exist
It doesn't surprise me as you are not mentioning the schema name here. Instead it should be
delete from SAPSR3.DBSTATTORA;
Assuming the schema owner is SAPSR3. if the owner is different then replace that with the correct one.
Regards
RB -
How can we delete wild card entry from table
how can we delete wild card entry from table
i want adjust the seeting for order type print out form
like in 0id2 i have specified ordertupe nad print form in pm module
but in oid3 fro palnner group if i make star it is not taking specific defiend fieldHi....
Follow these steps....
1. Goto se16 and enter ur table name.. press F7 you can get selection screen now press F8...
2. Click one perticuler record that u want to delete.. and press Change icon in App'toll bar...
3. enter ?H at command field and again press enter...
4. switch into classical debugger...
5. write CODE at field ... it will gives EDIT as value...
6. Change that EDIT into SHOW and press pencel icon just beside the SHOW...
7. Now press F8...
8. you can get delete option over there...
Thanks,
Naveen.I -
I deleted unwanted photos from my iPhoto library, emptied iPhoto trash & Finder trash... this did not free up disk space. please help!
I have a 15-inch MacBook Pro (Late 2011) with OS X Mavericks 10.9.5
Last week, my 500 GB Harddrive had 120 GB free space. I was feeling crumby and decided to make productive use of taking a day off to lounge around. I snuggled up with my laptop and dedicated hours to meticulously combing through my iPhoto Library. I had 13,000 pictures, and I got rid of those I didn't want. Having said "sayōnara" to about 6,500 pictures, I then emptied the iPhoto trash and the Finder trash. I took delight in the iconic paper crumpling sound of them vanishing into the digital void.
Everything seemed perfect: the photos I loved were still there, the photos I loathed were gone, both trashes were beautifully empty. Having thrown away all of those awful, boring, and unflattering images of poorly light lunches and selfies gone wrong, my iPhoto library was half the size as before! I felt renewed, a little lighter, somehow more free, and I expected my hard drive to be a bit different to.
I eagerly checked my storage stats. My heart sank to see that my 120 GB of free space, was still only 120 GB of free space. I restarted my MacBook; this did not help. I restarted it the next day; this also did not help. It's been 5 days and the hard drive still has 120 GB free space. This is not an emergency and it will probably be a good while before I clutter my laptop to the brim. Yet while I am glad I don't have to see cringeworthy pictures of my ex's unmentionables every time I'm showing off things I do want to remember, I'm still disappointed and now obsessed with solving this mystery.
What is going on? I don't see them, so where are they hiding? How do I get the free space I should have earned from throwing away 1,000's of photos?!Thank you, Terence!
Yes, I only emptied the trash when it was really full, once I waited until the trash cans contained 2,600 photos and then I emptied them - Oooops! In the future, I'll keep in mind your suggestion of deleting less than 100 photos at a time.
I downloaded the iPhoto Library Manager and used it to rebuild my iPhoto. After a few hours of rebuilding, it generated a new copy of my iPhoto Library. This versions was nearly identical to the original (it was missing 5 photos and was therefore only 5 mb smaller). I guess my Library wasn't defective.
I checked my storage stats, and interestingly, using iPhoto Library Manager did help with the problem that developed after I re-indexed my hard drive. My hard drive is able to properly recognize data categories again, instead of listing almost everything as "Other". Understandably, my free disk space changed from 120 GB to about 60 GB, because my hard drive now contained a second copy of my iPhoto Library as well as iPhoto Library Manager. It seemed like all I needed to do was throw these away, but when I emptied the trash, my problem was not solved. My Hard drive now looked like this:
It appears to me that when I empty the trash, the things I throw away are just hanging around as backups instead of leaving! I went into System Preferences and turned of my time machine OFF. Now my hard drive looks likes this:
The back ups of the iPhoto files, and the program which I deleted, are still on my hard drive some where but now they are listed as "Other" instead of "Backups". Do you know where they might be and how I can delete them for good? -
Deleting Duplicate entries from Internal tbale
Hi All,
I have used this code to delete duplicate entries from an internal table.
DELETE ADJACENT DUPLICATES FROM IT_KOSTL COMPARING KOSTL hours.
After this statment, still the internal table will remain with a duplicate row.
Earlier table content before the delete statement:
Lno KOSTL PRCTR hours hours1
1 2081010205 0000208101 5525.000 1574.500
2 2081010105 0000208101 105162.000 73854.750
3 2081010105 0000208101 105162.000 73854.750
4 2081010205 0000208101 5525.000 1574.500
The Table gets modified after execution of DELETE statement as follows.
Lno KOSTL PRCTR hours hours1
1 2081010205 0000208101 5525.000 1574.500
2 2081010105 0000208101 105162.000 73854.750
3 2081010205 0000208101 5525.000 1574.500
Why the line 3 is still present in the table?
I hope as per that syntax, this line too should get delete.... Is it right?
Basically i would like to delete both line 3 and line 4 from....
How to resolve this issue?
Please help me out....
Regards
Pavan
What might be the reason?>
Pavan Sanganal wrote:
> DELETE ADJACENT DUPLICATES FROM IT_KOSTL COMPARING KOSTL hours.
> Why the line 3 is still present in the table?
>
> I hope as per that syntax, this line too should get delete.... Is it right?
>
Let me answer you all doubts.
Why the line 3 is still present in the table?
Actually it's not 3rd line, it's 2nd line.3rd line were deleted.
when delete adjecent duplicates trigger than it would delete lower line(3rd in your case) not upper line.
I hope as per that syntax, this line too should get delete.... Is it right?
NO. -
Remove duplicate entry from table
Hello all,
In my one table
File Stage log (File_Stage_Log_ID int identity(1,1),File ID int ,Quarter_Date nvarchar(50),StageID int )
have done duplicate entry by mistake on similar quarter_date
something like ..
FILE_ID
Quarter
FILE_STAGE_LOG_ID
STAGE_ID
22401
Dec-13
233091
450
22401
Dec-13
244116
420
22401
Mar-14
233095
450
22401
Mar-14
237478
405
22401
Jun-14
237479
405
22401
Jun-14
233099
450
22401
Sep-14
233102
450
22401
Sep-14
237480
405
22401
Dec-14
237481
405
22401
Dec-14
227275
420
there are too many files which have the same duplicacy ..
now , above you can see that dec -13 quarter coming twice for a single file
tell me the way to delete one entry from the table for a files
so that i have output at the end like ...
FILE_ID
Quarter
FILE_STAGE_LOG_ID
STAGE_ID
22401
Dec-13
233091
450
22401
Mar-14
233095
450
22401
Jun-14
237479
405
22401
Sep-14
233102
450
22401
Dec-14
237481
405
Please help me with easiest possible way ..
Dilip Patil..How do you determine which one out of duplicate to be kept? As per output it doesnt follow any pattern
so it may be this
--DELETE t
SELECT *
FROM
SELECT ROW_NUMBER() OVER (PARTITION BY FILE_ID,Quarter_Date ORDER BY FILE_ID) AS Rn,*
FROM FileStageLog
)t
WHERE Rn >1
Run the select above to see records to be removed and once happy uncomment the delete, comment the select * and run the query to do the delete
If it doesnt give expected records, explain on what basis you want to identify records to be deleted
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
Deleting the values from table control
HI,
I need to remove the selected line from the Table control on my screen.
The point is that the Internal table does not have any records,.
for example in the Customer Create screen,
while entering the bank details we will enter it in a tbale contraol.
but the records doesnt exist in the database. but the record gets deleted from the table control only if we press delete button.
please guide me.
please note : I want to delete the record from Table Control on the screen and I dont have any corresponding database records..
regardsHi..
The solution to your problem - deleting values from table control.
Here: it_wizard is the internal table which is holding the value of table control.
wa_wizard is the work are of the internal table it_wizard.
it_delete is the internal table which holds the deleted record of table control.
wa_delete is the work area of the internal table it_delete
Also here the field ZSEL is the character field which is used to select the entire record in the table control.
LOOP AT it_wizard into wa_wizard WHERE zsel = 'X'.
MOVE-CORRESPONDING wa_wizard TO wa_delete.
APPEND wa_delete TO it_delete.
delete table it_wizard from wa_wizard.
DELETE FROM zfin_goods WHERE ZFG = WA_delete-ZFG.
ENDLOOP
if sy-subrc eq 0.
Message 'Delete Successful' type 'S'.
endif.
The above code will delete the record from both the table control.internal table and the database table.
I think this will help you to great extent.
Ward regards,
Bhuvaneswari
Edited by: BHUVANESWARI THIRUNAVUKKARASU on Jan 7, 2009 10:39 AM -
How to delete unwanted timezones from Calendar app on Yosemite?
I upgraded to Yosemite and one of the problems I had with Calendar App had something to do with Time Zone.
I realized that Calendar added California time as default. So now I want to delete the unwanted time zone, but cannot find a way to do so.
How does one remove or uncheck a time zone in iCal (Mountain Lion)?
I found this forum and tried, but as the last person who posted said, it doesn't work on Yosemite.
Does anyone know to delete unwanted timezones from Calendar App on Yosemite?
Thanks.Thank you for your response.
However, I am not asking about how to change the timezone on Mac. I'm asking about how to delete unwanted timezones on Calendar app.
Here I have 2 Pacific Time's. They are basically the same, but sometimes my computer choses one of the other without my intention. And when it does, it keeps showing (PST) on next to the starting time which I do not want. In order to avoid that, I'd like to delete "Pacific Time (America/Los_Angeles)". From the link you provided, I'm not finding the solution to this. I might be looking at a wrong spot and if so please be patient to guide me through.
If my question still doesn't make sense, please click the link to the solution for the same problem on Mountain Lion in my original question. You might understand my question better from it.
Thank you. -
Using a iPad. How do you delete unwanted address from the mail drop down list. I typed in a wrong address once, and now it keeps showing up.
Winfax1-
Look in your Contacts App and see if the unwanted address is entered there. If it is, you can delete it there.
Fred -
Is there a way to delete unwanted pictures from the Photos app on an iPad?
Welcome to the Apple Community.
Navigate to the photo sheet page (the one with the thumbnails) tap the edit button in the top right corner, tap the photos you want to delete to select them, tap the delete button in the bottom right corner.
Maybe you are looking for
-
Apple TV (1st Gen) not being recognized in iTunes 10.5
I recently updated iTunes to 10.5 and my Apple TV (1st Gen) will not longer show up in iTunes; thus I am not able to syn or stream any content from my iTunes library. I am not even able to reconnect/pair my Apple TV with my iTunes. I have also been
-
Text Wrap Feature Suddenly Disappeared
I've been using InDesign for years and years. I currently have CS5. Suddenly, the text wrap feature was completely missing from InDesign. This feature was always something that I used almost on a daily basis- suddenly it jsut disappeared! I tried sev
-
Vol is low even though adj all the way up.
I have set up and adjusted vol high and still is low how can I correct this problem ?
-
HT4101 Video doesn't appear in camera pane/video section
I purchased Series 1 of Breaking Bad from iTunes, downloaded the first episode, click-and-dragged it to a 'compatible' SD card, put the connection kit into my iPad, nothing. Added a photo to the SD card. Nothing. Added another photo to the SD card, a
-
Create a simple connection with mysql
hello my name is edvanio i am from brazil. i'd like to connect one program in Java with mysql for insert, delete and update one simple base ex. teste with nome and fone. thank , bye