关于Oracle Primavera P6的各数据库帐号用途_p6

在使用/维护P6时,经常会用到各种不同的P6数据库用户,如在连接配置P6 Professional时用到的公共帐号pubuser,进入后台维护p6配置信息(adminpv)或开发常连接的privuser,亦或是配置BI Report/BUSINESS Intelligence报表套件用到的pxrptuser,为了简化对这些帐号的理解,我参照了官方的说明在这里做简单介绍

关于Oracle Primavera P6的各数据库帐号用途_oracle_02

P6数据库帐号

ADMUSER

admuser是架构用户(仅限 Oracle 数据库) ,其拥有架构中的大多数数据库对象,包括表、索引和约束、过程、触发器和函数,并且主要在数据库创建和升级期间使用。

PRIVUSER

privuser是特权用户,他有以下5个特点:

  1. 拥有大多数架构用户表的视图,可过滤掉逻辑删除的数据。
  2. 对架构用户拥有的所有表具有 SELECT、INSERT、UPDATE 和 DELETE 权限。
  3. 对所有模式过程具有 EXECUTE 权限。
  4. 用于促进 P6 EPPM 和 P6 Professional 之间的通信。
  5. 拥有没有视图的对象的同义词,这意味着对架构所有者拥有的表的引用不必是完全限定的(仅限 Oracle 数据库)。

关于Oracle Primavera P6的各数据库帐号用途_oracle_03

PUBUSER

pubuser是公众用户,公共用户在 P6 EPPM 数据库中几乎没有权限。 它对 PUBUSER 表具有 SELECT 权限,该表用于将 P6 EPPM 连接到数据库,包括在我们常用到的Professional组件连接使用。

关于Oracle Primavera P6的各数据库帐号用途_数据库_04

BGJOBUSER

bgjobuser是后台作业用户(仅限 Oracle 数据库),该用户随P6服务自动启动并运行 P6 EPPM 后台作业。

PXRPTUSER

pxrptuser是报表帐号,他拥有企业报告的 P6 EPPM 扩展架构的视图。

关于Oracle Primavera P6的各数据库帐号用途_p6_05

如下内容来源于ORACLE HELP

About Database Users 

Schema User (Oracle database only)

Default: ADMUSER

Description: The administrative user owns most database objects within the schema including tables, indexes and constraints, procedures, triggers, and functions, and is primarily used during database creation and upgrades.

Privileged User

Default: PRIVUSER

Description: The following is true for the privileged user:

  • Owns views to most of the schema user tables that filter out logically deleted data.
  • Has SELECT, INSERT, UPDATE, and DELETE privileges on all of the tables owned by the schema user.
  • Has EXECUTE privileges on all schema procedures.
  • Is used to facilitate communication between P6 EPPM and P6 Professional.
  • Owns the synonyms for objects that do not have a view, which means that references to tables that are owned by the schema owner do not have to be fully qualified (Oracle database only).

Public User

Default: PUBUSER

Description: The public user has few permissions in the P6 EPPM database. It has SELECT privileges on the PUBUSER table, which is used to connect a P6 EPPM to the database.

Background Job User (Oracle database only)

Default: BGJOBUSER

Description: The background job user initiates and runs P6 EPPM background jobs.

Reporting User

Default: PXRPTUSER

Description: The reporting user owns views to the P6 EPPM extended schema for enterprise reporting.

 这个行业的分享不多,希望更多感兴趣的朋友一同参与,探讨或合作 !