List and libraries in sharepoint 2010 content database
I want to know when I create List or form library . where every form of form library will go.
Will it save into content database ?
I want to make report from the content database for form library or list ?
All Content in SharePoint is stored in the content database and there are APIs that you can use to access the contents of a particular list or library in SharePoint. But if you are thinking that you can access a specific list as a single table or portion
of a database table in the content database for your report then you will be disappointed for two reasons.
First, direct access to the SQL databases in SharePoint is prohibited by your license agreement. It is too easy to break things in SharePoint when you start accessing the databases directly.
Second, individual entries in a list or library are not stored directly in one place.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem.
Similar Messages
-
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 -
SharePoint 2010 Content database growing too fast
Hi,
I have a SharePoint 2010 Content database wss_content_DB which is 197 GB BUT when I calculate my site collection I can see they have used only about 70 GB. I know there is Auditdata table which is about 27 GB. Couple of days ago my content DB was about 105
GB and it Audit data log was set to unlimited once I noticed that I set to 90 days since then it jumped to 197 GB.
I have no idea what is going on.
Now I need to know
- why it is showing 197 GB in SQL server
- How can I trim audit log
- Why suddenly it's increased to 197 GB from 105 GB
Any help will be greatly appreciated.
AbdulThere is a way to deal with this table. There is an stsadm command (stsadm -o trimauditlog) as part of the infastructure update that will allow you to manage this data.
#Powershell Script to trim old AuditData table records.
$currentDate = Get-Date
#Number of days we want to keep data in the table
$NumberOfDays = -90
$DateToDelete = $currentDate.AddDays($NumberOfDays)
$DateString = ‘{0:yyyyMMdd}’ -f $DateToDelete
$STSADMCMD = “stsadm -o trimauditlog -date $DateString -databasename WSS_ContentDB”
invoke-expression “$STSADMCMD”
WHY IT SUDDENLY INCREASED:
Do this query on your SQL Instance: DBCC SQLPERF(logspace)
This will show you how the size of LOGfiles (LDF) and how much is unused, if you have alot of unused space it indicates you dont have a recent DB backup - normally backup would write log data to MDF file .
Normally you will not shrink DBs, only if you have deleted alot of data and you are not going to use space again so only do a shrink if you REALLY needs to.
http://www.microsoft.com/en-us/download/details.aspx?id=24282 -
Can't see Lists and Libraries in SharePoint Designer 2010
Hello,
I'm moving Site Collections from one domain to another domain. I set up Development Farm and Production Farm in new domain. I moved all site collections to Development Environment without any problem. However, I'm having a problem with one site collection
in Production. When I restored site collection in Production, I cannot see Lists and Libraries in SP Designer. On the other hand, when I restore same site collection in Development, I see Lists and Libraries in SP Designer.
I have five servers in Production; 2wfe, 2app, and 1db.
I have three servers in Development; 1wfe, 1app, and 1db.
What could be the issue? It's frustrating!
Thanks
OrrinHi,
have you checked the Log for any error, there could be broken links and may be SPD is throwing some error which would be easier to isolate the issue.
also see
http://social.technet.microsoft.com/Forums/sharepoint/en-US/a1804727-1191-4c41-b8c4-9e8299a2ad61/sharepoint-designer-unable-to-show-items?forum=sharepointcustomizationprevious
and have you enabled SPD for you site and you have design permission
Site Actions > Site Settings > Sharepoint Designer Settings > Enable Sharepoint Designer
MCITP: SharePoint 2010 Administrator
MCTS - MOSS 2007 Configuring, .NET 2.0
| SharePoint Architect | Evangelist |
http://www.sharepointdeveloper.in/
http://ramakrishnaraja.blogspot.com/ -
Existing SharePoint 2010 Content Database Attach – No Site Collections
First, let me start off by saying that I have read every single thread I could find on this subject, such as:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/0c34ca6f-0db1-4d61-a48c-c4704dd86513/currentsitecount-is-zero-in-upgraded-site
http://social.technet.microsoft.com/Forums/sharepoint/en-US/502459b3-0301-4ac3-bfc4-16ea702bb5bc/empty-site-data-after-mounting-content-database?forum=sharepointadminprevious
http://social.technet.microsoft.com/Forums/sharepoint/en-US/ec472ed5-4cdd-45ca-a327-ccc34c29c0a4/zero-site-collections-when-restoring-sp2010-content-database?forum=sharepointgeneralprevious
http://social.technet.microsoft.com/Forums/en-US/c8df1760-275a-43a4-b3fc-cf257c56d8e2/orphaned-entry-in-config-database
That said, even though my situation is a bit different than those posts, I have tried all the things!
Let me break it down:
Our prod server is a sad Frankenstein upgrade from Project/SharePoint 2003 to 2007 to 2010.
The problem is not on our prod server.
Our test server was a database attach installation. It mostly works.
The problem is, we have this old content database which housed the project sites that were created on 2003, then upgraded to 2007, then upgraded to 2010 – but when it attaches to the test server, it's empty. The "current number of site collections"
in CA shows 0 and the CurrentSiteCount in powershell = 0.
We have to keep these sites and their links for compliance reasons (7 year retention policy!) and we haven’t really cared that they aren’t working on the test server…except that we are going to be upgrading to 2013 this year, and that’s a database attach
no matter what. So I have to solve this now.
I’ve checked the following:
The data is there on the database.
The database name I’m typing is correct.
The version of the db is up to date.
The top level site is set to Exclusion.
Permissions.
Here’s what I’ve tried:
Attaching using powershell
Attaching using Central Admin
Detaching and reattaching
Running psconfig
Resetting IIS
When the database is unattached, I have tried the “Recover data from an unattached content database” function – it recognizes the database (if I type it in wrong, it tells me I don’t have access) but then finds nothing in the site collections.
The prod server is perfectly happy with these sites, and we copied the database from prod after the 2010 upgrade, so I don’t know what the issue is.
I appreciate any thoughts any of you have. I’m stumped!
ElliJ
Project Solutions Specialist
http://projectserverpants.wordpress.com/Holy lots of errors, batman!!
I think it's safe to say that the 2010 upgrade didn't hit all our sites, based on the errors and this post:
http://social.technet.microsoft.com/Forums/projectserver/en-US/c7b19345-3036-4dc1-a174-026796cdee7c/missing-server-side-dependencies-after-project-server-upgrade-from-2003-to-2010?forum=projserv2010setup
There are serveral missing setup files and one missing assembly:
Category : MissingSetupFile
Error : True
UpgradeBlocking : False
Message : File [1033\PWA\lists\wplib\dwp\Updates.dwp] is referenced [27
5] times in the database [STS_FSHAREPTP01_1], but is not inst
alled on the current farm. Please install any feature/solutio
n which contains this file.
Remedy : One or more setup files are referenced in the database [STS_F
SHAREPTP01_1], but are not installed on the current farm. Ple
ase install any feature or solution which contains these file
s.
Category : MissingAssembly
Error : True
UpgradeBlocking : False
Message : Assembly [Microsoft.Office.Project.Server.PWA,Version=12.0.0.
0,Culture=neutral,PublicKeyToken=71e9bce111e9429c] is referen
ced in the database [STS_FSHAREPTP01_1], but is not installed
on the current farm. Please install any feature/solution whi
ch contains this assembly.
Remedy : One or more assemblies are referenced in the database [STS_FS
HAREPTP01_1], but are not installed on the current farm. Plea
se install any feature or solution which contains these assem
blies.
I guess the question now is - how do we get it to upgrade ALL of the site collections and sites? I'm actually pretty sure I can figure it out from here, that test was a huge help, thanks! -
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. -
SharePoint 2010 - Content database contains orphaned items
Good day people!
We have come across the feared "Content databases contain orphaned items"!
Running a check on our farm shows:
PS C:\Users\SPAdmin> Get-SPContentDatabase | ForEach-Object { $_.repair($false)}
<OrphanedObjects Count="0" />
<OrphanedObjects Count="0" />
<OrphanedObjects Count="7">
<Orphan Type="RoleAssignments" Count="7" />
</OrphanedObjects>
<OrphanedObjects Count="385">
<Orphan Type="RoleAssignments" Count="385" />
</OrphanedObjects>
PS C:\Users\SPAdmin>
Microsoft is very specific about how to solve this type of error on their http://go.microsoft.com/fwlink/?LinkID=142694.
That is very nice and good, but, doing this on a large production database doesnt feel all that good when we do not really know whats going to happen with the autofix button.
Would/could anyone explain what the "Fix Now" button does? Any risks involved? Are there other ways to fix this problem? We already emptied all recycle bins completely.
best regards
BjornHi Bjorn,
Thanks for posting your issue, Kindly follow below mentioned Steps to fix reported issue
Verify that the user account that is performing this procedure is a member of the Farm Administrators group.
On the Central Administration Home page, click Monitoring.
On the Monitoring page, in the Health Analyzer section, click
Review problems and solutions.
On the Review problems and solutions page, click the alert for the failing rule, and then click
Fix Now. Keep the dialog box open so you can run the rule again to confirm the resolution.
After following the steps in the Remedy section, in the
Review problems and solutions dialog box for the alert, click Reanalyze Now to confirm the resolution. If the problem is resolved, the rule is not flagged as a failing rule on the Review problems and solutions page.
I hope this is helpful to you, mark it as Helpful.
If this works, Please mark it as Answered.
Regards,
Dharmendra Singh (MCPD-EA | MCTS)
Blog : http://sharepoint-community.net/profile/DharmendraSingh -
Hi,
I am having an issue of having to refresh my IE to be able to view a migrated SharePoint 2010 site in 2010 mode in SP2013. Is this Token Service Problem, Request Management problem.....
Any ideas out there - driving me nuts!
Thanks.
John.
P.S> Still think this could be related to over-provisioned host as all SP Machines are virtual. Won't know for sure until Tuesday.
Thanks.
JOhn.What are you using Request Management for?
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. -
Hi all,
I took several weeks preparing the migration of a large farm from SharePoint 2007 to 2010 using the system of restore databases and mount site collections. I've built the new farm and I have done several full migration tests to verify that all was well the
day of final migration.
The farm consists of three virtual servers: one with SQL Server 2012 and two with SharePoint Server 2010. Upon completion of the tests we've moved the servers to another network. We have turned on the servers and everything seems to work fine.
Just the day of the final migration I wanted to check the HealtReports list of the Central Administration, and when I wanted to look up an alert, the view window has not shown me anything and ribbon has appeared with all options grayed. Days ago worked fine.
Alarmed by this, I have started to check all lists and libraries in the Central Administration and the same happens. I can not view or change the items, nor add. Neither I can change the properties of the lists or libraries, as if everything was locked. I
tried on the main site collection and same thing happens, and I have tried with several user with Total Control permissions. I have also verified that the site collection was not in ReadOnly mode.
I have restored a site collection from SharePoint 2007 and have migrated successfully to 2010. Before applying visual upgrade I found that the content is also locked. It is as if he had changed anything in the configuration of the whole farm, but I can not
find what. The Event Viewer of the three server shows no errors related to this. The SharePoint LOGS not show anything unusual.
I do not know where to look and urges me to find a solution because the old servers must be out of service soon. I accept any suggestions.
Kind regards.Finally I answer myself because I've already found and fixed the problem. Before moving the servers in farm to the another network I've unplugged the single SharePoint server from the farm database for to clone it. Apparently
this disconnection removes all the implemented solutions and the farm remains without servers. Reconnecting the servers not re-implements the solutions. When I was about to create a new farm I have seen that all solutions were not implemented,
I have implemented one by one and the system worked again.
If any of you happen reaches you, now you know what it may be due.
Kind regards!! Now I'm a happy man! ;) -
SharePoint lists are not showing in SharePoint designer "Lists and Libraries" section
Hi ,
I using sharepoint 2010 and sharepoint designer 2010.
I created a custom list on the sharepoint , and i trying to open the list through designer, but in sharepoint designer under the "Lists and Libraries" section that created custom list is not showing.
But when i click on "AllFiles-->Lists -->MyCustomlist " (its present in the root folder's "Lists" folder)
can anyone help on this.
regards,
RKHi,
According to your description, there is a list appears in “All Files” section but not in "Lists and Libraries" section in SharePoint Designer.
What if you refresh(F5) the SharePoint Designer in the "Lists and Libraries" section? Will the issue list appears?
If the list still doesn’t show up, please clear the cache of the SharePoint Designer and reconnect your site for a test.
About how to clear the cache of SharePoint Designer:
http://www.c-sharpcorner.com/UploadFile/sagarp/how-to-clear-your-sharepoint-designer-20102013-cache/
Feel free to reply if there any progress.
Best regards,
Patrick
Patrick Liang
TechNet Community Support -
See Also in SharePoint lists and libraries
Kindly please help on how to disable the "See Also" inside lists and libraries
Also, where is this getting files from ? Inside the list and libraries ??
Thanks in advance!
AJ MCTS: SP 2010 Configuration MCSA: Windows 7 If you find this post useful kindly please mark it as an answer :) TYIf editing the masterpage isn't an option, active publishing features (if not a publishing template) and add that script to the Styles gallery with the !important parameter added on the end. It'll be applied locally to the whole site.
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
Content search web part to display only lists and libraries
Hi,
I want to configure Content Search Web Part to display only the names of lists and libraries inside my site collection. I tried adding Keyword filter "Only return lists and libraries", however it is also returning list items. Any idea on this issue?Hi John,
Thanks.
Agree with your point. I can't use any code (that is client requirement). Also, still I use, I can't use it in this scenario. I want to display most visited lists and libraries (in last month or lifetime). I can use managed properties such as ViewsLifeTime
and ViewsRecent to sort it If i get the names of lists and libraries. Let me know if this clarifies the question more and you have an idea about it. -
Hello,
I am migrating Sharepoint 2010 my site content database to SharePoint 2013. First I have to create My site web application in SharePoint 2013. How can I synchronize 2010 content database with 2013.Hi ghsajith,
According to your description, my understanding is that you want to upgrade your SharePoint 2010 to SharePoint 2013.
There is an article for your reference:
http://blogs.msdn.com/b/alimaz/archive/2012/07/17/upgrading-from-sharepoint-2010-to-sharepoint-2013-step-by-step.aspx
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
SharePoint 2010 Content Type Hub
Hi,
I have a Content Type Hub in the SharePoint Server and it is being subscribed to one of the Web application and it’s site collections.
If I make any changes in existing column of the Content Type in Content Type Hub and subscribe to the required site collection, the changes are not being propagated to libraries columns which are part the attached Content Type from the Conte Type Hub.
But the Content Types are being subscribed and changes are available at Site column of the Subscribed Sites but not in the existing Library level.
If I add the New column in CT hub and the new column appears in the existing Library of the subscribed sites.
Please assist me how can I propagate the Content Type changes from CT Hub to the existing Library of the subscribed site?
Regards,
Vidya LokeshIt's a known issue.
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/b865e6a0-39d8-4aae-9df6-f07ff9d1d96c/content-type-changes-are-not-reflected-in-subscribing-document-libraries?forum=sharepointgeneralprevious
MS chose to avoid pushing down to lists and libraries, presumably to avoid people trashing their systems by making silly changes and pushing them down to thousands of lists and libraries.
The only surefire way is to delete the CT from the list/library and re-add it. You could script something up to do that I guess but I don't know of any examples of it floating about.
PS. You're in the wrong forum, this relates to 2010 not 2013, although in this case that's not a major issue. -
To extract the users permission on files and folders in sharepoint 2010 using client object model
To extract the users permission on files and folders in sharepoint 2010 using client object model
Hello,
This is sample code to get item level permisison: (Just written in notepad so it is not tested)
public void ItemLevelPermission()
SecurableObject curObj = null;
ListItem curItem = ctx.Web.Lists.GetByTitle("LibraryName").GetItemById(ItemId); -> Use Id of file or folder.
IEnumerable roles = null;
roles = ctx.LoadQuery(
curObj.RoleAssignments.Include(
roleAsg => roleAsg.Member,
roleAsg => roleAsg.RoleDefinitionBindings.Include(
roleDef => roleDef.Name, // for each role definition, include roleDef’s Name
roleDef => roleDef.Description)));
ctx.ExecuteQuery();
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help
Maybe you are looking for
-
What do exactly mean by 'document is lost' while filling setup table
Hi , In various threads its mentioned that, while extraction of logistics data .. say sales billing document, the document is 'lost', if its posted/changed while filling setup table . Hence we need to have system downtime while filling setup table.
-
Firefox opens a GEDCOM file instead of invoking the proper software
When Firefox encounters hyperlinks in webpages to files which are NOT html sometimes it will ask for a chooser application, but sometimes not. In the case of a GEDCOM file it simply opens a tab with all the text in it. I want Firefox to ask me to ide
-
How can i create a ScrollPane with vertical scrollbar only ?
As title, Thank you very much !
-
I don't know what Final Cut Pro Academic Version 4.0 I have.
Hi. im interested in upgrading to Final cut studio, but I do not know if i qualify. No where on my install disc does it say waht numer it is. I've looked at the download order forms for the crossgrades etc. But i'm still not sure what model no# miine
-
Com.sap.portal or com.sapportals
I'm new to the development of EP and WAS pages. I found some easy examples. But as soon as I try to compile them I get compiler errors. <u>the example starts like this</u>... import com.sap.htmlb.*; import com.sap.htmlb.enum.*; import com.sap.htmlb.p