Performance Optimization and Testing
Covers SQL query optimization, database indexing and performance, performance testing tools, load testing, and system performance metrics
Questions
We can create a Load Runner script without Recording the application workflow , just by manual coding
- True
- False
Which of these options is a type of Performance Testing?
- Load Testing
- Volume Testing
- Stress Testing
- All Of The Above
On a single processor system, if the CPU utilization is u% and a transaction takes a CPU time of t seconds, the overall time including wait time for the transaction to execute is
- t*100/(100-u)
- t*u/(100-u)
- t*100/u
- t*u/100
A quicksort algorithm to sort n records has a performance proportional of the order of
- n
- n squared
- n log(n)
- e raised to n
Different types of Indexes available
- B*Tree
- Bitmap
- Bmap
- Function Based Indexes
Leaf nodes of B*Tree index are connected by
- Doubly Linked list
- Singly linked list
- Pointers
- Structures
Different steps in SQL execution
- a. Parse
- b. Fetch
- c. Retrieve
- d. Bind
- e. Execute
Hard parse is expensive than Soft Parse
- True
- False
Ideal Elapsed time for a SQL in OLTP type of Application
- Less than 10ms
- 100ms
- 150ms
- 50ms
Usage of Hints is advisable in a SQL statement
- True
- False
Provision should be there for Blind searches
- True
- False
Which of the following can be used as first steps to tune SQL Statements
- Explain Plan
- Trace
- Parse
- Bind
Ideal Blocks/Row ratio for selecting data from a table . BLocks=Number of BLocks accessed ROws=Number of rows retrieved
- 5
- 10
- 100
- 1
Bind variables should be used in SQL statements
- True
- False
How many minimum join conditions should exist if a SQL statement has 3 tables
- 1
- 2
- 3
- 4
The Oracle optimizer should be controlled in choosing the type of joins
- True
- False
It is a good practice to update all the columns in a Table, than only changed columns.
- True
- False
Always fetch all the columns data from the table
- True
- False
Which is the Java Profiler developed by TCS
- JProfiler
- YourKit
- Jensor
- DataXplod
Which is the most popular Performance Testing Tool
- Rational Performance Tester
- HP Load Runner
- JMeter
- Open STA