61阅读

数据库测试-基准测试数据库发现6.5英寸Windows10Mobile设备

发布时间:2017-10-16 所属栏目:benchmarking

一 : 基准测试数据库发现6.5英寸Windows10Mobile设备

目前最大的Windows Phone手机是Lumia 1520,采用6英寸IPS LCD电容触摸屏,支持全高清(1080)分辨率,并有康宁大猩猩2保护涂层。但是,这种情况很快将发生变化,因为俄罗斯OEM厂商Dexp很可能会推出一款屏幕更大的Windows Phone大屏智能手机。这款设备,最近突然出现在GFXBench数据库当中,根据揭示的规格来看,这将是采用Windows 10移动版尺寸最大的智能手机。

数据库所列出的该设备名称是Dexp Ixion W 5,它是由一家俄罗斯公司推出的智能手机。尽管这款产品的5英寸显示屏版本已经在俄罗斯境内上市,运行Windows Phone操作系统,但是,这家OEM厂商已经决定推出屏幕更大的型号。

GFXBench数据库提供的信息显示,它拥有一个巨大的6.5英寸电容触摸屏,720p分辨率,采用 Adreno 305图形处理单元和一个未命名的四核处理器,可能是低端的高通Snapdragon 200 CPU。此外,这款智能手机内建1GB内存和8GB存储空间,1300万像素后置摄像头, 500万像素前置摄像头,用于视频通话和自拍。

http://upload.61k.com/2015/1130/1448896085565.jpg

二 : 数据库基准测试(DatabaseBenchmarking)说明

1 TPC概述(www.61k.com)

对数据库和服务器进行压力测试或者做对比的时候,都是经常会使用HammerDB 或者 Benchmark之类的工具,而且最常用TPCC的标准进行测试。

这里说的TPCC,前3个字母是:TPC 是Transaction Processing Council(事务处理委员会),其提供了量化的方法和标准。

所以我们说的TPCC就是其中一种测试方法。

TPC的官网是:http://www.tpc.org/

benchmarking 数据库基准测试(DatabaseBenchmarking)说明

从图上可以看出,除了TPC-C 之外,还有很多其他的方法,包括废弃的TPC-A,TPC-B,TPC-D,TPC-R,TPC-W。

关于不同的测试方法的区别可以直接点击官网的说明。

2 Oracle 官网对Benchmarking的说明

下文直接引自Oracle 的网站,原文地址已经不存在,文章讲了database benchmarking的原因、标准,和几款测量工具软件。

2.1 Reasons for Benchmarking

Benchmarks are performed for variousreasons. However, benchmarks are primarily used:

* To compare different hardware configurations

Benchmarks can be used to compare the relative performance ofdifferent hardware running the same application. This isgenerally used to directly compare hardware configurations between two hardwarevendors.

* To compare different database vendor software

By running the same benchmark usingdifferent database software on the same machine, one can easily compare betweendifferent database vendors. This is generally usedto make a price/performance decision between vendors such asOracle, Microsoft, IBM, etc.

* To compare different database software releases

Similar to the above, one can use different versions of the samevendor's database software to compare the one they want to use or checkfor performance regressions due to upgrades (i.e. 10g vs. 11g).

2.2 Real World Benchmarks

While there areseveral industry standard benchmarks, most of the time, they don'treflect a company's actual workload. As such, you will often findcustom benchmarks being performed. The goals of a real-world benchmark are thesame reasons mentioned above.

2.3 Industry Standard DatabaseBenchmarks

Industrystandard benchmarks are generally used by businesses to compare differenthardware and software system performance forpurchase-related reasons. While industry standard benchmarks are modelled afterreal-world workloads, they rarely reflect a company's realworkload. However, it is a quick way to compare the performance of varioushardware and software combinations operating in a well-defined scenario. Themajor industry standard benchmarks are listed below.

2.4 Transaction Processing Council(TPC)

The TPC is anon-profit corporation which supports a consortium of hardware and databasesoftware vendors devoted to defining transaction processing anddatabase-related benchmarks. The primary goal behind TPC benchmarks is thedefinition of functional requirements which can be run on any database,regardless of the hardware or operating system. This allows vendors toimplement their own benchmark kits in order to satisfythe functional requirements. Similarly, after having publicly submitted proofthat a benchmark was conducted according to the specification, end-users havemore of an assurance that what they are presented with is avalid, apples-to-apples comparison.

2.4.1 TPC-B

The TPC-B benchmark stresses databases and is characterizedby significant disk input/output, moderate system, application execution time,and transaction integrity. Thisbenchmark targets database management systems (DBMS) batch applications, andback-end database servers. TPC-B is notan OLTP benchmark.

2.4.2 TPC Benchmark C (TPC-C)

The TPC-C simulates an order-entryenvironment where apopulation of terminal operators executes transactions against a database. Thebenchmark is comprised of transactions which include entering and deliveringorders, recording payments, checking the status of orders, and monitoring thelevel of stock at the warehouses. The most frequent transaction consists ofentering a new order which, on average, iscomprised of ten different items. Each warehouse tries to maintain stock for the 100,000 itemsin the Company's catalog and fill orders from thatstock. The performance metric reported by TPC-C measures the number of ordersthat can be fully processed per minute and is expressed in tpm-C. The TPC-Cwill soon be deprecated in favor of the TPC-E.

2.4.3 TPC-D

The TPC-D benchmark represents a broad range ofdecision support (DS) applications that require complex, and long runningqueries against large complex data structures. Real-world business questions were written against this model, andresulted in 17 complex queries.

2.4.4 TPC Benchmark E (TPC-E)

The TPC-E benchmark simulates the OLTP workload of a brokeragefirm. The focus of the benchmark is the centraldatabase that executes transactions related to the firm’s customer accounts.The TPC-E metric is given intransactions per second (tps). It specifically refers to the number ofTrade-Result transactions the server can sustain over a period of time.

2.4.5 TPC Benchmark H (TPC-H)

TheTPC-H is adecision support benchmark which consists of several business-oriented ad-hocqueries and concurrent data modifications. This benchmark illustrates decisionsupport systems that examine large volumes of data, execute queries with a highdegree of complexity, and give answers to critical business questions.

The performancemetric reported by TPC-H is called the TPC-H Composite Query-per-HourPerformance Metric (QphH@Size), and reflects multipleaspects of the capabilityof the system to process queries.

2.5 Standard Performance EvaluationCorporation (SPEC)

2.5.1 Free and Open Source Benchmark Kits

As the benchmarkkits used by various database vendors are proprietary, several open sourcedatabase benchmark kits have been written to implement not only the industrystandard workloads, but others as well.

* Open Source Development Labs Database Test Suite

The OSDL DBT suite is the mostcomprehensive of all open source benchmark kits. While its benchmarkimplementations are based on TPC standards, they differ in someareas and are not certified; making a comparison between a certified TPC-Cresult and OSDL's implementation of TPC-C (DBT-2) impossible. As the originalOSDL DBT suite lacks Oracle support, Oracle has added and released it as partof the Oracle Linux Test kit.

* PolePosition

PolePosition is an open sourcebenchmark test suite to compare database engines and object-relationalmapping technology.

* jTPCC

jTPCC is an open sourceJavaimplementation ofthe TPC-C benchmark. While it claims compliance with TPC-C, it is not.

* BenchmarkSQL

BenchmarkSQL is an open source,easy to use JDBC benchmark which closely resembles the TPC-C standard for OLTP;it was originally based on jTPCC.

* Bristlecone

Bristlecone is a simpleSELECT+INSERT/UPDATE/DELETE throughput and response-time benchmark written in Java.

* FinTime

FinTime is an open source set ofdata and queries which reflects the needs of financial analysts who arestudying patterns in stock market data, but it should appealto the designers of any system that has pretensions of handling ordered datawell.

* Java TPC-W Implementation

This open-source implementation is basedon the TPC-W specification version 1.0.1. Itstrays from the official benchmark specification in a fewminor areas, which are specified in documentationincluded with the distribution. This version itself lacksOraclesupport, butit can be found on the web.

* Swingbench

Swingbench is a free loadgenerator (and benchmarks) designed to stress test an Oracle database(9i,10g,11g).

* OpenLink ODBC Bench

OpenLink ODBC Bench is an open-sourceODBC Benchmarking tool providing real-time comparative benchmarking for ODBCDrivers, Database Engines, and Operating Systems combinations. The Benchmarks in thisapplication are loosely based on the TPC-A and TPC-C standard benchmarks, withmodifications to specifically test the performance of an ODBC Driver and/orDatabase Engine in a client/server environment.

* OpenLink JDBC Bench

Similar to OpenLink's ODBC Bench, this is a JDBC version.

* TPCC-UVa

A free, open-source implementation of the TPC-C Benchmark.

* Hammerora

An open source load generation tool.

2.5.2 Commercial Benchmark Kits

There are several industry standard benchmarks.

* Official Oracle Benchmark Kits

Similar to Microsoft and IBM, the official benchmark kits used byOracle can only be obtained under certain conditions. For more information,contact your Oracle Consulting/Partner/Support representative.

* Real Application Testing

While many wouldn't think of Real Application Testing asa traditional benchmark kit, it does perform workload execution primarily forthe real world benchmarking case.

* Quest Software'sBenchmark Factory for Databases

Benchmark Factory for Databases is aworkload simulation and scalability testing tool that stress tests yourenvironment by simulating users and transactions on the database. You caneither replay production workload or use synthetic workload to test the limitsof your database.

* SPEC jAppServer Benchmark Kit

This can be acquired directly from SPEC.

2.6 Benchmarking-related Books

There are several good books regarding benchmarking. The best I'vefound include the following:

* The Benchmark Handbook: For Database andTransaction Processing Systems (Jim Gray)

A great, albeit outdated book. While several of the benchmarks itdiscusses have been deprecated, it presents good concepts and backgroundinformation regarding benchmarking.

* Performance Analysis of Transaction ProcessingSystems (Wilbur H. Highleyman)

While out of print, this bookpresents both plain-text and math-heavy concepts of queueing and performanceanalysis techniques oriented for OLTP.

* Database Benchmarking: Practical Methods forOracle & SQL Server

This book explores all aspects of database benchmarking and showsyou a real-world approach that ensures that you are prepared forwhatever the future brings to your mission-critical database.

三 : Powerdesigner中如何生成测试数据 - NetSQL - 博客园

NetSQL

博客园首页博问闪存新随笔联系订阅管理随笔-59 文章-0 评论-80 我的标签

数据库设计(6)

CSS(4)

javascript(3)

代码开发(3)

源代码管理(2)

团队管理(2)

文档管理(1)

项目管理工具(1)

需求管理(1)

jQuery(1)

更多

随笔分类(59)

Android (4)

www.61k.com (9)

DataBase(5)

iPhone(2)

javascript(4)

PowerDesigner(10)

设计模式(1)

网络编程

项目管理(20)

用户体验(4)

阅读排行榜

1. oracle创建表空间(175475)

2. PowerDesigner15使用时的十五

个问题(28026)

3. PowerDesigner建立与数据库的连

接,以便生成数据库和从数据库生

成到PD中。(www.61k.com][Oracle 10G版]

(22117)

4. 如何进行数据库,比如ORACLE,

SQL SERVER的逆向工程,将数据

库导入到PowerDesigner中

(6490)

5. PowerDesigner中如何生成主键和

自增列--SQL SERVER版本

(6424)

6. PowerDesigner建立与数据库的连

接,以便生成数据库和从数据库生

成到PD中。[SQL SERVER 2005

版](6181)

7. 数据库的约束简介(5249)

8. 数据库设计:表的设计命名的十个

注意点(5053)

9. PowerDesigner中如何生成主键和

自增列--Oracle版本(4874)Powerdesigner中如何生成测试数据设计表完成以后,我们需要生成一些测试数据,可以直接更新到数据库中,下面我们就来试试:第一步:建立需要的Profiles测试文件,【Model】--【Test Data Profiles】,如图所示:第二步:则打开属性窗口,如图所示,下面要进行详细的介绍了选择不同数据来源,则Detail选项卡是不一样的,数据类型有三种:NUMBER,Character,DATA三种类型,因为一般情况下数据类型也只有这三种类型。数据来源有四种:Automatic 自动生成测试数据;List 利用测试数据值列表生成测试数据Database 利用ODBC数据源生成测试数据File 利用外部文件生成测试数据,比如Excel文档。

中华博客园 Powerdesigner中如何生成测试数据 - NetSQL - 博客园

10. Powerdesigner中如何生成测试

数据(4359) 第三步:选择你要进行自动生成数据的表,然后选择某一列,并打开属性,

第四步,便是生成测试数据了,【Database】--【Generate Test Data】Number of Rows 是需要生成测试记录的数目:

Seelction 是选择哪些表需要生成测试数据。[www.61k.com]

至此,测试数据即可完整生成了。

中华博客园 Powerdesigner中如何生成测试数据 - NetSQL - 博客园

[www.61k.com]

扩展:powerdesigner 博客园 / powerdesigner生成sql / powerdesigner生成pdm

四 : 第19章 数据库测试

第十九章 数据库测试

一、 数据库测试概述

1、数据库现状:

主流数据库系统现状:

代表性作品有:Oracle、 DB2、 Sydbse 、 SQL server

2、数据库系统评测体系

(1) TPC组织提出数据库测试标准,但国际上还没有被普遍接受的数据库综合

评测体系。

(2) 863计划“数据库管理系统测试及其工具开发”课题将测试分为:产品确

认测试、标准符合性测试、基准性能测试及应用综合测试四个方面

二、 产品确认测试

(1) 系统功能测试

1、概述:从扩展性、可靠性、安全性、大数据量、系统功能和用户文档等六个方面来评估数据库的基本功能。

2、测试内容:安全配置、数据库存储管理、模式对象管理(表管理、索引管理、视图管理、约束管理、存储过程管理、触发器管理)、非模式对象管理、交互式查询工具、性能检测与调优、数据迁移工具、作业管理。

3、测试方法:使用黑匣测试方法对数据库管理系统的功能特性进行测试,以功能验证为主。

4、测试用例:设计相应测试用例对每个测试点进行考察。

(2) 可靠性测试

1、测试内容:数据库备份、故障恢复、运行稳定性、数据库复制。

2、测试方法:黑盒测试(功能验证性)

3、测试用例:对测试点分别设计测试用例(利用TPCC测试程序)

(3) 安全性测试:

1、测试内容:用户及口令管理、授权审计管理。

2、测试方法:黑盒测试

3、测试用例设计

(4) 扩展性测试:

1、测试内容:数据库跨平台支持、CPU加速比。

2、测试方法:黑盒测试,在CPU加速比中使用TPCC测试工具。

3、测试用例设计:包括WINDOWS、LINUX和SOLARIS平台。

三、 系统性能测试(详见P597-608)

1、概述①TPC对联机交易处理系统、数据仓库或决策支持系统、电子商务解决方案等特定领域制定的性能测试规范②TPC组织制定的数据库评测规范主要有:TPC-A、TPC-B、TPC-C、TPC-D、TPC-H/ TPC-R、TPC-W等。

2、TPC-C测试:规范概要、测试模型、事务说明、测试指标、测试工具、测试流程、测试结果

3、TPC-W测试:规范概要、测试模型、事务说明、测试指标、测试工具、测试流程、结果分析

4、解读TPC组织公布的性能测试报告

① 检查测试环境的建立过程

五 : 39数据库测试题(完整)

数据库复习题目

一.多选题

1. 如何修改spfile()

A.从spfile生成pfile,修改pfile,再从pfile生成spfile

B.用命令修改:alter system set…..scope=spfile

C.直接用vi命令打开修改

D.通过重新控制文件修改

E.用文本编辑器修改

2. 以下哪些措施有利于数据库的安全()

A. DBA是用sys用户进行日常的操作

B. 确保参数O7_DICTIONARY_ACCESSIBILITY=FALSE

C. 数据库创建后,应立即修改缺省账号的密码并将缺省账号锁定

D. 创建复杂的密码验证函数

E. 重建user_db_links视图,屏蔽password字段

3.在CBO模式下,以下哪些动作可能改变一条sql语句的执行计划()

A.表中迅速增加了大量数据

B.删除一个索引

C.sql中加入hint

D.用不同的用户执行aql

E.反复多次执行sql

4.选出数据库不完全恢复的三种类型()

A.基于命令的恢复

B.基于变更的恢复

C.基于错误的恢复

D.基于时间的恢复

E.基于取消的恢复

二.判断题

1.一个oracle instance能且仅能打开一个数据库。 √ ×

2.8i数据库中,设置数据库参数optimizer_mode=CHOOSE后,数据库就会使用CBO的优化器模式。 √ ×

3.9i数据库中,我可以将sort_area_size参数设置大一些,以提高排序的效率。√ ×

4.The control file of a database is a small binary file.It is necessary for the database to start and operate successfully. √ ×

5.用exp进行数据库备份的好处之一是在不同的os平台上恢复数据库。 √ ×

6.只有处于归档模式的数据库才能创建standby数据库。 √ ×

7.PGA属于shared pool中的一部分。 √ ×

三.单选题

1.cbo优化器模式下,用dbms_stats搜集统计信息,以下哪个参数能够搜集柱状图信息()

A.estimate_percent

B.method_opt

C.granularity

D.cascade

2.用户Tonny需要对你创建的sample_list表做truncate操作,以下最好的实现方法是()

A.只将sample_list表的truncate权限授给Tonny

B.只将sample_list 表的drop权限授权给Tonny

C.创建一个truncate表的procedure,将procedure的执行权限授给Tonny

D.将sample_list表的所有权限授权给 Tonny

3.数据库中,library cache lock和library cache pin等待事件一般可能会在什么情况发生()

A.buffer cache中存在热块争用

B.存在失效对象,并且多个session同时试图编译这个失效对象

C.library cache不够大时

D.session做全表扫描时

4.在导入(IMPORT)过程中,以下哪些表数据对象首先被导入()

A.表定义

B.完整性约束、视图、存储过程和触发器

C.表索引

D.表数据

5.Unix中,哪个运行级用于多用户操作(2级)

A.3

B.1

C.0

D.S

6.对于不经常更新的表,你应该设置()

A.lower PCTUSED

B.higher PCTFREE

C.lower PCTFREE

D.higher PCTUSED

7.Oracle9i,当数据库报ORA-4031,你会从init参数文件的哪个参数区入手解决()

A.SHARED_POOL_SIZE

B.DB_CACHE_SIZE

C.PGA_AGGREGATE_TARGET

D.LOG_BUFFER

8.Which statement about locally managed tablespaces is true?()

A.Tables in locally managed tablespaces should be regularly reorganized.

B.Locally managed tablespaces have dictionary intervention.

C.Extent allocation information for a locally managed tablespace is stored in the tablespace itself.

D.Locally managed tablespaces have more concurrency problems.

9.当需要对连接到数据库的用户user1限制其连接数,需要作()

A.在init文件中修改session参数

B.drop user,重建创建一个新用户

C.使用alter user直接修改用户连接数的值

D.创建一个有连接数限制的profile_new,并把user1的profile修改为profile_new

10.You query VESESSION_WAIT and find that a significant amount of time is spent waiting for space in the redo log buffen.You()

A.Increase the value of the LOG_BUFFER parameter.

B.Move the redo log files to faster disks.

11.关于DBVERIFY,下面描述哪个是对的()

A.它是跟perfstat功能类似的工具

B.它是一个检查数据库字符集的工具

C.它是一个性能检查的工具

D.它是一个检查数据坏块的工具

12.Which buffers are on the dirty list in the database buffer cache()

A.currently being accessed

B.waiting to be written to disk

C.empty buffers

D.empty buffers

13.小张创建了一个DB_BLOCK_SIZE为4K的oracle数据库,但他想把这个值增大到16K,他应该怎么做(create tablespace 。。。。。datafile size 10M blocksize 16K)

A.DB_BLOCK_SIZE不能设置为16K

B.以上两种方法都可以

C.用新的参数值重建数据库

D.运行命令:ALTER SYSTEM SET DB_BLOCK_SIZE=4K

14.ALTER SYSTEM DEFFERED command modifies the global parameters for()

A.existing and new sessions

B.new sessions only

C.existing sessions after a certain amount of time

D.depends on the SPIN_COUNT initialization parameter

15.You plan to backup a database that is running in NOARCHIVELOG mode.How will you proceed?()

A.Back up all data,redo,and control fiel with the database running.

B.Back up all data and redo files with the database running.

C.Shut down the databases and backup only the redo log files.

D.Shut down the databases and backup all data,redo,and control files.

16.启动STANDBY DATABASE时,以下哪个命令是对的?()

A.ALTER DATABASE MOUNT STANDBY DATABASE.

B.ALTER SYSTEM MOUNT STANDBY DATABASE.

C.ALTER DATABASE MOUNT STANDBY.

D.ALTER DATABASE OPEN STANDBY DATABASE.

17.如果需要修改一个数据库的db_name,那么可以()

A.修改OS中的环境变量ORACLE_SID

B.用命令alter database rename to

C.修改初始化参数文件,然后重启数据库

D.通过重建控制文件修改

18.在Oracle8i,以下哪一项会造成对segment header blocks的争用()

A.free lists太多

B.DB_BLOCK_BUFFERS设置的太小

C.free lists太少

D.在cache中有太多的表

19.以下哪些操作不属于DDL操作()

A.update test set a=4where b=’A’

B.alter table test add{b varchar2(3)}

C.truncate table test

D.create table test{a number(2)}

20.什么时候会发生迁移?()

A.当putused被设置到一个相当高的值时

B.在修改一条记录是,所需要的空间大于当前这个数据块中的可用空间时

C.当pctfree被设置到一个相当高的值时

D.当一个数据库块被链接时

21.DBA found a new application runs very solw and he find that the same code inside the application was not formatted in the same way(eg select,SELECT or Select whatever)then he asked developers to standardize the code()

A.By increase the logically read to speed up

B.By increase the physically read to data cache

C.By reuse the parsed code to speed up

22.Which data dictionary view could you query to display the number of extents allocated to the Employee table?(dba_segments)

A.DBA_table

B.DBA_free_space

C.User_table

D.DBA_extents

23.哪个oracle数据库文件用于定位和同步数据库中其他文件()

A.告警日志文件

B.归档重做日志文件

C.控制文件

D.参数文件

24.为了导出属于某个用户的对象,导出程序exp中应该使用哪个参数?()

A.USER

B.SCHEMA

C.OWNER

D.TABLES

一.多选题

1. 选出数据库不完全恢复的三种类型()

A. 基于命令的恢复

B. 基于变更的恢复

C. 基于取消的恢复

D. 基于时间的恢复

E. 基于错误的恢复

2. 对于使用cbo的数据库,收集统计信息的方法()

A. 使用Dbms_refresh提供的包

B. Dbms_refresh提供的包

C. Analyze命令

D. 在init参数文件中设置op timizer_mode=first_rows

E. 在数据库中使用sql_trace

3.10g的automatic shared memory management可以自动设置和调整SGA中各区域的大小,但以下哪些内存仍然需要动手设置()

A.Streams pool

B.Log buffer

C.Shared pool

D.Java pool

E.Database buffer cache

4.如何修改spfile()

A.用文本编辑器修改

B.通过重建控制文件修改

C.直接用vi命令打开修改

D.从spfile生成pfile,修改pfile,再从pfile生成spfile

E.用命令修改:alter system set···scope=spfile

5.为表搜集统计信息后,以下哪些数据字典视图中可以查到统计信息()

A.dba_histograms

B.dba_tables

C.dba_views

D.dba_cons_columns

E.dba_tab_partitions

二.判断题

1.SMON oracle server process performs roll forwarding during instance recovery.

对 错

2.1个Oracle instance能且仅能打开1个数据库。

对 错

3.8i数据库中,设置数据库参数optimizer_mode=CHOOSE后,数据库就会使用CBO的优化器模式。

对 错

4.redo file中包含有数据修改前的值,也包含数据修改后的值。

对 错

5.9i数据库中,我可以将sort_area_size参数设置大一些,以提高排序的效率。

对 错

6.只有处于归档模式的数据库才能创建standby数据库。

对 错

7.PGA属于shared pool中的一部分。

对 错

39数据库测试题(完整)_数据库测试

8.数据库等待事件dbfile sequential read是做全表扫描时产生IO等待。 对 错

三.单选题

请问该执行计划中最先执行的步骤是() A.|INDEX RANGE SCAN|IN_SYNCHR|

B.|TABLE ACCESS BY GLOBAL I|COVERAGE C.|SELECT STATEMENT|

D.|INDEX RANGE SCAN|IN_POLICY|

2.cbo优化器模式下,用dbms_stats搜集统计信息,以下哪个参数能够搜集柱状图信息() A.method_opt B.granularity C.cascade

D.estimate_percent

3.用户Tonny需要对你创建的sample_list表做truncate操作,以下最好的实现方法是() A.将sample_list表的所有权限授权给tonny B.只将sample_list表的drop权限授权给tonny

C.创建一个truncate表的procedure,将procedure的执行权限授给tonny D.只将sample_list表的truncate权限授给tonny

4.数据库中,library cache lock和library cache pin等待事件一般可能会在什么情况发生() A.session做全表扫描时

B.存在失效现象,并且多个session同时试图编译这个失效现象 C.library cache不够大时

D.buffer cache中存在热块争用

5.9i及以上版本数据库中,你会用以下哪一条语句创建自动管理的本地表空间()

A.create tablespace prddata logging datafile’/oradata/prddata01.dbf size 500m extent management local uniform size 1m

B. create tablespace prddata logging datafile’/oradata/prddata01.dbf size 500m default storage(next 1m pctincrease 0 maxextents unlimited)

C. create tablespace prddata logging datafile’/oradata/prddata01.dbf size 500m extent management local uniform size 1m segment space management auto

D. create tablespace prddata logging datafile’/oradata/prddata01.dbf size 500m

6.Unix中,在一个目录中有如下文件:abc aabc bac baac bca bcaa 命令“Is*a?”会列出哪些文件() A.abc aabc B.abd bac baac C.bac baac bcaa D.bac baac bca bcaa

7.在导入(IMPORT)过程中,以下哪些表数据对象首先被导入() A.表索引 B.表定义 C.表数据

D.完整性约束、试图、存储过程和触发器 8.Oracle数据库中最小的逻辑单位() A.Extent B.Segment C.Block

D.Tablespace

9.Unix中,哪个运行级用于多用户操作() A.0 B.1 C.3 D.s

10.Oracle9i,当数据库报ORA-4031,你会从init参数文件的哪个参数去入手解决() A.DB_CACHE_SIZE

B.PGA_AGGREGATE_TARGET C.SHARED_POOL_SIZE D.LOG_BUFFER

11.使用LOGMINER恢复archive log文件,视图$logmnr_contents中不包含() A.SCN号

B.archive logfile路径 C.Sql_redo D.table_name

12.Which statement about locally managed tablespaces is true() A.Locally managed tablespaces have dictionary intervention

B.Tables in locally managed tablespaces should be regularly reorganized

C.Extent allocation information for a locally managed tablespace is stored in the tablespace itself D.Locally managed tablespaces have more concurrency problems

13.当需要对连接到数据库的用户user1限制其连接数,需要作() A.使用alter user直接修改用户连接数的值

B.创建一个有连接数限制的profile_new,并把user1的profile修改为profile_new C.drop user,重建创建一个新用户 D.在init文件中修改session参数

14.You query V$SESSION_WAIT and find that a significant amount of time is spent waiting for space in the redo log buffer.You cannot increase the size of the() A.Improve the archiving process

B.Move the redo log files to faster disks

C.Increase the value of the LOG_BUFFER parameter D.Do nothing.This value is optimal

15.Unix操作系统中,/etc/passwd记录那些信息() A.记录用户的UID、GID B.记录用户的权限 C.记录用户的口令密文 D.记录用户的创建日期

16.When using Recovery Manager,What must be allocated before you execute backup and recovery command() A.Pipe

B.Media management layer C.Channel

D.Tape storage device

17.You are configuring local naming using Net8 Assistant and want the tnsnames.ora file read for resolution before the host file is read.Which file can you () A.sqlnet.ora B.inin.ora

C.tnsnames.ora D.listener.ora

18.Which buffers are on the dirty list in the database buffer cache?() A.empty buffers

B.waiting to be written to disk C.currently being accessde D.empty buffers

19.小张创建了一个DB_BLOCK_SIZE为4K的oracle数据库,但他想把这个值增大到16K,他应该怎么做()

A.运行命令:ALTER SYSTEM SET DB_BLOCK_SIZE=4K B.以上两种方法都可以

C. DB_BLOCK_SIZE不能设置为16K D.用新的参数值重建数据库

20.You plan to backup a database that is running in NOARVHIVELOG mode.How will you proceed? A.Shut down the database and backup only the redo log files B.Back up all data and redo files with the database running

C.Shut down the database and backup all data,redo,and control files D.Back up all data,redo,and control fiel with the database running 21.为什么要将数据库设置在ARCHIVELOG模式()

A.可以完全恢复数据库或将其恢复到某一特定的时间点上 B.数据文件在联机时可以被压缩 C.控制文件需要保存以便安全存放 D.服务器有额外的磁盘空间需要填充

22.在Oracle8i,以下哪一项会造成对segment header bolcks的争用() A.free lists太少 B. free lists太多

C.DB_BLOCK_BUFFERS设置的太小 D.在cache中有太多的表

23.以下哪些操作不属于DDL操作() A.truncate table test

B.alter table test add(b varchar2(3)) C.update test set a=4 where b=’A’ D.create table test(a number(2))

24.以下哪一个文件用于配置oracle的multithreaded server() A.init.ora B.listener.ora C.tnsname.ora D.sqlnet.ora

25.在线重建索引的命令,下面哪个是对的() A.alter index user1.ind_emp online rebuild B.alter index user1.ind_emp rebuild online C.alter table emp rebuild index ind_emp online D.alter table emp(ind_emp)rebuild online

26.在生产数据库中,I/O非常高,你已经将数据文件在磁盘上进行了条带化,但是没能解决这个问题。然后你认为应该现在以下哪个进行调优() A.操作系统 B.闩锁争用 C.内存

D.应用程序代码

27.You issued a CREATE DATABASE command that failed because you were attempting to create log files that already existed.What should you do before reissuing()

A.Change the REUSE options in the LOGFILE parameter of the CREATEDATABASE command,

B.Shut down the instance,delete any files created by the CREATEDATABASE command,and change theSIZE options to REUSE in the LOGFILE parameter of the CREATEDATABASE command

C.Shut down the instance and change the SIZE options to REUSE in the LOGFILE parameter of the CREATEDATABASE command

D.Issue the DROP DATABASE command and change the SIZE options to REUSE in the LOGFILE parameter of the CREATEDATABASE command

28.恢复管理器使用目录(CATALOG)跟踪备份和数据库信息。为什么要使用RMAN的恢复目录()

A.如果目标控制文件丢失,它可以作为一个替代 B.RMAN可以更有效地运行 C.ORACLE要求 D.排序存储

29.Oracle数据库启动的命令,哪个是不对的?() A.startup restrict B. startup immediate C. startup mount D. startup nomount

30.DBA found a new application runs very slow and he find that the same code inside the

application was not formatted in the same way(eg select,SELECT or Select whatever)then he asked developers to standardize the code() A.By increase the logically read to speed up B.By reuse the parsed code to speed up

C.By increase the physically read to data cache

31.在数据库的并发控制中,事务T若要更新记录Q,必须先执行操作() A.Lock_S(Q) B.Lock_X(Q) C.WRITE(Q) D.READ(Q)

32.Which data dictionary view could you query to display the number of extents allocated to the Employee table?() A.DBA_free_space B.DBA_extents C.User_tables D.DBA_table

33.以下哪一个shutdown的模式,不等待所有未提交的事务回滚而立即关闭数据库() A.ABORT B.IMMEDIATE C.NORMAL

D.TRANSACTIONAL

34.在数据库中,联机重做日志文件有什么用?() A.向WEB页面发布数据库内容 B.为数据库启动存储参数

C.连接时让用户撤销对数据库的改变 D.记录数据的更改

35.You are an oracle DBA.You grant John”CREATE TABLE WITH ADMIN OPTION”,then you revoke”CREATE TABLE”from John.() A.All John’s table are dropped

B.John still can’t create table but still can grant to others C.John can’t create tables or grant”CREATE TABLE”to others

D.John still can create table because ‘WITH ADMIN OPTION”is not specified 36.哪个oracle数据库文件用于定位和同步数据库中其他文件() A.归档重做日志文件 B.参数文件 C.告警日志文件 D.控制文件

37.为了导出属于某个用户的对象,导出程序exp中应该使用哪个参数() A.SCHEMA B.TABLES C.USER D.OWNER

本文标题:数据库测试-基准测试数据库发现6.5英寸Windows10Mobile设备
本文地址: http://www.61k.com/1084005.html

61阅读| 精彩专题| 最新文章| 热门文章| 苏ICP备13036349号-1