Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
вопрос из 70-229
|
|||
|---|---|---|---|
|
#18+
Есть в uCertify 2 идентичных на мой взгляд вопроса, но с разными ответами и объяснениями. 1. Q. Vou are a developer of a database named Inventory. You have created four queries, which will run at the same time. To improve the performance, you design and create the indexes for the database tables. How will you ensure that you have created useful indexes? A. Run the Index Tuning Wizard against a workload file that contains the queries used in the reports. B. Run System Monitor, and use the SQLServer: Access Methods counter. C. Execute the queries against the tables in SQL Query Analyzer, and use the SHOWPLAN_TEXT option. D. Create a SQL Profiler trace, and use the Objects event classes. Analysis. Answer option C is correct. To ensure that you have created useful indexes, run each query in SQL Query Analyzer with SET SHOWPLAN_TEXT option. SET SHOWPLAN_TEXT statements return only query or statement's execution plan information and do not execute the query or statement. The execution plan is very useful for understanding the performance characteristics of a query. Additionally, SQL Query Analyzer shows suggestions for additional indexes and statistics on nonmdexed columns that would improve the ability of the query optimizer to process a query efficiently. 2. Q. Vou work as a Database Developer for uCertify Inc. The company uses SQL Server database to maintain sales information. Vou are designing multiple reports, which will be running simultaneously. Vou write queries for each report and create indexes based on the requirements of the queries. What will you do to ensure that you have created useful indexes? A. Run System Monitor and use the SQLServer: Access Methods counter. B. Execute the queries against the tables in SQL Query Analyzer and use the SHOWPLAN_TEXT option. C. Create a SQL Profiler trace and use the Objects event classes. D. Run the Index Tuning Wizard against a workload file that contains the queries used in the reports. Analysis. Answer option D is correct. Vou should run the index Tuning Wizard against a workload file that contains the queries used in the reports to ensure that you have created useful indexes. The Index Tuning Wizard suggests an optimal set of indexes for a database based on the workload file. A workload file can include SQL scripts or a SQL Profiler trace. The Index Tuning Wizard analyzes the workload and recommends an index configuration that will improve the performance of the database. Vou can match the recommendation with existing set of indexes to determine that you have created useful indexes. Answer options C and A are incorrect. Vou cannot determine a useful set of indexes by using SQL Profiler trace or System Monitor utility. Answer option B is incorrect. Executing the queries in SQL Query Analyzer and using the SHOWPLAN_TEXT option will give you a plan for execution, but it will not suggest the index. Although you can conclude the effectiveness of the existing index by studying the query plan, you require good understanding of the SQL Server query plan. Moreover, using this option will not recommend an index configuration that will improve database performance. Hence, this is not a good choice. Видит ли кто-нибудь между ними разницу? Какой ответ считать верным? Почему? Хочется услышать мнение профессионалов. Спасибо. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2004, 09:13 |
|
||
|
вопрос из 70-229
|
|||
|---|---|---|---|
|
#18+
первый вопрос сводится к "как проверить индексы", а второй - "как создавать индексы" понятно, что план выполнения не предлагает никаких вариантов индекса, а визард - предлагает, поэтому проверяем индексы составлением плана выполнения(1 вопрос), создаем их визардом (2 вопрос) ------------------ Best regards, _bob ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2004, 09:38 |
|
||
|
вопрос из 70-229
|
|||
|---|---|---|---|
|
#18+
В первом случае индексы уже созданы и спрашивается как проверить их полезность. Во втором создание индексов только в процессе. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2004, 09:40 |
|
||
|
вопрос из 70-229
|
|||
|---|---|---|---|
|
#18+
Q1.How will you ensure that you have created useful indexes? Q2.What will you do to ensure that you have created useful indexes? Или я ничего не понимаю во временах английского языка или одно из двух. В обоих вопросах спрашивается одно и тоже, а ответы разные - прикольно. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2004, 09:49 |
|
||
|
вопрос из 70-229
|
|||
|---|---|---|---|
|
#18+
2pkarklin Полностью поддерживаю. Время одно. Свидетельствует об окончании какого-либо действия в прошлом. Т.е. индексы уже созданы. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2004, 09:59 |
|
||
|
вопрос из 70-229
|
|||
|---|---|---|---|
|
#18+
Во втором варианте видим Vou are designing multiple reports, which will be running simultaneously т.е. действие происходит в настоящее время и имеет продолженный характер. Чего в первом варианте нет, там все в прошлом. Но спрашивается-то вроде бы действительно одно и то же: как проверить полезность индексов. Или под выбором вариантов в визарде и понимается "проверка полезности" индекса? Кучеряво. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.12.2004, 10:23 |
|
||
|
|

start [/forum/topic.php?fid=34&msg=32843074&tid=1551773]: |
0ms |
get settings: |
7ms |
get forum list: |
13ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
45ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
43ms |
get tp. blocked users: |
1ms |
| others: | 211ms |
| total: | 337ms |

| 0 / 0 |
