【问题标题】:Linuc Oracle 11g enable partitioning using choptLinux Oracle 11g 使用 Chopt 启用分区
【发布时间】:2019-02-08 20:06:12
【问题描述】:

我运行了以下查询:

SELECT VALUE FROM v$option WHERE parameter = 'Partitioning'

结果是:

false

在目录 oracle/product/11.2.3/bin/ 上,我正在尝试运行此命令以启用分区选项:

chopt enable partitioning

并且出现错误:

-bash: chopt: command not found

我不明白为什么这个命令不起作用,在我研究过的所有网站上都要求这样做。

编辑

您需要 oracle 企业版来启用分区选项

【问题讨论】:

  • 那么您真的为分区许可证付费了吗?

标签: linux oracle oracle11g database-partitioning


【解决方案1】:

chopt 仍然需要适当设置 oracle 环境,例如

[oracle@db19 ~]$ chopt
bash: chopt: command not found

[oracle@db19 ~]$ . oraenv
ORACLE_SID = [db19] ? 
The Oracle base has been set to /u01/app/oracle

[oracle@db19 ~]$ chopt

usage:

chopt <enable|disable> <option>

options:
                 oaa = Oracle Advanced Analytics
                olap = Oracle OLAP
        partitioning = Oracle Partitioning
                 rat = Oracle Real Application Testing

e.g. chopt enable rat

【讨论】:

  • 该解决方案有效。但是当我启用分区选项时,我的数据库就不再工作了。 enable_partitioning.log里面有一些命令,就是删除oracle文件,运行gcc生成新的oracle文件。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2013-08-26
  • 2012-03-08
  • 1970-01-01
相关资源
最近更新 更多