powered by simpleCommunicator - 2.0.46     © 2025 Programmizd 02
Форумы / Сертификация и обучение [игнор отключен] [закрыт для гостей] / Коварство экзамена 70-229: sp_recompile vs WITH RECOMPILE
2 сообщений из 2, страница 1 из 1
Коварство экзамена 70-229: sp_recompile vs WITH RECOMPILE
    #32069082
Фотография jimmers
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
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 слишком категоричен :)
...
Рейтинг: 0 / 0
Коварство экзамена 70-229: sp_recompile vs WITH RECOMPILE
    #32069208
Glory
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Все правильно т.к. только " some of the stored procedures has increased significantly" в то время как "Other queries and procedures that access the same information" не испытывают проблем.
...
Рейтинг: 0 / 0
2 сообщений из 2, страница 1 из 1
Форумы / Сертификация и обучение [игнор отключен] [закрыт для гостей] / Коварство экзамена 70-229: sp_recompile vs WITH RECOMPILE
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]