|
Коварство экзамена 70-229: sp_recompile vs WITH RECOMPILE
|
|||
---|---|---|---|
#18+
You are a database developer for Wingtip Toys. The company tracks its inventory in a SQL server 2000 database. You have several queries and stored procedures that are executed on the database indexes to support the queries have been created. As the number of catalogued inventory items has increased, the execution time of some of the stored procedures has increased significantly. Other queries and procedures that access the same information in the database have not experienced an increase in execution time. You must restore the performance of the slow-running stored procedures to their original execution times. What should you do? A. Always use the WITH RECOMPILE option to execute the slow-running stored procedures B. Execute the UPDATE STATISTICS statement for each of the tables accessed by the slow-running stored procedures. C. Execute the sp_recompile system stored procedure for each of the slow-running procedures D. Execute the DBCC REINDEX statement for each of the tables accessed by the slow-running stored procedures Думаю, что ответ C, т.к. A слишком категоричен :) ... |
|||
:
Нравится:
Не нравится:
|
|||
18.11.2002, 16:01 |
|
Коварство экзамена 70-229: sp_recompile vs WITH RECOMPILE
|
|||
---|---|---|---|
#18+
Все правильно т.к. только " some of the stored procedures has increased significantly" в то время как "Other queries and procedures that access the same information" не испытывают проблем. ... |
|||
:
Нравится:
Не нравится:
|
|||
18.11.2002, 17:34 |
|
|
start [/forum/topic.php?fid=34&fpage=64&tid=1552139]: |
0ms |
get settings: |
9ms |
get forum list: |
13ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
32ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
40ms |
get tp. blocked users: |
1ms |
others: | 264ms |
total: | 380ms |
0 / 0 |