Project Server 2007 的迁移执行数据

更新时间: 2009年5月

 

上一次修改主题: 2015-03-09

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

配置文件规范

使用 4 个不同的客户迁移配置文件来获取执行数据。下表给出了在测试中用于获取迁移执行数据的每个配置文件的规范。此表表示要迁移的 Project Server 2003 的数据。

提示

如果您想在现有的数据库中验证这些值中的任何值以了解您的数据与哪个配置文件最相似,本文的“用于获取配置文件信息的 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

执行配置文件时间

下表包含根据所述配置规范迁移上一节中描述的 4 个配置文件中的每个配置文件的数据所需的执行时间。

配置文件 1:少量项目 配置文件 2:中等数量的项目 配置文件 3:大量项目 配置文件 4:极大量项目

迁移全局数据所需时间

8 分钟

17 分钟

20 分钟

25 分钟

迁移(保存和发布)所需时间

1 个小时 15 分钟

2 个小时 30 分钟

12 个小时

1 天零 12 个小时

用于获取配置文件信息的 SQL 脚本

可通过在 Project Server 2003 数据库上运行下面的 SQL 脚本来获取迁移配置文件信息(例如,项目数目、使用中的自定义域数目等)。然后,您可以将结果与“配置文件规范”一节中的表相比较,以帮助您确定要迁移的 Project Server 2003 数据与哪个配置文件最相似。在确定了这一点之后,您可以预测最可能的迁移执行时间。

若要运行该脚本,请执行下列操作:

  1. 打开 Microsoft SQL Server 查询分析器。

  2. 连接到 Project Server 数据库所在的运行 SQL Server 的计算机。

  3. 打开 SQL 查询分析器中的“配置文件评估”脚本。

  4. 将 Project Server 数据库名称插入到脚本中说明的位置。

    1. 在脚本中找到 <Enter "Project Tables" database name>,将其替换为您的“project tables”数据库名称。

    2. 在脚本中找到 <Enter "Web tables" database name>,将其替换为您的“Web tables”数据库名称。

      如果不使用拆分数据库配置,则只需为两个数据库名称都输入您的 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