我想从下面的查询输出中获取单行输出
select @@hostname,count(*) "RECOMMENDED_PATCHES" from test.PATCHES
union all
select @@hostname,count(*) "PATCH_VERSIONS" from test.PATCH_VERSIONS
output:
ct-test-02 79
ct-test-02 0
expected output:
ct-test-02 79 0
我想从下面的查询输出中获取单行输出
select @@hostname,count(*) "RECOMMENDED_PATCHES" from test.PATCHES
union all
select @@hostname,count(*) "PATCH_VERSIONS" from test.PATCH_VERSIONS
output:
ct-test-02 79
ct-test-02 0
expected output:
ct-test-02 79 0
我已经使用 emcli 在 oem 中成功发现了一个新的存储节点
./emcli add_target -type=oracle_exadata -name="da13cel04.myhost.com" -host="da13db01.myhost.com" -properties="CellName:da13cel04.myhost.com;MgmtIPAddr:10.92.43.23"
Target "da13cel04.myhost.com:oracle_exadata" added successfully
但现在我想在 em 中现有的 exadata 存储网格目标下添加这个单元节点,我在下面尝试过,但没有帮助
./emcli modify_target -type=’oracle_exadata_grid’ -name=’Exadata Grid da13.myhost.com’ -properties=’Members:da13cel01.nyhost.com,da13cel02.myhost.com,da13cel03.myhost.com,da13cel04.myhost.com’
需要帮忙
提前致谢