共用方式為


Project Server 2007 的移轉執行資料

更新日期: 2009年5月

 

上次修改主題的時間: 2015-02-27

Important重要事項:
本文提供 Microsoft 完成移轉測試之後的未經整理資料。這份資料提供的是大概數據,僅供一般移轉執行概念參考之用。雖然文中提供了我們在測試時所用的特定設定資訊,但請切記,其中許多變數都可能影響移轉執行時間。

設定規格

用來導出移轉執行資料的設定使用下列規格:

設定 Project Server 2007 應用程式伺服器、Project Web Access 及資料庫伺服器在一部電腦,Project 2003 資料庫在另一部執行 Microsoft SQL Server 的電腦上

Project Server 2007 的硬體 2.8 GHz CPU,2 GB RAM

Project Server 2003 SQL Server 的硬體 4 個處理器 (每個 2.5 GHz),4 GB RAM

設定檔規格

我們用了四個不同客戶的移轉設定檔來導出執行資料。下表列出移轉執行資料測試過程中所用的每個設定檔規格。這份資料代表的是要從 Project Server 2003 移轉的資料。

Note附註:
如果想檢查您現有資料庫中以下任何值,看看哪個設定檔與您的資料最類似,本文中<用以取得設定檔資訊的 SQL 指令碼>一節所提供的 SQL 指令碼可以協助您決定系統中的數目。
設定檔 1:少量專案 設定檔 2:中量專案 設定檔 3:大量專案 設定檔 4:超大量專案

專案數目

40

450

1200

8250

插入的專案數目

0

0

0

250

跨專案連結數目

0

0

0

4000

任務數目

5400

28630

11000

420000

工作分派數目

6400

11000

65000

550000

企業資源數目

200

2500

2000

2200

使用中的自訂欄位數目

40

80

70

200

經過專案驗證的使用者人數

20

300

300

120

經過 Windows 驗證的使用者人數

150

2100

1500

2000

安全性群組數目

12

13

10

150

安全性類別數目

11

12

10

120

自訂 Project Web Access 檢視數目

20

27

30

200

執行設定檔時間

下表列出根據上節所述設定規格為上述每個設定檔進行資料移轉所需的執行時間。

設定檔 1:少量專案 設定檔 2:中量專案 設定檔 3:大量專案 設定檔 4:超大量專案

移轉全域資料所花費的時間

8 分鐘

17 分鐘

20 分鐘

25 分鐘

移轉所花費的時間 (儲存和發佈)

1 小時,15 分鐘

2 小時,30 分鐘

12 小時

1 天,12 小時

用以取得設定檔資訊的 SQL 指令碼

下列 SQL 指令碼可以在您的 Project Server 2003 資料庫上執行,以導出移轉設定檔資訊 (例如,專案數目、使用中的自訂欄位數目等等)。然後,您可以將結果與<設定檔規格>一節中的列表做比較,以瞭解哪個設定檔與您要移轉的 Project Server 2003 資料最類似。當您判斷出最類似的設定檔時,就可以預測出最可能的移轉執行時間。

若要執行指令碼,請執行下列步驟:

  1. 開啟 Microsoft SQL Server Query Analyzer。

  2. 連線到 Project Server 資料庫所在的 SQL Server 執行電腦。

  3. 在 SQL Query Analyzer 中開啟「設定檔評估」指令碼。

  4. 在指令碼註明的位置插入您的 Project Server 資料庫名稱。

    1. 在指令碼中找出 <Enter "Project Tables" database name>,取代成您的「專案資料表」資料庫名稱。

    2. 在指令碼中找出 <Enter "Web tables" database name>,取代成您的「網頁資料表」資料庫名稱。

      如果您不要使用分割資料庫設定,則這兩個資料庫名稱都輸入 Project Server 資料庫的名稱。

  5. 在 [查詢] 功能表上,選擇 [以文字顯示結果]。

  6. 在 [查詢] 功能表上,按一下 [執行],以執行指令碼。

設定檔評估指令碼

在執行指令碼之前,請務必根據您的 Project Server 2003 資料庫資訊編輯該指令碼。

select '#### Project Tables Information ####'

use <Enter "Project Tables" database name>

--Total size of DB 
exec sp_spaceused 

--Number of projects in the database
select count(*) as 'Number of Projects' from msp_projects

--Number of inserted projects
select count(*) as 'Number of Inserted Projects' 
  from MSP_TEXT_FIELDS where TEXT_FIELD_ID = 188743706

--Number of cross-project links
select count(*) as 'Number of cross-project links' 
  from MSP_TEXT_FIELDS 
  where TEXT_FIELD_ID = 239075346 or TEXT_FIELD_ID = 239075347

--Number of total tasks, assignments in the system
select count(*) as 'Number of tasks' from msp_tasks
select count(*) as 'Number of assignments' from msp_assignments

--Number of Enterprise resources (in ResGlobal)
select count(*) as 'Number of Enterprise Resources' 
  from msp_resources where proj_id = 1 and res_name is not null

--Number of custom fields in use
select count(*) as 'Number of Custom Fields in use' 
  from msp_field_attributes 
  where attrib_id = 206 and proj_id in (select proj_id 
  from msp_projects where proj_type =2 )

select '#### Web Tables Information ####'

use <Enter "Web Tables" database name>

--Total size of DB 
exec sp_spaceused 

--Number of Project Authenticated users, Windows authenticated users
select count(*) as 'Number of Project Authenticated users'  
  from MSP_WEB_RESOURCES 
  where WRES_USE_NT_LOGON = 0 
  and WRES_CAN_LOGIN <>0 and WRES_COUNT_LICENSE <> 0
select count(*) as 'Number of Windows Authenticated users' 
  from MSP_WEB_RESOURCES 
  where WRES_USE_NT_LOGON <> 0 
  and WRES_CAN_LOGIN <>0 and WRES_COUNT_LICENSE <> 0

--Number of security groups,security categories
select count(*) as 'Number of Security Groups' 
  from MSP_WEB_SECURITY_GROUPS
select count(*) as 'Number of Security Categories' 
  from MSP_WEB_SECURITY_CATEGORIES

--Is there any Windows SharePoint Services integration ?
select count(*)  as 'Is there any Windows SharePoint Services Integration ?' 
  from msp_web_admin where WADMIN_CURRENT_STS_SERVER_ID <> -1

--Number of linked issues, risks, documents 
-- (indicates how much Windows SharePoint Services integration is used)
select count(*) as 
  'Number of linked Windows SharePoint Services issues/risks/documents' 
  from MSP_WEB_OBJECT_LINKS

--Number of custom Project Web Access views
select count(*) as 'Number of customer Projet Web Access views' 
  from MSP_WEB_VIEW_REPORTS where WVIEW_ID > 100