简体   繁体   English

比较oracle 11g性能统计ASM-FileSystem

[英]compare oracle 11g performance statistics ASM-FileSystem

Im pretty new to oracle databases. 我对oracle数据库还很陌生。 The situation I have right now is that I need to extract and compare read/write performance statistics between File System and ASM in Oracle 11g Database Infrastructure R2. 我现在遇到的情况是,我需要提取并比较Oracle 11g数据库基础结构R2中文件系统和ASM之间的读写性能统计信息。

I currently have two virtual machines, one is configured as File System and the other one is ASM (diskgroups are ok and good to go). 我目前有两个虚拟机,一个配置为文件系统,另一个配置为ASM(磁盘组可以正常运行)。 Both running win7 pro x64 in separate physical HDDs on my computer. 两者都在我计算机上的单独物理HDD中运行win7 pro x64。

The test that I came up with is to create a table in both DBs, and using a custom sequence I created, insert 100,000 records on them. 我想到的测试是在两个数据库中创建一个表,并使用我创建的自定义序列在它们上插入100,000条记录。 Next thing, I will need to see how well did ASM performed compared to File System in terms of performance. 接下来,我将需要查看ASM在性能方面与文件系统相比表现如何。

The problem? 问题? I dont know how to pull the performance statistics so that I can compare them. 我不知道如何提取性能统计信息,以便可以对其进行比较。 Can someone please help? 有人可以帮忙吗? It'll be much appreciated. 将不胜感激。

SQL> create sequence SQX
     start with 1
     increment by 1;

SQL> create table test(
     x number(9),
     y date);

SQL> begin
     for i in 1.. 100000 loop
     insert into test(x,y) values(SQX.nextval,sysdate);
     end loop;
     end;
     /

You don't use the good method. 您没有使用好的方法。 The performance of the I/O system can be only evaluated with specific tools such as ORION (and some others). 只能使用特定工具(例如ORION(和其他一些工具))评估I / O系统的性能。

This article from Tim Hall gives you a good overview of the possibilities you have: [ http://oracle-base.com/articles/misc/measuring-storage-performance-for-oracle-systems.php] . 蒂姆·霍尔(Tim Hall)的这篇文章很好地概述了您所拥有的可能性:[ http://oracle-base.com/articles/misc/measuring-storage-performance-for-oracle-systems.php]

Regards, Cyryl 问候,西里尔

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

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