简体   繁体   English

Linuc Oracle 11g使用chopt进行分区

[英]Linuc Oracle 11g enable partitioning using chopt

I ran the following query: 我运行了以下查询:

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

And the result is: 结果是:

false

On directory oracle/product/11.2.3/bin/, I'm trying to run this command to enable the partition option: 在目录oracle / product / 11.2.3 / bin /上,我正在尝试运行以下命令来启用分区选项:

chopt enable partitioning

And the error occurs: 并发生错误:

-bash: chopt: command not found

I'm not understanding why this command does not work, and on all the sites I've researched ask to do that way. 我不明白为什么该命令不起作用,在我研究过的所有站点上都要求这样做。

EDIT 编辑

You need oracle enterprise edition to enable partitioning option 您需要oracle企业版才能启用分区选项

chopt still needs the oracle environment set appropriately, eg 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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM