linux - Linux Oracle 11g 使用 chopt 启用分区

标签 linux oracle oracle11g database-partitioning

我运行了以下查询:

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

结果是:

false

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

chopt enable partitioning

错误发生:

-bash: chopt: command not found

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

编辑

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

最佳答案

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

关于linux - Linux Oracle 11g 使用 chopt 启用分区,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54599468/

相关文章:

java - 如何找到hibernate和直接运行sql的查询区别?

java - Oracle JDBC 连接 : no ocijdbc9 in java. library.path

oracle - 将列添加到 Oracle 中的现有索引

java - 如何在多线程 Java 应用程序中安全地使用 OracleDriver.defaultConnection()?

java - 断言错误 : negative time oracle 11

java - 如何在 Linux 终端中为 Java 使用 apache commons io?

linux - 检查命令输出中的字段是否为空

c# - ORA-01460 触发器在 select 语句上不一致

linux - if 将 tortoiseSVN 更新检查到 linux bash 的条件

linux - 如何在 Linux 中打印出物理内存的大小