51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2449|回复: 7
打印 上一主题 下一主题

如何对添加Oracle服务器的监控?

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2006-11-21 13:30:57 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在Database Server Resource Graphs节点下,选择Oracle,在Add Measurements窗口中,添加了Oracle服务器IP,在Oracle Logon窗口中输入帐号,密码及服务名,完成添加, 出现下面的提示信息:

Could not find V$SYSSTAT V$SESSTAT V$STATNAME V$INSTANCE V$SESSION V$PROCESS.
Check their access permission.

请问怎么解决这个问题?
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2006-11-22 20:06:55 | 只看该作者
怎么没人回答???
回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2006-11-23 08:57:39 | 只看该作者

How to set oracle monitor.

To configure the Oracle database monitor to monitor multiple instances:
1. Right-click and select "Add measurements" in the Oracle monitor graph from the Controller.
2. Click on the "Add" button for "Monitor Server Machines" and enter the <machine>:<Oracle_instance> information.
   a. For multiple instances, add <machine>:<Oracle_instance1>, then add <machine>:<Oracle_instance2>,etc. Repeat the same process until you added all the instances.
   b. For multiple database servers, add <machine1>:<Oracle_instance>, then add <machine2>:<Oracle_instance>, etc. Repeat the same process until you added all the database servers.
3. Highlight <machine>:<Oracle_instance>, click on the "Add" button for "Resource Measurements on."
4. Fill in the appropriate information in the Oracle Logon window.
5. Click <OK>.
6. Repeat the same process for all the database servers or database instances
回复 支持 反对

使用道具 举报

该用户从未签到

4#
发表于 2006-11-23 08:58:21 | 只看该作者

What permissions are needed to monitor an Oracle server

In order to use the Oracle Monitor, you need to be able to see the following V$ tables:

   V$STATNAME
   V$INSTANCE
   V$SESSION
   V$SESSTAT
   V$SYSSTAT
   V$PROCESS

1. Open up SQL*Plus. Login with the same user ID and password supplied in the Controller when setting up the Oracle Monitor. Run the following SQL statement:

   SELECT * FROM V$STATNAME;

2. If you get a "Table or view does not exist" message, have your DBA grant "SELECT_CATALOG_ROLE" permission for the corresponding useid. This will give read permission to the table.

3. Repeat steps 1 and 2 for all the tables above.
回复 支持 反对

使用道具 举报

该用户从未签到

5#
发表于 2006-11-23 08:58:46 | 只看该作者
ok?
please try again!
回复 支持 反对

使用道具 举报

该用户从未签到

6#
 楼主| 发表于 2006-11-24 12:53:45 | 只看该作者
thank you in advance, try it later ;)
回复 支持 反对

使用道具 举报

该用户从未签到

7#
 楼主| 发表于 2006-11-24 13:00:03 | 只看该作者
OMG~~so many measurements....

where can I ge the specification for these measurements?
回复 支持 反对

使用道具 举报

该用户从未签到

8#
发表于 2006-11-27 00:09:39 | 只看该作者
Which Counters to choose?

The 10 most recommended metrics are taken from the V$SYSSTAT table:

•        CPU used by this session - This is the amount of CPU time (in 10s of milliseconds) used by a session between when a user call started and ended. Some user calls can complete within 10 milliseconds and as a result, the start and end user-call time can be the same. In this case, 0 milliseconds are added to the statistic. A similar problem can exist in the reporting by the operating system, especially on systems that suffer from many context switches.

•        Bytes received via SQL*Net from client - The total number of bytes received from the client over Net8.

•        Logons current - The total number of current logons. This statistic is useful only in V$SYSSTAT.

•        Opens of replaced files - The total number of files that needed to be reopened because they were no longer in the process file cache.

•        User calls - Oracle allocates resources (Call State Objects) to keep track of relevant user call data structures every time you log in, parse, or execute. When determining activity, the ratio of user calls to RPI calls, give you an indication of how much internal work gets generated as a result of the type of requests the user is sending to Oracle.

•        SQL*Net roundtrips to/from client - Total number of Net8 messages sent to and received from the client.

•        Bytes sent via SQL*Net to client - The total number of bytes sent to the client from the foreground process(es).

•        Opened cursors current - The total number of current open cursors.

•        DB block changes - Closely related to consistent changes, this statistics counts the total number of changes that were made to all blocks in the SGA that were part of an update or delete operation. These are changes that are generating redo log entries and hence will be permanent changes to the database if the transaction is committed. This statistic is a rough indication of total database work. This statistic indicates (possibly on a per-transaction level) the rate at which buffers are being dirtied.
•        Total file opens - The total number of file opens being performed by the instance. Each process needs a number of files (control file, log file, database file) in order to work against the database.
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-24 05:53 , Processed in 0.074497 second(s), 26 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表