ORA-01622: thread number must be specified – default not specific

文档解释

ORA-01622: thread number must be specified – default not specific

Cause: The thread was not specified when adding a log, and the currently mounted thread was chosen by default at mount time. Since the current thread was not specified explicitly the user cannot know which thread the log will be added to.

Action: Explicitly specify the thread number either in the INIT.ORA parameter “thread”, or in the add command.

ORA-01622:thread number 必须被指定-默认不是特定的

官方解释

ORA-01622 Thread number string must be specified

用途:指出参数 thread number (sometimes referred to as the instance number) 是必须被指定的。

该错误通常出现在一个 concurrent manager 进程中,出现这个错误的原因可能是丢失了环境变量 FND_TOP(当前模块所在路径)或者被先设置错误。

常见案例

在使用缓冲池重置指令时可能会出现 ORA-01622 错误:

SQL> alter system flush shared_pool;

alter system flush shared_pool

*

ERROR at line 1:

ORA-01622: thread number must be specified

正常处理方法及步骤

要正确的处理这个错误,必须创建如下 GLOBAL_NAMES 设置:

SQL> create system parameter GLOBAL_NAMES = TRUE;

然后,如果当前使用的是实例池相关操作,必须提供实例号信息:

SQL> alter system flush shared_pool thread string;

你可能感兴趣的