zl程序教程

您现在的位置是:首页 >  数据库

当前栏目

Oracle 参数 PRIVATE_TEMP_TABLE_PREFIX 官方解释,作用,如何配置最优化建议

Oracle官方配置 如何 建议 作用 解释 参数
2023-06-13 09:11:20 时间

参数

Oracle参数PRIVATE_TEMP_TABLE_PREFIX 基本是当某个用户创建一个会话权限的表时,名称前面会附加上特定前缀,其aim 是为了避免重名导致的问题。

设置过程:

1、登录Oracle的Net Manager

2、将TNS的Entry directory指定至当前DB的host

3、进入Oracle Server Instance 选择当前DB

4、点击右侧的右上角三角符号以expand collapse 展开机器设置信息

5、点击Advanced选项,此时会看到一堆设置parameters,其中有机器号“PRIVATE_TEMP_TABLE_PREFIX”

6、设置“PRIVATE_TEMP_TABLE_PREFIX”的值,其会用于限定用户生成的temporary table的名字

7、最后Save Changes 确认设置的内容

官方英文解释

PRIVATE_TEMP_TABLE_PREFIX specifies the prefix that the database uses for private temporary tables.


The default value used for the PRIVATE_TEMP_TABLE_PREFIX parameter is ORA$PTT_.

If you choose to specify a different prefix value, it must begin with the string ORA$ and must be unique across the database. Use the following SQL query to determine if the prefix value is unique (in the query, replace prefix-value with your actual prefix value):

Copyselect count(*) from obj$ where name like " prefix-value 

If the above query returns 0, then the prefix you specified is an appropriate value to set.

Note:

After setting the prefix, regular table, view, and object names cannot use the same prefix.

See Also:


Oracle Database
Administrator’s Guide for an introduction to private temporary tables


我想要获取技术服务或软件
服务范围:MySQL、ORACLE、SQLSERVER、MongoDB、PostgreSQL 、程序问题
服务方式:远程服务、电话支持、现场服务,沟通指定方式服务
技术标签:数据恢复、安装配置、数据迁移、集群容灾、异常处理、其它问题

本站部分文章参考或来源于网络,如有侵权请联系站长。
数据库远程运维 Oracle 参数 PRIVATE_TEMP_TABLE_PREFIX 官方解释,作用,如何配置最优化建议