Отправляет email-рассылки с помощью сервиса Sendsay

MS SQL Server

  Все выпуски  

MS SQL Server - дело тонкое...


Информационный Канал Subscribe.Ru

#255<<  #256

СОДЕРЖАНИЕ

1.СТАТЬИ
1.1.Основы I/O в SQL Server 2000 (продолжение)
1.2.Руководство по работе с Microsoft SQL Server 2000 Analysis Services (продолжение)
1.3.Автоматизация исполнения DTS
2.ССЫЛКИ НА СТАТЬИ
2.1.Статьи на русском языке
2.2.Англоязычные статьи
3.ФОРУМ SQL.RU
3.1.Самые популярные темы недели
3.2.Вопросы остались без ответа
4.АНОНСЫ
4.1.Новый конкурс на GotDotNet.ru!

СТАТЬИ

Основы I/O в SQL Server 2000 (продолжение)

По материалам статьи Bob Dorr: SQL Server 2000 I/O Basics
Перевод Александра Гладченко

SQLIOStress.exe

Программа стрессового тестирования SQLIOStress (начиная с версии 4.00.020) содержит специальный код, позволяющий быстро обнаружить проблемы чтения устаревших данных и оборванную запись. Добавление параметра (-H) провоцирует утилиту на более агрессивную симуляцию упреждающего чтения и позволяет быстро вызвать проявление указанных проблем.
Представленный ниже фрагмент отчёта о работе SQLIOStress с включённым параметром (-H), демонстрирует наличие проблем у тестируемого дискового контроллера.
Когда проявляется проблема, запись о ней и сам читаемый образ сохраняются в журнал работы, а так же результаты запросов к API, которые при этом были сделаны.

10/02/03 16:56:26 00001832 ERROR: Stale read check failure. Page image returned does not match previous write. Check hardware and caches. Read size was 8192
10/02/03 16:56:26 00001832
10/02/03 16:56:26 00001832 ---------------- Write Image
10/02/03 16:56:26 00001832 Overlapped: 0x0AA91000 Used: Y Complete: 1 Event: 0 Offset: 41951232 OffsetHigh: 0 Internal: 0 Internal High: 8192
10/02/03 16:56:26 00001832 Sector: 0 LSN: 8 Page: 5121 Address: 0x0D16DFA8
10/02/03 16:56:26 00001832 [AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAA]
10/02/03 16:56:26 00001832 Sector: 15 LSN: 8 Page: 5121 Address: 0x0D16FDA8
10/02/03 16:56:26 00001832 [AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA]
10/02/03 16:56:26 00001832 ---------------------------------------------------------------------------
10/02/03 16:56:26 00001832 ---------------- Read Image
10/02/03 16:56:26 00001832 Overlapped: 0x0D16DEEC Used: Y Complete: 1 Event: 868 Offset: 41951232 OffsetHigh: 0 Internal: 0 Internal High: 8192
10/02/03 16:56:26 00001832 Sector: 0 LSN: 0 Page: 5121 Address: 0x0AA81000
10/02/03 16:56:26 00001832 [ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ ZZZZZZZZZZZZZZZZ]
10/02/03 16:56:26 00001832 Sector: 15 LSN: 0 Page: 5121 Address: 0x0AA82E00
10/02/03 16:56:26 00001832 [ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ ZZZZZZZZZZZZZZZ]
10/02/03 16:56:26 00001832 ---------------------------------------------------------------------------
10/02/03 16:56:26 00001832
10/02/03 16:56:26 00001832 Dumping API Trace Information
10/02/03 16:56:26 00001832 ---------------------------------------------------------------------------
10/02/03 16:56:26 00001832 Slot | TID | Handle | Enter Ticks | Bytes Req| Exit Ticks | Bytes Ret| API | Ret Code | OSError | Internal | Int High | Offset | Off High | Event
10/02/03 16:56:26 00001832 10083 | 1832 | 916 | 36747447522368 | 8192 | 36747447613236 | 0 | WriteFileGather | 0 | 997 | 259 | 0 | 41951232 | 0 | 0
10/02/03 16:56:26 00001832 20088 | 1832 | 0 | 36747476369460 | 0 | 36747476369616 | 0 | HasOverlappedIoCompleted | 0 | 0 | 259 | 0 | 41951232 | 0 | 0
10/02/03 16:56:26 00001832 50118 | 1832 | 0 | 36747589924652 | 0 | 36747589925212 | 0 | HasOverlappedIoCompleted | 1 | 0 | 0 | 8192 | 41951232 | 0 | 0
10/02/03 16:56:26 00001832 50119 | 1832 | 916 | 36747589926084 | 0 | 36747589935944 | 8192 | GetOverlappedResult | 1 | 0 | 0 | 8192 | 41951232 | 0 | 0
10/02/03 16:56:26 00001832 50120 | 1832 | 916 | 36747589955240 | 8192 | 36747590068768 | 0 | ReadFileScatter | 0 | 997 | 259 | 0 | 41951232 | 0 | 868
10/02/03 16:56:26 00001832 50121 | 1832 | 0 | 36747590069764 | 0 | 36747590069956 | 0 | HasOverlappedIoCompleted | 0 | 0 | 259 | 0 | 41951232 | 0 | 868
10/02/03 16:56:26 00001832 Duplicates: 459
10/02/03 16:56:26 00001832 50581 | 1832 | 0 | 36747590384800 | 0 | 36747590384928 | 0 | HasOverlappedIoCompleted | 0 | 0 | 0 | 8192 | 41951232 | 0 | 868
10/02/03 16:56:26 00001832 50582 | 1832 | 0 | 36747590416768 | 0 | 36747590416900 | 0 | HasOverlappedIoCompleted | 1 | 0 | 0 | 8192 | 41951232 | 0 | 868
10/02/03 16:56:26 00001832 50583 | 1832 | 916 | 36747590417460 | 0 | 36747590417764 | 8192 | GetOverlappedResult | 1 | 0 | 0 | 8192 | 41951232 | 0 | 868

Сообщения об ошибках SQL Server

Во время работы SQL Server обнаруживает много разных типов проблем с I/O или нарушений в целостности данных. Обнаруженные проблема I/O или нарушения целостности данных сохраняются SQL Server в виде сообщений об ошибках. Наиболее типичные ошибки - 605, 823, 624 и записи об отказах при восстановлении.
Не поддаются обнаружению в SQL Server только несколько ситуаций. Эти ситуации проявляются как логические проблемы данных и обычно генерируют неожиданные исключения на уровне приложения.

Ошибки во время исполнения (run-time)

Ошибки 605 и 823 проявляются непосредственно на этапе исполнения проверки правильности страниц и идентификаторов объектов. Это простые проверки - ловушки на этапе исполнения, которые не влияют на производительность. Проблема состоит в том, что чтение устаревших данных повышает вероятность проявления большого количества потенциально возможных ошибок.

Логические ошибки

Во многих случаях (ошибки 6xx), данные могут потерять логическую согласованность (например, при ошибке 624: Could not retrieve row from page by RID because the requested RID has a higher number than the last RID on the page. %S_RID.%S_PAGE, DBID %d). В качестве примера, можно рассмотреть случай, когда в таблицу вставляется новая строка, но имеет место чтение устаревших данных со страницы индексов, в результате чего, будет потеряна вставка в индекс. Это будет выглядеть так, как будто индекс не изменился, и строк данных в таблице будет больше, чем соответствующих строк в индексе. Это может говорить о том, что ключ индекса выбран неудачно. Если эта часть таблицы - хип, тогда реляционные идентификаторы (RID) могут оказаться неправильными, потому что страницы фактических данных сгруппированы по-другому.
Вы можете придумать и другие, приводящие к ошибкам сценарий, если рассматривать реляционные отношения данных. Если одна из страниц становится жертвой чтения устаревших данных, это может говорить о том, что вставка реально не имела места. Проявляться это может в виде не соответствия ожидаемому числу записей или нарушений первичных и внешних ключей (PK/FK). Всё это очень похоже на то, как будто бы дебет или кредит пользователя не сходится.
Когда подозревается наличие подобных проблем в данных, круг потенциальных источников проблем довольно широк. Данные могут оказаться поврежденными после проверки DBCC checkdb. Это могло быть результатом проблем на этапе исполнения, когда RID индекса вдруг начинает указывать на не те области данных, а это уже может породить множество других проблем, например, исключений или остановок.

Ошибки Log Shipping и отказы восстановления

Нарушение целостности данных или проблемы с их целостностью могут появиться при попытке выполнения операции восстановления. Например, чтение устаревших данных может привести к сбою во время восстановления журнала транзакций.
Как было подчёркнуто ранее, LSN должен быть уникален в рамках одной базы данных. В случае чтения устаревших данных, повышается вероятность обнаружения двух разных записей в журнале с одинаковыми LSN. Процесс регенерации SQL Server обнаружит это, воспримет как проблему, и прервёт операцию регенерации (recovery). Это явный признак того, что страница была изменена, сброшена на диск и тут же читалась. Однако, последнее изменение не было обнаружено из-за чтения устаревших данных. Повторное изменение будет использовать старый LSN, и возможность возвращения правильной страницы будет потеряна.
Обратите внимание: Это важно потому, что чтение устаревших данных может привести к тому, что резервное копирование не будет позволять решить задачу корректного восстановления данных в случае необходимости.

Репликация

Репликация может использовать журнал транзакций как источник данных. Когда из-за проблем, подобных чтению устаревших данных, журнал транзакций будет повреждён, это приведёт к повреждению самого источника данных для репликации. Повреждение этого источника может привести к проблемам с логической последовательностью тиражируемых данных.
Например, когда используется репликация, проблема может затронуть несколько компьютеров. В сценарии репликации слиянием, если на одном из компьютеров изменения потеряны из-за проблем с чтением устаревших данных, это может затронуть механизмы, с помощью которых репликация слиянием обслуживает топологию тиражирования данных. Возможно разное проявление порождённых этим проблем, включая отказы сеансов синхронизации.

Промежуточные драйверы (Filter Drivers)

Многие реализации программного обеспечения резервного копирования, антивирусные программы и других приложения, реализованы в виде промежуточных драйверов между подсистемой I/O и операционной системой. Это позволяет перехватывать запросы на I/O и обрабатывать их соответствующим образом. Неправильная работа таких драйверов может стать причиной чтения устаревших данных или прерванной записи.
Часто, проблемы такого типа требуют воспроизводства в тестовой среде и значительных усилий по отладке на уровне ядра, что бы определить первопричину возникновения проблем, которые могут напоминать проблемы с привязанными к драйверу пакетами ввода-вывода (IO Request Packet). Всё это может отнимать много времени и существенно осложнять поддержку работы приложения.
Microsoft рекомендует разработать безопасную стратегию резервирования, но Вы также должны убедиться, что программное обеспечение I/O разработано в соответствии с требованиями к Microsoft SQL Server.

Привязанный I/O

В SQL Server весьма распространены проблемы с промежуточными драйверами, которые используются операционной системой, и из-за которых I/O становится привязанным к промежуточному драйверу и при этом, не обеспечивается средств регистрации или уведомления об ошибках.
Например, служба поддержки SQL Server столкнулся с одной такой проблемой в высокопроизводительной дисковой подсистеме, которая пыталась балансировать запросы на I/O между несколькими Host Bus Adapters (HBA). В программном обеспечении был дефект, который приводил к прерыванию I/O. SQL Server бесконечно ожидал окончания I/O, записав в журнале ошибок о том, что он выставил краткую I/O - блокировку.
Важно: Microsoft рекомендует, чтобы Вы оценили применимость каждого используемого в системе промежуточного драйвера, что бы он выдавал удовлетворительную диагностику проблем и не вредил работе СУБД.

ПРОДОЛЖЕНИЕ СЛЕДУЕТ

[В начало]

Руководство по работе с Microsoft SQL Server 2000 Analysis Services (продолжение)

По материалам статьи Carl Rabeler и Dave Wickert, Microsoft Corporation: Microsoft SQL Server 2000 Analysis Services Operations Guide
Перевод Виталия Степаненко

Содержание

Введение
Управление конфигурацией
Управление выпуском
Управление изменениями
Администрирование безопасности
Управление сервисом и доступностью
Управление свободным пространством и производительностью
Управление разрешением проблем и ошибок

Настройка операционной системы Windows

Настройка операционной системы Windows для оптимальной производительности Analysis Services состоит прежде всего из конфигурирования процессоров, файлов подкачки Windows и памяти. Вы также можете отключить ненужные сервисы.

Примечание: Microsoft рекомендует, чтобы Analysis Services не был установлен на доменном контроллере. Бывают ситуации, когда это необходимо, например, когда Analysis Services установлен с Microsoft Small Business Server, или когда установлен на автономном домене, но в общем случае вы должны избегать такой конфигурации, насколько это возможно. Дополнительная информация по этому вопросу находится в Microsoft Knowledge Base (support.microsoft.com) в статье " INF: Running OLAP Services on a Domain Controller" (запуск служб OLAP на доменном контроллере).

Процессор

Если вы используете Analysis Services на многопроцессорном компьютере, Analysis Services распределит потоки по всем доступным процессорам компьютера. В отличие от службы SQL Server, Analysis Services не поддерживает управление процессорами, чтобы контролировать, на каких процессорах будут выполняться потоки. Поскольку Analysis Services использует множество потоков, он может захватить все доступные процессорные ресурсы. Поэтому в большинстве случаев вам нужно использовать выделенный сервер для Analysis Services. Если вы вынуждены разделять ресурсы компьютера с другими серверными приложениями, то нужно выбирать серверное приложение, которое поддерживает управление процессорами, например, SQL Server. Устанавливая используемые процессоры в SQL Server, вы можете контролировать, на каких процессорах выполняются потоки SQL Server и контролировать приоритеты этих потоков, гарантируя, что достаточно процессорных ресурсов остаются доступными для потоков Analysis Services.

Если вам нужно контролировать, на каких процессорах выполняются потоки Analysis Services, то вы должны рассмотреть переход на Microsoft Windows Server™ 2003 Enterprise Edition или Windows Server 2003 Datacenter Edition. Эти издания Windows Server 2003 включают Windows System Resource Manager (WSRM, менеджер системных ресурсов Windows), который позволяет администратору устанавливать политику распределения процессоров и памяти для приложений, выполняемых на сервере. WSRM позволяет вам выбирать процесс Analysis Services и ограничивать потоки Analysis Services определенными процессорами или определенным порогом процессорных ресурсов. Для дополнительной информации о WSRM посмотрите статью "Windows System Resource Manager-Fast Facts" (Менеджер системных ресурсов Windows - несколько фактов) на сайте Windows Server 2003 ( http://www.microsoft.com/windowsserver2003/techinfo/overview/wsrmfastfacts.mspx).

Файлы подкачки

По умолчанию Windows использует один файл подкачки, превышающий примерно в 1,5 раза размер физической памяти компьютера. Однако, т.к. Analysis Services интенсивно работает с файлами подкачки Windows, вы всегда должны добавлять второй файл подкачки, равный размеру физической памяти вашего компьютера. Работа с памятью реляционного и многомерного движков SQL Server очень сильно отличается. Реляционный движок SQL Server напрямую распределяет и контролирует использование физической памяти, в то время как многомерный движок Analysis Services полагается на операционную систему Windows в выделении адресному пространству Analysis Services дополнительной памяти (физической или виртуальной) при необходимости. В результате, когда Windows уменьшает рабочую память Analysis Services из-за того, что другие приложения требуют выделения физической памяти, Analysis Services может понадобиться использовать файл подкачки для своих потребностей. Вы должны убедиться, что общий размер файлов подкачки больше, чем размер по умолчанию, чтобы Analysis Services получил достаточно виртуальной памяти, если Windows не имеет достаточно физической памяти.

Хотя Windows имеет средства для эффективного контроля за общим использованием памяти, Microsoft настоятельно рекомендует пользователям конфигурировать серверы с достаточным количеством памяти, чтобы не возникало интенсивного использования файлов подкачки. Если главный расчетный компонент Analysis Services, процесс msmdsrv, начинает интенсивно использовать файлы подкачки, производительность заметно ухудшается.

Память

Процессы (такие, как Analysis Services), работающие под управлением Windows 2000 Server или Windows Server 2003 Standard Edition, могут обращаться максимум к 2 гигабайтам памяти в основном рабочем пространстве. Если вы работаете с большими или сложными кубами, то Analysis Services может понадобиться больше, чем 2 гигабайта, чтобы загрузить измерения в память, обработать эти измерения, загрузить копии измерений, и все еще иметь достаточно памяти для эффективной работы кэша результатов выполнения запросов. Чтобы позволить Analysis Services обращаться к более чем 2 гигабайтам памяти в одном процессе, вам нужно установить Windows 2000 Advanced Server, Windows 2000 Datacenter Server, Windows Server 2003 Enterprise Edition или Windows Server 2003 Datacenter Edition.

Windows Server 2003 Enterprise Edition и Windows Server 2003 Datacenter Edition доступны в 32-битной и 64-битной версиях. 64-битная версия поддерживает 64-битную версию Analysis Services. Но т.к. Windows 2000 Advanced Server и Windows 2000 Datacenter Server являются 32-битными операционными системами, то можно установить только 32-битную версию Analysis Services.

64-битная версия Analysis Services может обращаться ко всей доступной памяти основного рабочего пространства без каких-либо специальных настроек (до 64 гигабайт в Enterprise Edition и до 512 гигабайт в Datacenter Edition).

32-битная версия Analysis Services может обращаться к памяти объемом до 3 гигабайт основного рабочего пространства, если вы включите Application Memory Tuning. Если Application Memory Tuning отключен, то никакой процесс не может обращаться к памяти больше 2 гигабайт в основном рабочем пространстве. Чтобы включить Application Memory Tuning на компьютере с Analysis Services, добавьте параметр /3 GB в файле boot.ini и после этого воспользуйтесь Analysis Manager, чтобы установить соответствующее значение параметра Memory conservation threshold (порог резервирования памяти) для Analysis Services. Если вы добавляете параметр /3GB в файле boot.ini, то компьютер, на котором установлен Analysis Services должен иметь минимум 4 гигабайта памяти, чтобы быть уверенными, что Windows имеет достаточно памяти для системных процессов. Если вы запускаете другие приложения на этом же компьютере, вы должны иметь в виду их требования к памяти. Например, если SQL Server и Analysis Services установлены на одном компьютере, SQL Server может обращаться к памяти свыше 4 гигабайт, т.к. SQL Server поддерживает Address Windowing Extensions (AWE). В этом случае вы можете установить на сервере и использовать 8 или больше гигабайт. Однако, т.к. Analysis Services не поддерживает AWE, то он не может обращаться более чем к 3 гигабайтам памяти в основном рабочем пространстве, пока не начнет использоваться 64-битная версия.

Для дополнительной информации о добавлении параметра /3GB, зайдите в Microsoft Knowledge Base (support.microsoft.com) и посмотрите статью "INF: How to Enable Analysis Server To Use 3 GB of RAM" (Как позволить Analysis Server использовать 3 гигабайта памяти). Для дополнительной информации об установке Memory conservation threshold (порога резервирования памяти) смотрите "Конфигурирование Analysis Services" сразу после этой главы.

Отключение ненужных служб

Хотя нет полного списка служб Windows, которые не нужны на компьютере с Analysis Services, выключение ненужных служб сэкономит память для ее использования Analysis Services. Ниже перечислены службы, которые могут не понадобиться:

- Alerter

- Application Management Transfer Service

- ClipBook

- COM+ Event System

- Computer Browser

- Distributed Link Tracking Client

- Distributed Transaction Coordinator

- Fax Service

- Indexing Service

- Internet Connection Sharing

- Logical Disk Manager Administrative Service

- Messenger

- Net Logon - Эта служба нужна, если ваши пользователи используют аутентификацию Windows NT® для входа в Analysis Services

- Microsoft NetMeeting® Remote Desktop Sharing

- Network DDE

- Network DDE DSDM

- NT LM Security Support Provider

- Performance Logs and Alerts

- Protected Storage

- QoS RSVP

- Remote Access Auto Connection Manager

- Remote Access Connection Manager

- Remote Procedure Call (RPC) Locator

- Routing and Remote Access

- RunAs Service

- Security Accounts manager

- Server

- SmartCard

- SmartCard Helper

- System Event Notification

- Task Scheduler

- TCP/IP NetBIOS Helper Service

- Telephony

- Telnet

- Uninterruptible Power Supply

- Utility Manager

- Windows Installer

- Windows Time

Вы можете выключить службы, либо отключая службу, либо указывая, что эта служба будет запускаться вручную. Если вы установите ручной старт службы, то Windows запустит службу при необходимости.

Примечание: вирусы также могут запускать службы, установленные на ручной запуск.

Если вы отключите службу, Windows не сможет ее запустить. Для полного списка служб Windows 2000 и их функций зайдите на сайт Microsoft Windows 2000 (http://www.microsoft.com/windows2000) и посмотрите статью "Glossary of Windows 2000 Services" (Глоссарий служб Windows 2000).

Примечание: Если вы используете SQL Server 7.0, не отключайте службу удаленного реестра (remote registry service). Эта служба нужна для администрирования удаленной установки Analysis Services.

Важно: вам нужно отключить службу индексирования (Indexing Service), чтобы избежать проблем с блокировками доступа и возможным повреждением данных во время работы. Также вам нужно настроить все антивирусное программное обеспечение на компьютере таким образом, чтобы оно не сканировало папку Analysis Services Data и папку с временными файлами. Чтобы найти эти папки, используя Analysis Manager, щелкните правой кнопкой мыши на сервере, выберите Properties и затем просмотрите информацию, которая появится на вкладке General.

ПРОДОЛЖЕНИЕ СЛЕДУЕТ

[В начало]

Автоматизация исполнения DTS

По материалам статьи Augustin Carnu: Automating DTS Execution
Перевод Маргариты Баскаковой

Автор в значительной степени использует технологию DTS для перемещения и преобразования данных внутри BI Приложения; потребовалось найти допустимое решение повторного связывания пакетов на Промышленном сервере после перемещения их из среды разработки и QA. Эта статья представляет решение задачи трудоёмкой работы ручного соединения 50 и более пакетов DTS после импортирования их на новый SQL Server.

Проблема

Мы создаем родительские пакеты, которые используют Execute Package Task для вызова дочернего пакета. По умолчанию Execute Package Task будет использовать PackageID (GUID), чтобы загрузить и выполнить пакет. PackageID назначается в тот момент, когда Вы сохраняете новый пакет вместе с VersionID и timestamp временем создания.

Рисунок 1

Простой способ продемонстрировать это состоит в том, чтобы открыть пакет и затем, используя опцию 'Save As', присвоив пакету новое имя. Далее в Изначальном пакете создать "Execute Package Task" и установить зависимость между пакетами Master и Дочерним, связав STG_ED коннектором с Дочерним пакетом (Demo Child-Task) как на Рис. 1.
Если бы Вам по некоторым причинам потребовалось заменить Дочерний пакет, как например в случае сохранение после внесения изменений, это повлекло бы за собой создание полностью нового VersionID, с новой временной меткой и новым ProgramID! И это нарушило бы соединение между пакетами, поскольку VersionID указывает на старый VersionID с тем же самым именем. PackageID {543E … .184} на заднем плане Рис. 2 является устаревшим, следовательно выполнение потерпит неудачу!

Рисунок 2

Предлагаемое Решение

Мы удалили зависимость PackageID/VersionID, обнулив свойство PackageID ExecutePackageTask. Сделав это, мы вынудили использоваться другое свойство - свойство PackageName. Вы можете легко проверить это через функцию Disconnected Edit. Она доступна из меню Package: щелкните правой кнопкой мыши на пустом пространстве пакета и выберите "Disconnected Edit". Но для нашей run-time среды этого недостаточно.
Решение автора состоит в том, чтобы, добавив Dynamic Properties Task выполнить назначение NULL зависимым Дочерним пакетам в run-time. Эта задача станет основой для нашего процесса вместе с пустым значением Global variable, которое будет назначаться всем свойствам PackageID. Тогда при выполнении дочернего пакета будет использоваться имя пакета вместо PackageID. Необходимо выполнить следующие шаги:

Рисунок 3

Создайте Dynamic Properties Task с именем Blank out PropertyID как на Рис. 3 (см. Выше). Нажмите на кнопку Properties; следующее диалоговое окно будет аналогично Рис. 4.

Рисунок 4

Рисунок 5

Это вызов окна Package Properties. Для каждой задачи в левой стороне окна (DTSTask_DTSExecutePackageTask_1, 2, и т.д.) необходимо отредактировать PackageID и нажать на кнопку Set (как на Рис. 5).

Рисунок 6

Затем создайте и назначьте Global variable (или многократно используйте существующую). Если Вы создаете новую Глобальную переменную, то не назначайте ей никаких значений. Они будут переведены к значению NULL в run-time; Вы можете многократно использовать её для всего Списка задач.
Чтобы обеспечить переносимость между серверами, пожалуйста, сделайте следующее:

  • убедитесь, что SQL Server, который Вы используете для того, чтобы создать пакеты DTS, зарегистрирован как (LOCAL) (Windows NT) как на Рис. 7.

  • гарантируйте, что все внутренние пакеты используют локальный (LOCAL) SQL сервер, имя сервера не прописано жестко.

Рисунок 7

В следующей статье автор расскажет, как осуществить распределение пакетов DTS и их активацию на новом SQL Server.

[В начало]

ССЫЛКИ НА СТАТЬИ

Статьи на русском языке

Возможная проблема с установкой SQL Express и ее решение
Alexander Lozhechkin [MSFT]
MSSQLServer: Потратил тут некоторое количество времени на решение проблемы с установкой SQL Server 2005 Express Edition. Поделюсь опытом - вдруг он кому пригодится....

MSSQL SP4 + I/O Issues
Oleg Aksenov
MSSQLServer: Порадовался я статье SQL Server for Developers: Detecting and Resolving Stalled and Stuck I/O Issues in SQL Server 2000 SP4 - появилась еще одна, как минимум, полезная фича для отслеживания проблем ввода-вывода. Теперь, если I/O ожидание превышает 15 секунд, происходит запись в журнал. Весьма удобно, в том плане, что не нужно это мониторить. Нужно еще будет разузнать, насколько все это можно настраивать (временной интервал, тип ожидания). Узнаю - расскажу :)...

Путеводитель по Visual Studio 2005 для путешествующих автостопом
Rob Caron's Blog
C-sharp: Для начала, давайте рассмотрим номенклатуру системы разработки приложений Visual Studio NET 2003 для того, чтобы понять, где мы находимся на сегодняшний день и чем эта версия VS отличается от новой, выходящей в этом году Visual Studio 2005...

Решение проблем, связанных с целостностью данных в Analysis Services 2005
T.K. Anand
MSSQLServer: В статье рассматриваются типичные проблемы, связанные с целостностью данных, и показывается, какие средства дает Analysis Services 2005 для решения этих проблем...

SQL Server 2005 Reporting Services - модернизация стоит того
Дуглас Макдауэлл
MSSQLServer: Службы SQL Server 2000 Reporting Services вышли более года назад как дополнение к SQL Server 2000. Сегодня, когда Microsoft объявила о последних обновлениях функциональных возможностей технологии, реализованных в пакете Reporting Services Service Pack 2 (SP2), самое время рассеять некоторые заблуждения относительно Reporting Services 2005. Примерно половина моих собеседников воспринимает предстоящий выпуск Reporting Services как абсолютно новый продукт, полученный в результате значительных глубинных изменений. Остальные, наблюдая многообразие обновлений в Reporting Services 2000 SP1 и SP2, видят в Reporting Services 2005 версию, аналогичную Reporting Services 2000. Однако в новом выпуске Reporting Services реализовано много интересных возможностей, хотя базовая архитект...

Англоязычные статьи

Blogging from the hospital
Ken Henderson's WebLog
I'm in the hospital once again with kidney stones. They have a saying in the emergency room here that the severity of the pain one typically experiences with kidney stones is similar to that suffered by women during childbirth. If that's true, it makes me wonder how the race has survived. I'm surprised that any woman would willingly go through childbirth more than once. I have a feeling there would be far fewer kids being born if I were making that call -- that excruciating, knife-like pain is something I could go the rest of my life without experiencing again :-)

SQL Server 2005 Enhancement - SNAPSHOT ISOLATION LEVEL (Part 1)
The SQL Doctor is In
This is probably going to turn out to be my favorite new feature in terms of bang for the buck. With it, we can almost eliminate the dreaded nolock keyword from our queries, and even any SET TRANSACTION ISOLATION LEVEL READ COMMITTED. Using it will take care of a large number of our problems we have had in the past writing concurrent systems, at least from a database locking perspective. For the first blog in this series, let's just cover what it is from a mechanical standpoint. Part 1a will cover a new related setting, Part 2 will cover a technique for using this for optimistic locking (and I am not just trying to get paid for two articles, I am doing this for the fun of it and since we need multiple connections this might get messy :)

Clarifying LEFT and RIGHT in the defintion of a PARTITION FUNCTION in SQL Server 2005
Kimberly L. Tripp
When creating partitioned tables in SQL Server 2005, a partition function requires a LEFT or RIGHT designation. In general, I recommend that you choose to create a LEFT-based partition. However, choosing LEFT always creates some confusion because a left-based partition function requires upper boundaries. This results in a more complicated partition function definition (than a RIGHT partition function).

DataDirect providers...and some ADO.NET 2.0 beta2 changes
Bob Beauchemin's Blog
Realized that I haven't blogged in a while. I been ...uh...working on stuff and traveling a lot lately. Big surprise, right? This week I'll be on vacation. Traveling. Now I understand what the term “busman's holiday“ means.

Go ahead, make a validation mistake...
Bob Beauchemin's Blog
One of the nice surprises in the April CTP is that SQL Server 2005 XML schema validation errors come with a location now. That's handy. Here's an example

Combined provider: transactions and the return of 6522
Bob Beauchemin's Blog
With April CTP came the new combined managed provider replaces System.Data.SqlServer with a new improved, works in-process or out, System.Data.SqlClient. I just call it "the combined provider" now. People that didn't work on the betas will look at me funny when the product RTMs; "was there ever anything other than System.Data.SqlClient?". Why yes, Virginia...

SSIS: Should you execute child packages in-process or out-of-process?
Jamie Thomson's Blog
SQL Server Integration Services (SSIS) functionality is wrapped up in packages. A package is the SSIS executable. A package can contain a task called the "Execute Package Task" which enables you to execute a different package from within a currently executing package. The package containing the "Execute Package Task" is referred to as the master package. The package being called is referred to as the child package.

XML Schema for the truly lazy
Bob Beauchemin's Blog
Here's something I've noticed you can do with SQL Server 2005 and Visual Studio 2005.

BUSINESS METADATA: HOW TO WRITE DEFINITIONS
Bonnie K. O'Neil
Many errors and accidents are made/caused by misunderstandings of the meanings of terms used

The ARRAY In SQL Server 2000
Alex Grinberg
SQL Server 2000 and Transact-SQL have many features, but one of the most often asked for features has been the implementation of some sort of array data type. This basic programming concept is notably absent from the development platform and results in many headaches and frustrations for DBAs. New author Alex Grinberg brings us his techniques for simulating arrays in SQL Server 2000.

Blogcast: First Glimpse at SQL Server 2005 Management Studio
Mat Stephen's WebLog
I’ve just done a short (4m47s) blogcast giving a first glimpse at the new SQL Server 2005 Management Studio

SQL Server 2005 - SQL Profiler Question
Kevin Remde's WebLog
I received a great question in an email concerning a SQL Profiler demo I do in our live TechNet Briefings this quarter

Achieving case insensitivity
Sorting It All Out
Julia Lerman said just a few hours ago that she is a SQL Server luddite

Case/kana/accent/width sensitive SQL Server, for testing
Sorting It All Out
A few minutes ago, I posted about Achieving case insensitivity, to deal with how best to make things case sensitive in an expression in SQL Server.

Dealing with backcompat across many versions
Sorting It All Out
Larry Osterman posted earlier today about Turning the blog around - End of Life issues and I thought about the issue. I think I have talked about the backcompat issues enough in the past that it is pretty clear where I stand on the issue of when we say that some particular API set or feature or function or behavior is done.

Encoding questions from the Suggestion Box
Sorting It All Out
Uwe Keim asked (in the suggestion box) several questions about encoding support and strings in the .NET Framework

Not all SQL Server collations are created equal
Sorting It All Out
Not all of the collations in SQL Server 2005 (a.k.a. Yukon) and earlier versions have coverage over the same full sets of Unicode code points

Team Foundation Installation Guide (Beta 2) Errata
Rob Caron's Blog
The following issues exist in the Team Foundation Installation Guide (v1.0.50412)

Installing Team Build
Rob Caron's Blog
Installing Team Foundation Server installs several Web services that support Team Build. These services control build machines hosting Team Build and managing builds. However, Team Foundation Server setup does not install Team Build itself. This is by design. While you may choose to install Team Build on the same computer as Team Foundation Server for evaluation, we anticipate that a more common scenrario is to install Team Build on one or more dedicated build machines

Team Foundation Installation Guide - v1.0.50428
Rob Caron's Blog
I just posted a new version (1.0.50428) of the Team Foundation Installation Guide for Beta 2. This version supersedes the version you’ll see on the Team Foundation Server DVD/CD

Five-User Team Foundation Server included with Visual Studio Team System Role-Based Editions
Rob Caron's Blog
This is just a quick post while I finish up Part 3 of my Hitchhiker’s Guide to Visual Studio Team System, which will focus on Team Foundation Server…

Blogcast: Introducing the Object Explorer in the new SQL Server 2005 Management Studio
Mat Stephen's WebLog
Following on from my last blogcast here’s a blogcast that introduces the Object Explorer in the new SQL Server 2005 Management Studio

Top Tip: How to use the same dimension twice on one fact table with SQL Server 2000 Analysis Services
Mat Stephen's WebLog
I’m grateful to Cristian Petculescu for this Top Tip: How to use the same dimension twice on one fact table with SQL Server 2000 Analysis Services. To use the same dimension twice, against one fact table, you essentially use the same dimension table only with a new alias to reference it by. To do this copy the dimension (right click it in Analysis Services Manager) and then paste it back in again. At this point it will tell you you already have a dimension by that name, so you edit the name it presents in the dialog box to a new name (thereby creating an alias). Now in SQL Server 2005 it will let you do this with the same dimension natively without the alias. Indigo Transactional Web Services using Microsoft WinFX CTP March 2005 jamesqding Implementing WS- AtomicTransaction in Indigo

MSSQL Server Reporting Services : Mastering OLAP Reporting: Ad Hoc TopCount and BottomCount Parameters
William Pearson
As we have discussed elsewhere in the series, parameters (sometimes known as "prompts" or "parameter prompts") are a staple of enterprise reporting, because they enable information consumers to quickly find the information they need from a data source. These filters / members can be put in place "on the fly," and are typically enacted when the consumer types or selects a value, or a series of values, at run time

Finding and Fixing Bad SQL in Microsoft SQL Server 2000
Quest Software, Inc
This article will teach you the basic techniques used to find and fix poorly performing SQL statements (usually SELECT statements, but also INSERT, UPDATE and DELETE statements) on Microsoft's SQL Server 2000 relational database management system

TimeSpring
Global Principal
Software vendor TimeSpring had the idea that it might be possible to continuously capture the time dimension of a company's data, to make it easy for a company to recover from data loss or corruption and enable offline data processing. TimeSpring considered building a solution on Linux and Oracle, but both market and technical considerations led them to build on Microsoft Windows and SQL Server 2000 in Visual C# and Visual C++, using the .NET Framework and Windows Forms

Data Mining Dimensions
DMTeam
Apply the power of data mining to browse your OLAP data in new, interesting ways

A plethora of Service Packs
Euan Garden's BLOG
Does 2 count as a plethora? We released SQL Server 2000 SP4 this morning, Michael Rys has some good info on the changes in the XML world, the big hitter is that we now support SP4 running in the WOW on x86 machines! In case you missed it last week we also shipped SP2 of SQL Server 2000 Reporting Services, this includes a Client Side Printing control(yipee!) and Web Parts for Sharepoint integration

SQL ConnectionInfo Class
VectorX
A class for building SQL connection strings from specified properties. Class can also parse SQLConnection.ConnectionString() into properties using the parse method. Code is fully commented and handles all SQLConnection.ConnectionString properties

Programmatically or GUI scripting of your indexes
scalabilityexperts.com
Not too long ago, I heard about a behavior that I know I would not have counted on when scripting out indexes, and could have sat there thinking all is as it should be when in fact my scripts could be missing important aspects I was expecting them to already have

KB Article About Problem with SQL Server 2000 SP4
Don Kiely's Technical Blatherings
Want to make sure you're aware of this: BUG: Not all memory is available when AWE is enabled on a computer that is running a 32-bit version of SQL Server 2000 SP4 A loss of 50% of physical memory. Yeah, I'd say that's a bug

Cluster index vs. non-cluster index
Jeremy Kadlec
When should I use cluster index and when should I use a non-cluster index?

Using SHERLOCK to Monitor Blocking
graz
I recently received an email from Roberto Farah who works at Microsoft's PSS. Roberto is the co-author of a tool called Sherlock that helps analyze blocking problems in SQL Server. It pulls together the information from sp_blocker_pss80 and provides it in an easy to read format. Microsoft has been using it internally and decided to release it to the public. The download includes the program and a short PowerPoint presentation explaining its use. I'll post additional information after I've had a chance to work more with it tomorrow. (This is a .NET application.) Thanks Roberto!

'Hawaii': A Visual Studio Paradise for Developers?
Darryl K. Taft
After it ships the "Whidbey" and "Orcas" versions of its popular Visual Studio tool set, Microsoft Corp.'s Visual Studio development team is headed for "Hawaii." ADVERTISEMENT

SSIS: What do we want in the next version - part 2
Jamie Thomson's Blog
Last week I posted my top 15 wish list for the next version of SSIS. Most of those were functional changes which is why they made the top 15.

SQL Server 2000 SP4 problems with AWE
To SQL or not to SQL
Looks to be a bit of a wild one. SQL Server 2000 SP4 introduced a bug where only 1/2 the RAM can be accessed by SQL Server when AWE is enabled. So, it you have 16GB, SQL Server will only use 8GB. There is a Microsoft KB article # 899761 that describes the problem. It's advice is to un-install SP4 and call PSS. A Hotfix for this is in progress. The SP4 download site has now a warning about not installing SP4 on systems with AWE enabled. http://www.microsoft.com/sql/downloads/2000/sp4.asp Now I wonder how SP4 got out the door with that problem!

PrevMember bug
Chris Webb's BI Blog
An interesting bug came up on the newsgroup this week, concerning the PREVMEMBER function. You can read the original thread here, which includes Mosha's explanation of what the problem is exactly (full credit to him for taking the time to investigate this and posting back to the ng to share the details - he deserves a medal for his community involvement)

Unattended clusters installs in SQL Server 2005 / Mount Point Support
Benjamin Jones
Ok, so not exactly a killer feature, but I know a few customers who have been asking for this for a while especially as most of the builds are engineered and deployed via SMS. I think this is one of those 'nice to have' features. From Beta 2 BOL: "For an unattended installation of a failover cluster, you must use /qn. The /qn switch specifies a silent installation, displaying no user interface dialog boxes, even in cases of Setup errors or failure. If the /qn switch is used, all Setup messages are written to Setup log files". You'll also be pleased to hear that we will now support mount points on a Windows Server 2003 Enterprise Edition cluster running SQL Server 2005. This should be really beneficial to those who have a requirement to exceed the 26 drive letter limitation (great news for consolidation

SQL Server 2005 Extended Triggers
Benjamin Jones
Ok, I am impressed with everything in SQL Server 2005, especially extended triggers to capture DDL actions. I was playing around with these today and I can see how this will be a nice feature, especially for audit trails. I've included a simple script below

Not a valid MSX Account
SimonS' SQL Blog
Well thought I would setup multi server admin on my db boxes this week, number of boxes is getting to large to manage individually

You may experience a slow response from SQL Server Enterprise Manager when many databases exist in an instance of SQL Server
Microsoft
When many databases exist in a default instance or in a named instance of Microsoft SQL Server, you may experience a slow response from SQL Server Enterprise Manager, specifically when you drill into the Databases folder. If the Databases folder contains more than a thousand databases, you could experience delays that are more than five minutes

Run SQL Profiler as non-admin
SimonS' SQL Blog
So you can't wait until Yukon and your developers want profiler access but you don't want to give them sysadmin access. The options available are detailed in the following post,

Dynamic Search Conditions in T-SQL
Erland Sommarskog
A very common requirement in an information system is to have a function (or several functions) where the users may search the data by selecting freely among many possible search criterias. This is a tough challenge, because not only must you produce the desired output, but you must also keep the response times with in acceptable limits, at least for common searches. And on top of all, the code must be maintainable, so it can meet new needs and requirements

SQL Server 2005 Beta 2 Transact-SQL Enhancements
Itzik Ben-Gan
This white paper introduces several of the new enhancements to Transact-SQL in Microsoft SQL Server 2005 Beta 2. These new features can increase your expressive power, the performance of your queries, and your error management capabilities. This paper focuses mainly on relational enhancements that are conceptually new and demonstrates these through practical examples. This paper does not cover every new Transact-SQL feature. (91 printed pages)

An interview with Ken Henderson
Douglas Reilly
I have never met Ken Henderson, but I have followed his career, read his books, and even reviewed one or two of them for Dr. Dobb’s Journal. When I first saw Ken’s The Guru’s Guide to Transact SQL I almost did not pick it up. As a general rule, I don’t pick up the guru’s guide to anything. I’m glad I overcame this, since the book is little short of amazing

You Want To Do What, with MY Database?
Roy Carlson
SQL Server 2000 is an extremely powerful and flexible development platform, but if the users mess up the data, there's nothing you can do. Protecting the integrity sometimes means severely limiting access to users. Roy Carlson brings us a technique using sp_makewebtask that you can easily use to provide users with some data without giving them query access

More XML goodies: XQuery!
Tom Rizzo
Roger Jennings just had his SQL Server 2005 XQuery article posted at http://www.ftponline.com/vsm/2005_06/magazine/features/rjennings/.

Data Integration
TSQLNet Weblog - Cihangir Biyikoglu
I like this term: it describes the main objective well... and as a matter of fact, this is a very popular problem many are trying to solve. I recently spent a week in NY and had a chance to talk to a few partners and customers in the financial vertical. Almost everyone have this need either because of compliance (SOX for example) or for getting a single high level view of business and just for simply consolidating things like customer data stuck in application silos … The problem is data is either in one of the various platforms (SQL Server, Oracle, DB2, Informix, Sybase etc.) or in one of the many representations (xml, comma delimited files, binary representations – images, movies etc.)…

Updated random password or string generator in T-Sql for Sql Server
Raymond Lewallen
Here is an updated version of my random string or password generator for T-Sql, made into a stored procedure with some other modifications.

Database mail is cool...
Benjamin Jones
I'm now a big fan of database mail in SQL Server 2005 - it is so much better than SQLMail. For starters, it is now cluster-aware (customers have been asking for this for a while now), supports SMTP and takes advantage of service broker. When database mail is configured, it is at the user database level. Various objects are installed in the database being enabled for mail. The stored procedure, sp_send_dbmail, is one of these objects and it takes a variety of parameters e.g. queries can be used and the results can be attached as a file. The following script provides a simple example

SQL Server Blogers
AG Blog
My favorite BLOGERS

Performance tuning tips for database developers
Andy Warren
Performance tuning is not easy and there aren’t any silver bullets, but you can go a surprisingly long way with a few basic guidelines

Keep your applications running!
Douglas Reilly
In a recent article, I noted that I have had great success in using stored procedures to isolate client applications from database changes. Ensuing reader comments make it clear, however, that using or not using stored procedures to isolate applications from database changes is a hot topic. With that in mind, below are some real-life examples of changes made to a database that do not break client applications

An interview with Hilary Cotter
Douglas Reilly
Hilary Cotter is the first Database Geek of the Week who lives in my neck of the woods, in Central N.J. I met him at one of the user group-related events—a dinner gathering of geeks, as I recall—and was recently reacquainted with him when he spoke in the class just before mine at the Philadelphia Code Camp

An interview with Euan Garden
Douglas Reilly
Euan Garden is clearly a database geek. He is a Microsoft group program manager for SQL Server, and is responsible for cross SQL Server projects relating to consistency and readiness. Prior to that he spent four years as the manager of Microsoft’s SQL Server Tools development team

Permanently prevent query analyzer from accessing particular database
Steven Andres
How do I permanently prevent query analyzer from accessing a particular database in SQL Server 2000? I want that particular database to be accessed by an application developed by me. Query Analyzer is only a vehicle for executing queries, it does not by itself grant access to data. Conversely, it does not restrict access to data. The access to your data is defined by the user account (or role, more specifically) used with Query Analyzer (or Enterprise Manager or OSQL.exe)

Monitor SQL Server CPU Loads
Muthusamy Anantha Kumar
This article illustrates how to monitor the CPU load on SQL Server and Windows machines using Windows Management Instrumentation and VBScript to collect data in the Round Robin database and then produce graphs using the Round Robin Tool

Stored Procedures vs ad-hoc SQL
Coding Horror
In a recent article, Doug Reilly makes a fairly well reasoned case for the use of stored procedures in lieu of ad-hoc SQL

Normalizing Your Database: Second Normal Form (2NF)
Mike Chapple
Over the past month, we've looked at several aspects of normalizing a database table. First, we discussed the basic principles of database normalization. Last time, we explored the basic requirements laid down by the first normal form (1NF). Now, let's continue our journey and cover the principles of second normal form (2NF)

Buffer Overflows
Mark's Blog
No, I’m not talking about the kind of buffer overflows that viruses can take advantage of to inject malicious code onto other systems, I’m talking about the kind that, if you use Filemon or Regmon, you’ve probably seen in their traces. If you’ve never noticed one, fire up one of those two tools and after collecting a log of system-wide activity, find an example by searching for “buffer overflow”. Here’s an example of file system buffer overflow errors

New 2005 feature: READ_COMMITTED_SNAPSHOT
The SQL Doctor is In
If you read this and you can see where I am wrong, please let me know. there is just some bits and pieces that don't quite jibe

SSIS: Configurations or command-line parameters?
Jamie Thomson's Blog
Dynamically changing a SQL Server Integration Services (SSIS) package at runtime is something many SSIS designers will find themselves doing. There are a number of methods of doing this and I've covered the main ones already

No data loss (as long as it is Unicode data)
Sorting It All Out
A few days ago, I made some SQL server developers nervous when I explained that Not all SQL Server collations are created equal

SQL Server 2005 April CTP + Important Announcements
adam machanic
In addition to releasing the April CTP of SQL Server 2005, Microsoft has made two important announcements this morning

Improve the performance of optimization
Jeremy Kadlec
I have a 40 GB database. The optimization is running more than 10 hours. Is there a way that we could improve the performance of the optimization? I assume the optimizations you are mentioning are from the SQL Server Maintenance Wizard. I would recommend issuing T-SQL commands as opposed to letting SQL Server handle this as a 'black box' so to speak. I would analyze your indexes to ensure that they are properly designed and maintained. I would recommend researching the following commands from a SQL Server Maintenance perspective

Agile Development with Scrum
Brian Knight
We’ve all been there: the project that never ends and no light at the end of the tunnel. Nothing is more disheartening to a developer, DBA or anyone else that may be on a project than a finish line that has no end in sight or worse yet, one that keeps moving. Agile and Scrum development methodologies aim to fix this problem and others by applying what will appear to be common sense after you engage in the methodology for a few projects. This article will get you acquainted with my now-favorite development methodology that can really be used for any project, whether a SOX compliancy, a DBA maintenance, or a standard development effort

Texas Hold 'em Hint #1
adam machanic
The other day I annouced the Texas Hold 'em SQL Challenge. I haven't gotten any feedback on it yet, so I have no idea if anyone is working on it, but I thought I'd get the ball rolling and come up with my own solution...

[В начало]

ФОРУМ SQL.RU

Самые популярные темы недели

Ваше мнение об упражнениях SELECT на http://sql.ipps.ru
Задай вопрос разработчику MsSQL!
Больше книг хороших и разных!
Баг в [ORDER BY] на который MSSQL закрыл глаза
Прошу голосовать за SQL.RU в конкурсе Интернить 2005
Как отследить ссылки на процедуру из других процедур?
Dynamic cursor
Импорт данных из MS Excel
Дедлок. U vs X
две таблицы из одной
I Need Help! XEON+MsSQL2000
Распределение ресурсов
Вопрос по переходу с версионника Oracle на блокировочник MS SQL Srv
Хитрое ограничение
Информация к размышлению
Задачка по SQL :)
Что не так в скрипте?
Использовать архиватор в MSSQL
SQL 6.5. Перенос базы, без потери связей.
В INS+UPD+DEL триггере узнать тип операции

[В начало]

Вопросы остались без ответа

как поменять кодировку и все проигнорировать
как перенести базу distribution на другой сервер ??
.NET Framework Version 2.0 Redistributable Package Beta 2 (x86)
Ошибка при установке MSSQL 2000 поверх MSSQL 7
cursor & table variable
Русификация инсталяций для msde2000

[В начало]


Вопросы, предложения, коментарии, замечания, критику и т.п. оставляйте Виталию Степаненко и Александру Гладченко в форуме: Обсуждение рассылки

СЕМИНАРЫ  КОНФЕРЕНЦИИ

МИНИФОРМА
ПОДПИСКИ



ПУБЛИКАЦИИ  АРХИВ


http://subscribe.ru/
http://subscribe.ru/feedback/
Подписан адрес:
Код этой рассылки: comp.soft.winsoft.sqlhelpyouself

Другие рассылки этой тематики
Отписаться
Вспомнить пароль

В избранное