Performance & Scalability Flashcards

1
Q

You are investigating a performance problem in an application, and you wish to identify the busiest routines, and also the lines of code where the busiest routines spend the most amount of time.
Which TWO of the following actions are the most suitable for gathering this information?

a. Use the ^BLKCOL utility from the IRIS command prompt
b. Use the ^%SYS.MONLBL utility from the IRIS command prompt
c. Use the ^JOBEXAM utility from the IRIS command prompt
d. Use the ^PERFMON utility from the IRIS command prompt
e. Use the ^mgstat utility from the IRIS command prompt

A

b. Use the ^%SYS.MONLBL utility from the IRIS command prompt

d. Use the ^PERFMON utility from the IRIS command prompt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which of the following methods allows you to gather statistics for the current process or job?

a. setSQLStatsFlag()
b. setSQLStatsFlagByNS()
c. setSQLStatsFlagJob()
d. setSQLStatsFlagByPID()

A

c. setSQLStatsFlagJob()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which keyword can be used in a SELECT, INSERT, UPDATE or DELETE statement to gather performance analysis statistics ?

a. %STATISTICS
b. %SQLSTATSFLAG
c. %SQL
d. %PROFILE

A

d. %PROFILE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

If you export Query Performance Statistics, and do not specify an output directory, to which of the following sub-directories will the file be written by default:

a. The Log directory
b. The Mgr directory
c. The SQL directory
d. The Stats directory

A

b. The Mgr directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which of the following is NOT a valid output file format for exporting Query Performance Statistics ?

a. P (text)
b. D (comma-separated data)
c. X (XML markup)
d. H (HTML markup)
e. U (User-defined delimiter)

A

e. U (User-defined delimiter)

The correct value is Z for User-defined delimiter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which of the following will export the Query Plan ?

a. exportSQLStats
b. saveStatsSQL
c. saveSQLStats
d. exportStatsSQL

A

d. exportStatsSQL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

RunCount shows the number of times a query has been run since which of the following ?

a. the last time the query was compiled
b. the last time the query was run
c. system start-up
d. the last time that statistics were gathered

A

a. the last time the query was compiled

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which IRIS component enables a distributed caching architecture ?

a. Distributed Cache Protocol (DCP)
b. Enterprise Cache Protocol (ECP)
c. Enterprise Protocol Cluster (EPC)
d. Horizontal Cluster Protocol (HCP)

A

b. Enterprise Cache Protocol (ECP)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly