SharePoint 2016文档库所在数据库表的说明(文档库数据库)
?
突然被客戶問一個問題,說數(shù)據(jù)庫存在哪一個表,這個原本是開發(fā)的事,竟然文檔我了,好吧這里記錄一下,以便記憶給客戶匯報。
SharePoint 數(shù)據(jù)庫表說明:
| Features | Table that holds information about all the activated features for each site collection or site. |
| Sites | Table that holds information about all the site collections for this content database. |
| Webs | Table that holds information about all the specific sites (webs) in each site collection. |
| UserInfo | Table that holds information about all the users for each site collection. |
| Groups | Table that holds information about all the SharePoint groups in each site collection. |
| Roles | Table that holds information about all the SharePoint roles (permission levels) for each site. |
| All Lists | Table that holds information about lists for each site. |
| GroupMembership | Table that holds information about all the SharePoint group members. |
| AllUserData | Table that holds information about all the list items for each list. |
| AllDocs | Table that holds information about all the documents (and all list items) for each document library and list. |
| RoleAssignment | Table that holds information about all the users or SharePoint groups that are assigned to roles. |
| Sched Subscriptions | Table that holds information about all the scheduled subscriptions (alerts) for each user. |
| ImmedSubscriptions | Table that holds information about all the immediate subscriptions (alerts) for each user. |
?
Alldocs 說明
https://msdn.microsoft.com/en-us/library/hh656481(v=office.12).aspx?
?
所有表位置:
如下表分別存儲文檔庫不同的內(nèi)容;
select * from [sysobjects] where [type] = 'u' and name like '%doc%' order by [name]
?
?
查找方式
select top 10 * from AllDocs a, DocStreams d where d.docID = a.ID select top 10 * from [dbo].[DocsToStreams] select top 10 * from [dbo].[DocStreams] select top 10 * from [dbo].[DocVersionEvents]select * from [sysobjects] where [type] = 'u' and name like '%doc%' order by [name]效果
?
?
關于Sharepoint 數(shù)據(jù)庫的問題,請參考:https://technet.microsoft.com/library/cc678868
?
ms sql server
1、查詢所有表
select [id], [name] from [sysobjects] where [type] = 'u' order by [name]
2、查詢所有數(shù)據(jù)庫
3、select [name] from [sysdatabases] order by [name]
查詢表中字段?
select [name] from [syscolumns] where [name] = 'tableXXX'order by [colid]
oracle
1、查找表的所有索引(包括索引名,類型,構(gòu)成列):
select t.*,i.index_type from user_ind_columns t,user_indexes i where t.index_name = i.index_name and t.table_name = i.table_name and t.table_name = 要查詢的表
2、查找表的主鍵(包括名稱,構(gòu)成列):
select cu.* from user_cons_columns cu, user_constraints au where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 要查詢的表
3、查找表的唯一性約束(包括名稱,構(gòu)成列):
select column_name from user_cons_columns cu, user_constraints au where cu.constraint_name = au.constraint_name and au.constraint_type = 'U' and au.table_name = 要查詢的表
4、查找表的外鍵(包括名稱,引用表的表名和對應的鍵名,下面是分成多步查詢):
select * from user_constraints c where c.constraint_type = 'R' and c.table_name = 要查詢的表
查詢外鍵約束的列名:
select * from user_cons_columns cl where cl.constraint_name = 外鍵名稱
查詢引用表的鍵的列名:
select * from user_cons_columns cl where cl.constraint_name = 外鍵引用表的鍵名
5、查詢表的所有列及其屬性
select t.*,c.COMMENTS from user_tab_columns t,user_col_comments c where t.table_name = c.table_name and t.column_name = c.column_name and t.table_name = 要查詢的表
6、查詢所有表
select* from tabs
?
SharePoint 所有數(shù)據(jù)庫說明
一、WSS_Content
后端內(nèi)容數(shù)據(jù)庫存儲所有網(wǎng)站內(nèi)容,包括網(wǎng)站的文檔或文檔庫中的文件,列表數(shù)據(jù)和Web部件屬性,以及用戶名和權(quán)限。?為特定網(wǎng)站的所有數(shù)據(jù)的內(nèi)容數(shù)據(jù)庫。
二、SharePoint_Config
配置數(shù)據(jù)庫句柄的所有管理部署,請求定向到相應的數(shù)據(jù)庫和管理后端數(shù)據(jù)庫的負載平衡。?在前端Web服務器接收到請求的頁在一個特定網(wǎng)站時,它檢查配置數(shù)據(jù)庫,以確定哪些內(nèi)容數(shù)據(jù)庫包含站點的數(shù)據(jù)。?您可以配置數(shù)據(jù)庫運行在同一臺計算機作為Web服務器或遠程計算機上運行Microsoft?SQL服務器。?配置數(shù)據(jù)庫概念相對不變,在微軟sharepoint?server?2010。?在Microsoft?Office?sharepoint?server2007和Windows?SharePoint服務網(wǎng)站地圖表3.0提供的是存儲在配置數(shù)據(jù)庫內(nèi)容的有關信息數(shù)據(jù)庫包含給定站點的數(shù)據(jù)。?在Windows?SharePoint服務或Microsoft?OfficeSharePoint服務器2007收到請求的URL時,此數(shù)據(jù)庫中的設置確定網(wǎng)站的內(nèi)容數(shù)據(jù)庫包含的數(shù)據(jù)。?當大型服務器場部署請求提供服務時,在微軟sharepoint?server2010和Windows?SharePoint服務4.0?SiteMap序列化到磁盤以提高性能和降低數(shù)據(jù)庫的回調(diào)操作,可能導致爭用。?
?三、SharePoint_AdminContent
管理中心后端內(nèi)容數(shù)據(jù)庫存儲所有網(wǎng)站內(nèi)容,包括網(wǎng)站的文檔或文檔庫中的文件,列表數(shù)據(jù)和Web部件屬性,以及用戶名和權(quán)限。?為特定網(wǎng)站的所有數(shù)據(jù)的內(nèi)容數(shù)據(jù)庫。?
四、Search_Service?
用爬的數(shù)據(jù)關聯(lián)的屬性數(shù)據(jù)庫存儲已爬網(wǎng)屬性包括屬性、歷史數(shù)據(jù)、抓取隊列?
?1、Search_Service_Application_PropertyStoreDB
用爬的數(shù)據(jù)關聯(lián)的屬性數(shù)據(jù)庫存儲已爬網(wǎng)屬性包括屬性、歷史數(shù)據(jù)、抓取隊列等。
?2、Search_Service_Application_CrawlStoreDB
?抓取主機已爬網(wǎng)的數(shù)據(jù)庫數(shù)據(jù)和抓取數(shù)據(jù)庫抓取的驅(qū)動器是搜索在Microsoft?Officesharepoint?server?數(shù)據(jù)庫。
3、Search_Service_Application_DB
?管理數(shù)據(jù)庫的共享服務提供程序數(shù)據(jù)庫是在Microsoft?Office?SharePoint?server2007和每個搜索應用程序中實例化一次與政府當局對齊組件。?管理數(shù)據(jù)庫搜索應用程序的主機配置和內(nèi)容抓取的訪問控制列表ACL。
?五、Web Analytics Service
Web分析服務提供了豐富的分析給你洞察你的網(wǎng)站流量、搜索和SharePoint資產(chǎn)使您更好地了解您的用戶和部署。?與SharePoint網(wǎng)站分析,你可以定制系統(tǒng),以滿足用戶的需要,優(yōu)化他們?nèi)绾问褂煤桶l(fā)現(xiàn)信息,并為站點創(chuàng)建目標內(nèi)容。
1、?WebAnalyticsService應用程序_StagingDB
?網(wǎng)絡分析的臨時數(shù)據(jù)庫是存儲聯(lián)合國聚合事實數(shù)據(jù)的工作數(shù)據(jù)庫,資產(chǎn)元數(shù)據(jù)、排隊批數(shù)據(jù),并提供短期保留此類內(nèi)容。
2、WebAnalyticsService應用程序_ReportingDB
網(wǎng)絡分析報告數(shù)據(jù)庫存儲聚合標準報告表格、事實數(shù)據(jù)聚合網(wǎng)站用戶組、日期和資產(chǎn)除了診斷信息的元數(shù)據(jù)。
?六、Shared Services Provider
?共享服務提供商微軟sharepoint?server?2010中的圖層是過時的更換與共享服務的應用程序,了解變化與共享服務提供程序數(shù)據(jù)庫關聯(lián)的數(shù)據(jù)庫設計
?
?七、User Profile Service
?用戶配置文件服務包括用戶配置文件和我的網(wǎng)站。
?1、User Profile Service Application_ProfileDB
?用戶配置文件數(shù)據(jù)庫是一個靈活的數(shù)據(jù)庫存儲和管理用戶和相關信息。?數(shù)據(jù)庫允許更靈活的架構(gòu),支持多種數(shù)據(jù)類型。?它可以查詢,并且可以更新。?例如,公司可以定義屬性配置文件數(shù)據(jù)庫中的雇員的記錄。?然后為每個記錄,雇員創(chuàng)建和保存對象。?現(xiàn)在此信息可用在許多方面,例如在web部件,Web服務,或創(chuàng)建基于規(guī)則的組或角色。
2、?User Profile Service Application_SocialDB
場性標簽數(shù)據(jù)庫存儲
?場?性標簽記錄和各自的網(wǎng)址加上信息的概況,并在分類數(shù)據(jù)庫的前端層在執(zhí)行/要求。這個數(shù)據(jù)庫是用于存儲社會標簽和用戶創(chuàng)建的注釋?
3、?User Profile Service Application_SyncDB
同步數(shù)據(jù)庫是用來存儲的配置和分期數(shù)據(jù)從外部來源,如Active Directory的配置文件數(shù)據(jù)的同步。?
關系圖
總結(jié)
以上是生活随笔為你收集整理的SharePoint 2016文档库所在数据库表的说明(文档库数据库)的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 哈希桶 entry_哈希表代码实现
- 下一篇: linux mysql移植_linux