请问:如何测试出当前数据库的I/O能力
很多时候,有一种问题,就是为啥我insert慢,建索引慢,建物化视图慢。。。
如果我们可以估算出SQL需要的总I/O大小的时候,又找出当前数据库的I/O能力 per second,从而可以得出一个执行过程的大概时间呢?
Oracle的参数actual db_file_multiblock_read_count*block size 计算出的是oracle 一次I/O的大小,一次的时间又是多好呢?
I/O在不同的硬件上,并发度也不同,所以这个判断不了。
那么,有没有办法可以测试出一个数据库 当前 每秒的最大I/O大小呢?
谢谢各位 大侠解疑。
In many case,there is a question,why so slowly in my inserting,creating index, materialized view ...
I think if we can estimate the whole I/O throughput of current SQL statement, and we know the datebase's capability of I/O per second,so we could caculate the probable time of the executing process
Oracle has a parameter: actual db_file_multiblock_read_count*block size can caculate I/O throughput at a time ,but not one second,we don't know the exact seconds of a time,and in various hardware there are different performence,so I can't estimate.
Is there any approach to find the I/O thoughput per second? ??byte/1 second
Thank you very much..
|