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

MS SQL Server

  Все выпуски  

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


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

#250<<  #251

СОДЕРЖАНИЕ

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

СТАТЬИ

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

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

Сборка - распределение (Scatter-Gather)

Начиная с Microsoft SQL Server 7.0, используются Microsoft Win32 APIs: WriteFileGather и ReadFileScatter. Функция WriteFileGather собирает данные от множества разрозненных частей буфера и записывает эти данные в файл. Функция ReadFileScatter считывает данные из файла и распределяет их по нескольким рассредоточенным частям буфера.
Эти API не позволяют SQL Server множить запросы на физический I/O. Например, во время работы процесса контрольной точки с шестнадцатью страницами по 8 Кбайт, в итоге, всё может быть сброшено на диск за один вызов WriteFileGather. Перед использованием WriteFileGather, SQL Server должен был бы создавать запрос на I/O для каждой страницы данных, которые потом должны были быть отсортированы и буферизованы непосредственно в виде всего большого запроса.
Важно: Сборка и распределение зависят от специфики аппаратных возможностей. Если аппаратные средства их не поддерживают, возможности по сборке и распределению перекладываются на операционную систему, которая должна будет выделять запросы на I/O. Чтобы Microsoft SQL Server производительно работал с I/O, убедитесь, что ваша подсистема ввода - вывода изначально поддерживает операции по сборке и распределению I/O.
Что бы подробно изучить использование в SQL Server сборки и распределения для повышения его производительность, прочтите следующий документ: Performance Enhancements for SQL Server Under Windows NT

Transaction Log I/O-WriteFile

Для операций с журналом транзакций, SQL Server использует WriteFile вместо WriteFileGather. WriteFileGather используется для I/O в операционной системе, и ограничен размером страницы. Это ограничение подразумевает, что каждая запись в журнал будет иметь размер не менее 4 Кб. Поэтому для журнала используется WriteFile, что позволяет сократить размер записи до границ сектора диска.

Асинхронный I/O

Весь I/O журнала транзакций и файлов баз данных SQL Server выполняется с использованием структуры OVERLAPPED, которая позволяет облегчить использование асинхронного I/O. Буферный пул SQL Server и диспетчер файлов имеют очень сложные внутренние механизмы для обслуживания I/O. Для поддержки целостности данных во время асинхронных операций с I/O используются соответствующие краткие блокировки для чтения/записи.
SQL Server использует запросы к Win32 API следующим образом:

API

Типовое применение

CreateFile

Используется для того, чтобы создавать и открывать базу данных и журнал. Флаги: FILE_FLAG_OVERLAPPED, FILE_FLAG_WRITETHROUGH и FILE_FLAG_NO_BUFFERING определяются для предотвращения неустойчивого кэширования носителей.

WriteFile

В основном используется менеджером журналирования и менеджером резервирования для обслуживания запросов I/O.

ReadFile

В основном используется менеджером журналирования и менеджером резервирования для обслуживания запросов I/O.

WriteFileGather

В основном используется буферным пулом для записи группы страниц (до шестнадцати страниц по 8 Кб в группе).

ReadFileScatter

В основном используется буферным пулом для чтения страниц в буферный пул. Может использоваться для отдельных запросов страницы так же как и запросов упреждающего чтения. Запросы упреждающего чтения обычно используют 128 страниц для каждой группы, но могут использовать и 1024 страницы, если это Microsoft SQL Server Enterprise Edition

HasOverlappedIoCompleted

Используется для определения состояния запросов I/O.

GetOverlappedResults

Используется для определения успешности запросов I/O.

Обратите внимание: Сортировка и операции спулинга, для осуществления необходимых операции с I/O, совместно используют некоторые механизмы буферного пула SQL Server и диспетчера файлов. Также, обратите внимание, что SQL Server не всегда обслуживает завершение I/O в рамках того же самого рабочего потока, который отправлял этот запрос I/O. Завершение I/O в SQL Server выполняется унаследованным рабочим потоком в рамках того же самого User Mode Scheduler (UMS), в котором запрос I/O был отправлен на исполнение. Внутренние механизмы в SQL Server назначают подпрограммы повторного вызова, которые будут вызываться при завершении I/O. Повторный вызов - это специфический для SQL Server механизм, который не основывается на сообщениях, подобных функциям ReadFileEx или WriteFileEx. Например, если чтение страницы данных завершено, подпрограмма повторного вызова проверит, что код возврата операционной системы равен нулю (значение GetLastError), и это будет гарантировать, что все байты были переданы правильно, что выполнена проверка на ошибки оборванных страниц, и что гарантируется правильный номер страницы, и исполнены все другие разумные проверки.

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

[В начало]

Решение проблем, связанных с целостностью данных в Analysis Services 2005 (продолжение)

По материалам статьи T.K. Anand, Microsoft Corporation: Handling Data Integrity Issues in Analysis Services 2005
Перевод Виталия Степаненко

Март 2005 года

О чем эта статья: В статье рассматриваются типичные проблемы, связанные с целостностью данных, и показывается, какие средства дает Analysis Services 2005 для решения этих проблем. (10 печатных страниц)

Относится к:
SQL Server 2005 Analysis Services

Содержание

Вступление
Типы проблем, связанных с целостностью данных
Элементы управления целостностью данных
Сценарии
Заключение

Элементы управления целостностью данных

В этой главе мы рассмотрим различные элементы управления, которые предлагает Analysis Services администраторам баз данных для решения проблемам целостности данных. Заметьте, что эти элементы не являются полностью независимыми. Например, Null Processing (обработка Null) зависит от Unknown Member (неизвестный элемент), а Error Configuration (обработка ошибок) зависит от Null Processing и Unknown Member.

Unknown Member (неизвестный элемент)

Объект Dimension имеет свойство UnknownMember, которое принимает три возможных значения - None, Hidden и Visible. Когда UnknownMember=Hidden/Visible, Analysis Server автоматически создает специальный элемент, называемый Unknown Member (неизвестный элемент) в каждом атрибуте измерения. UnknownMember=Hidden показывает, что неизвестный элемент будет скрыт для результатов запроса и наборов строк схемы. Значение по умолчанию для свойства UnknownMember - None.

Свойство UnknownMemberName может использоваться для определения имени неизвестного элемента. Свойство UnknownMemberTranslations может быть использовано для определения локализованных заголовков неизвестного элемента.

На рис.2 показано измерение Product с UnknownMember=Visible и UnknownMemberName="Invalid Product".


Рис.2. Измерение Product

Null Processing (обработка Null)

Объект DataItem используется в Analysis Services DDL для определения метаданных о любом скалярном элементе данных. Он включает:

- Ключевой столбец (столбцы) атрибута
- Имя столбца атрибута
- Столбец-источник атрибута

Объект DataItem содержит много свойств, включая следующие:

- DataType
- DataSize
- NullProcessing
- Collation

Свойство NullProcessing определяет, какое действие должен предпринять сервер, когда он обнаруживает значение NULL. Это свойство может принимать пять возможных значений:

- ZeroOrBlank - сообщает серверу, чтобы он сконвертировал значение NULL в нулевое значение (для числовых элементов данных) или в пустую строку (для строковых элементов данных). Так обрабатывает значения NULL Analysis Services 2000.

- Preserve - сообщает серверу, чтобы он оставил значения NULL. Сервер может хранить NULL, как любое другое значение.

- Error - сообщает серверу, что значение NULL запрещено в этом элементе данных. Сервер сгенерирует ошибку целостности данных и проигнорирует эту запись.

- UnknownMember - сообщает серверу обработать значение NULL как неизвестный элемент. Сервер так же сгенерирует ошибку целостности данных. Эта опция применима только для ключевых столбцов атрибутов.

- Default - условное значение по умолчанию. Оно подразумевает использование ZeroOrBlank для измерений и кубов, и UnknownMember для структур добычи данных (mining structures) и моделей.

Заметьте, что опции NullProcessing - Error и UnknownMember, генерируют ошибки целостности данных, а другие опции - нет.

На следующем рисунке показан редактор DataItem для ключевых столбцов атрибута измерения.


Рис.3. Редактор DataItem Collection.

Список ошибок

Перед рассмотрением элемента управления обработки ошибок Error Configuration нам нужно четко определить различные типы ошибок целостности данных, с которыми может встретиться сервер. Мы уже узнали о двух из них в предыдущей главе об обработке Null. Ниже приведен полный список:

- NullKeyNotAllowed - эта ошибка генерируется, когда встречается запрещенное значение NULL и запись игнорируется (когда NullProcessing = Error).

- NullKeyConvertedToUnknown - эта ошибка генерируется, когда ключевое значение NULL обрабатывается как неизвестный элемент (когда NullProcessing = UnknownMember).

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

- KeyNotFound - это классическая ошибка ссылочной целостности в реляционных базах данных. Она может встретиться как при обработке партиций, так и при обработке измерений.

Error Configuration (обработка ошибок)

Объект ErrorConfiguration является центральным в управлении ошибками целостности данных. Сервер имеет конфигурацию ошибок по умолчанию (в конфигурационном файле msmdsrv.ini). Конфигурация ошибок также может быть определена в базе данных, измерении, кубе, группе измерений и партиции. Кроме того, конфигурирование ошибок также может быть задействовано для команд Batch и Process.

Объект ErrorConfiguration определяет, как сервер должен обрабатывать четыре типа ошибок целостности данных. Объект имеет следующие свойства:

- KeyErrorLogFile - это файл, в который сервер логирует ошибки целостности данных.

- KeyErrorLimit (по умолчанию = 0) - максимальное количество ошибок целостности данных, которые сгенерируются на сервере до прерывания обработки. Значение -1 показывает, что ограничений нет.

- KeyErrorLimitAction (по умолчанию = StopProcessing) - это действие, которое предпримет сервер, когда будет достигнут предел количества ошибок. Это свойство имеет две опции:
- StopProcessing - сообщает серверу, чтобы он прервал обработку.
- StopLogging - сообщает серверу, чтобы он продолжил обработку, но остановил логирование дальнейших ошибок.

- KeyErrorAction (по умолчанию = ConvertToUnknown) - это действие, которое должен выполнить сервер, когда возникает ошибка KeyNotFound. Свойство имеет две опции:
- ConvertToUnknown - сообщает серверу, чтобы он обработал неправильное значение ключа как неизвестный элемент.
- DiscardRecord - сообщает серверу, чтобы он проигнорировал эту запись. Так Analysis Services 2000 обрабатывает ошибки KeyNotFound.

- NullKeyNotAllowed (по умолчанию = ReportAndContinue)

- NullKeyConvertedToUnknown (по умолчанию = IgnoreError)

- KeyDuplicate (по умолчанию = IgnoreError)

- KeyNotFound (по умолчанию = ReportAndContinue) — действие, которое должен выполнить сервер, когда возникает ошибка целостности данных этого типа. Свойство имеет три опции: - IgnoreError - сообщает серверу, чтобы он продолжал обработку до достижения предела количества ошибок без логирования ошибок. - ReportAndContinue - сообщает серверу, чтобы он продолжал обработку до достижения предела количества ошибок с логированием ошибок. - ReportAndStop - сообащает серверу, чтобы он логировал ошибку и прервал обработку немедленно (вне зависимости от предела количества ошибок).

Заметьте, что сервер всегда выполняет правила NullProcessing перед правилами ErrorConfiguration для каждой записи. Это важно, так как обработка NULL может приводить к ошибкам целостности данных, которые потом должны обработать правила ErrorConfiguration.

На следующем рисунке показаны свойства ErrorConfiguration для куба в панели свойств.


Рис.4. Панель свойств

ОКОНЧАНИЕ СЛЕДУЕТ

[В начало]

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

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

Некоторые архитектурные особенности System.Data.*
Ivan's Blog
MSSQLServer: И так, попробовав написать простейшую хранимую CLR-процедурку, на свежевышедшей версии юкона и студии можно столкнуться с одним забавным эффектом, она, черт возьми, не выполняется.....

MSDN Demo Server's
TK's Blog
MSSQLServer: Для тех, кто хочет посмотреть на новые VS 2005 и SQL 2005 есть одна достаточно неплохая возможность - Visual Studio Hosted Experience. Зарегистрировавшись, можно получить терминальный доступ к уже установленным VS 2005 и SQL 2005...

Еще один забавный момент с новым юконом
Ivan's Blog
MSSQLServer: Одной из таких возможностей является workaround над функциональностью, которой так гордятся почитатели Оракла, а именно autonomus transactions, то бишь, автономные транзакции внутри других транзакций, которые фиксируются в не зависимости от того, зафиксировалась внешняя транзакция или откатилась...

Обзор SQL Server 2005 для разработчика баз данных
Matt Nunn
MSSQLServer: Описание: этот документ содержит обзор новых возможностей разработки баз данных в SQL Server 2005...

Репликация таблиц с различной структурой
Hilary Cotter
MSSQLServer: В данной статье рассмотрены вопросы тиражирования таблиц с различной структурой в SQL SERVER 2000. Рассмотрим четыре случая...

Ошибка, возникающая при вставке дублированных значений в ключевые поля в процессе репликации
Andy Warren
MSSQLServer: Если Вы настроили репликацию с использованием технологии немедленного обновления подписчиков (или отложенного обновления в SQL2K) эта ошибка может возникнуть в случае если у пользователей имеются полномочия на вставку записей в таблицу на подписчике. Если пользователь вставляет запись в таблицу на подписчике, а затем позже тот же самый ключ генерируется на издателе, попытка вставить это повторяющееся значение в ключевое поле завершится с ошибкой. Для того, чтобы избежать появления этой ошибки, наилучшим выходом будет не выдавать разрешения пользователям на вставку записей в таблицу на подписчике, если конечно это допустимо для Вашей бизнес-логикой...

Виртуальная реализация SQL Server 2005
Брайан Моран
MSSQLServer: Ранее в материале <Разбираем "айсберг" SQL Server 2005> (http://www.osp.ru/win2000/news/504_14_4.htm) читателям предлагалось воспользоваться опубликованной в Internet серией информационных выпусков Microsoft, посвященных SQL Server 2005, для более оперативного ознакомления с новыми возможностями продукта. Эти материалы содержат замечательный обзор предполагаемых перспектив, который, однако, не может заменить практики. На этот раз я хочу предложить удобный способ опробовать технологию без ущерба для безопасности и с сохранением неприкосновенности рабочей системы...

Разбирая стратегию хранения Microsoft
Поль Тюрро
Когда-то я пребывал в полной уверенности, что никогда не буду писать статьи на тему хранения данных. Однако времена меняются. Если говорить о резервировании и восстановлении, то очевидно, что в отрасли происходит значительное смещение акцента в направлении использования дисковых решений. Спустя два года после начала поставок Windows Server 2003, разработчики Microsoft выдвинули несколько любопытных инициатив в области решений резервирования данных. И неожиданно для меня самого тема хранения данных стала мне интересна...

Настройка параметров балансировки нагрузки сети в Windows Server 2003
Microsoft
Программа <Балансировка нагрузки сети> позволяет распределять входящие запросы между 32 серверами. Благодаря этому службы уровня предприятия (например, веб-серверы, службы терминалов и серверы потокового мультимедиа) быстро обрабатывают запросы, даже находясь под высокой нагрузкой. Программа <Балансировка сетевой нагрузки> автоматически обнаруживает вышедший из строя сервер и распределяет трафик клиентских компьютеров между оставшимися серверами. Это позволяет обеспечить бесперебойную работу критически важных для предприятия приложений...

Основы Yukon: XML, T-SQL и CLR открывают новые перспективы в программировании баз данных
Эрик Браун
MSSQLServer: Следующая версия SQL Server с кодовым названием включает ряд усовершенствований и обеспечивает расширенную поддержку языков программирования. Например, Transact-SQL теперь в большей мере отвечает спецификации SQL ANSI-99, а запросы стали более гибкими и четкими. Yukon позволяет выполнять пользовательские функции, хранимые процедуры и триггеры, написанные на CLR-совместимых языках, в частности на Visual Basic .NET и C#. Он также поддерживает подмножество языка XQuery, предлагаемого W3C в качестве стандарта, и содержит встроенные средства работы с XML. Автор статьи рассматривает наиболее значимые возможности языка и показывает их применение на примере приложения для ввода заказов...

Технология Хранилищ данных для государственных учреждений
Bill Inmon
OLAP: Хранилища данных (Data Warehouses) уже долгое время используются в коммерческих структурах. Первые Хранилища появились еще в конце 80-х годов прошлого века (тогда они назывались базы атомарных данных). В начале 90-х, с появлением технологий извлечения, преобразования и загрузки данных (Extraction, Transmission, and Loading - ETL) и оперативной аналитической обработки (On-line Analitic Processing - OLAP) началось активное распространение Хранилищ данных в коммерческом секторе. Вскоре технология Хранилищ данных превратилась в развитую архитектуру, известную как фабрика корпоративной информации (corporate information factory - CIF). Технология Хранилищ данных стремительно распространялась в деловом мире...

IBM Rational Application Developer for WebSphere Software 6.0
INTERFACE Ltd
CASE: IBM Rational Application Developer for WebSphere Software 6.0 - решение, предназначенное для быстрого проектирования, разработки, анализа, тестирования, профилирования и развертывания приложений web, веб-служб, Java, J2EE и порталов в полной среде IDE на базе Eclipse...

IBM Rational Web Developer for WebSphere Software 6
INTERFACE Ltd.
CASE: IBM Rational Web Developer for WebSphere Software 6 - решение, предназначенное для быстрой разработки, тестирования и развертывания приложений Web, веб-служб и приложений Java в среде IDE, простое в обучении и работе....

IBM Rational Manual Tester
INTERFACE Ltd.
CASE: IBM Rational Manual Tester - инструмент для ручного создания и выполнения тестов, который способствует повторному использованию шагов теста, чтобы сократить негативный эффект от изменений ПО на работу тестеров и бизнес-аналитиков. Он добавляет контроль и организацию в любой процесс ручного тестирования, повышая эффективность и скорость работы по оценке качества приложения...

IBM Rational Software Architect
INTERFACE Ltd.
CASE: IBM Rational Software Architect - инструмент проектирования и разработки, который использует принцип разработки на основе моделей UML для создания хорошо спланированных приложений и служб...

IBM Rational Software Modeler
INTERFACE Ltd.
CASE: IBM Rational Software Modeler - визуальный инструмент моделирования и проектирования, который позволяет пользователям четко документировать эти различные представления системы и доводить их до сведения заинтересованных лиц...

Отслеживание изменений в разных версиях при работе с продуктом AllFusion Model Manager
Зайцев С.Л.
CASE: Регистрация каждого набора изменений, внесенных в модель, осуществляется с помощью присвоения версии при каждом сохранении модели. При этом родительская модель является самым последним состоянием модели. Каждый раз, когда в родительской модели сохраняются изменения, создается новая родительская модель, а прежней модели присваивается версия. Каждая версия представляет состояние модели на время определенного сохранения. Функция версионирования позволяет отслеживать, кто и когда внес изменения в каждую версию, и позволяет возвращаться к более ранним состояниям...

Пакет BusinessObjects XI
Переведено БНТП
CASE: Business Objects - крупнейшая в мире компания-разработчик программного обеспечения для бизнес-аналитики. Насчитывая более чем 29000 заказчиков по всему миру, включая 80% компаний из списка Fortune 500, Business Objects помогает организациям достичь лучшего понимания тонкостей функционирования их бизнеса, улучшить процесс принятия решений и оптимизировать эффективность работы. Созданная компанией платформа бизнес-аналитики BusinessObjects XI предоставляет наиболее продвинутую в отрасли платформу для создания отчетов, формирования запросов и проведения анализа, управления эффективностью работы компании и интеграции данных. BusinessObjects XI включает Crystal Reports, промышленный стандарт в области корпоративной генерации отчетов...

CRYSTAL REPORTS XI
INTERFACE Ltd.
CASE: Crystal Reports - наиболее популярный генераторов отчетов, позволяющий создавать отчеты на основе данных практически из любого источника, включая реляционные базы данных, ERP и CRM-системы, OLAP, XML/.NET-, Java- и COM-источники данных. Crystal Reports обладает интуитивно понятным интерфейсом для быстрого создания гибких, информативных и удобных отчетов любого уровня сложности и высокого качества. Созданные отчеты могут быть встроены в Web-приложения, порталы и в клиентские приложения, опубликованы как Web-сервисы, а также могут распространяться в организации через систему корпоративной отчетности, построенную на базе Crystal Reports Server. Генератор отчетов Crystal Reports интегрирован с ведущими системами разработки приложений для платформ .NET, Java и COM (IBM WebSp...

Автоматизация хаоса, или зачем нужны системы электронного документооборота
В.Сенкевич
CASE: "Хаос автоматизировать невозможно!" - Распространённое заблуждение. "Автоматизированный хаос не перестанет быть хаосом!" - Ещё одно распространённое заблуждение....

Цены на инструменты Microsoft неприятно удивили разработчиков
Мартин Ла-Моника
C-sharp: Планируемые изменения цен на инструменты программирования Microsoft возмутили некоторых заказчиков - они жалуются, что софтверный гигант обирает малые компании и независимых программистов...

Microsoft тестирует новую программу автоматической загрузки обновлений
Ina Fried
Софтверный гигант обкатывает универсальную программу обновления ПО, которая поможет пользователям Windows XP, Windows 2000 и Windows Server 2003 управлять поправками для ОС и приложений...

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

GUI for Sql Server Service Broker
Niels SQL Server Blog
SQL Server Service Broker (SSB) is in my mind one of the coolest features of SQL Server 2005, and I have done quite a lot with it. What is most frustrating with it though is the lack of GUI. In other words, to use it – you have to create all your objects in scripts

SQL Server Integration Services 64 bit - featured in Bil Gates' keynote at WinHEC
Donald Farmer
Fantastic to see a 64-bit ETL load live on stage in Bill Gate's keynote at WinHEC. SSIS really shines in these situations: the sheer performance and scale on 64-bit is stunning, but the visual debugging and ease-of-use really make for a compelling demo, even before people start comparing us dollar-for-dollar with the competition. BillG says This is one of the clearest and neatest SQL Demos I have ever seen. Who am I to disagree?

Slides and Demos from Financial Services Developer Conference in NY
Cihangir Biyikoglu
I promised to make the presentation and demos available here and here they are

What happened to SNAC tracing in beta2?
Bob Beauchemin's Blog
Since .NET 2.0 beta2 was released I've received a few inquiries about what happened to tracing SNAC (that's SQL Native Client). Looking at the adonetdiag.mof file, the SQLNCLI.1 entry (that's SNAC) was removed. I also got a solution/workaround from Glenn Johnson, who asked the question, then provided the answer faster than I could fly from Portland to San Jose and figure it out myself

Recursive Queries in SQL:1999 and SQL Server 2005
BROUARD
How many of you have written resursive queries in SQL? Or any language since school for that matter? Not many people write recusrive queries because of the complexity, the difficulty to understand how they work, and the chance for heap overflows. However, SQL Server 2005 implements Common Table Expressions and recursion in a way that is much easier to code and incorporates some safeguards. New author SQL Server MVP Frederic Brouard has written a fantastic article looking at resursive queries

SQL Server 2005 - Setup and Deployment
Marcin Policht
So far, in our series of articles, we have presented the most significant new and enhanced features available in Microsoft's SQL Server 2005 Beta 2, but neglected to provide you with information regarding its installation. While it is more than likely that, by now, you already have accomplished this entirely on your own, we suspect that you still should be able to benefit from a more in-depth analysis of the setup process. Explaining improvements in its design and implementation is the primary purpose of this article

How can I restrict users to one computer when logging onto the VPN?
Chris Partsenidis
I have a remote sales office working remotely using Terminal Services thru a VPN into a Windows 2000 Server. I want to make sure that they can't use another computer from another place to log in into the server; only from the office and always the same computer

Security Myths
Jesper M. Johansson and Steve Riley
This is the first article in a two-part series based on Jesper and Steve's new book, "Protect Your Windows Network." The book will be released in late May from Addison-Wesley. For more information, see

Small Business Computer Security Checklist
Microsoft
If you are serious about security, there are three things you must do: 1) keep your software up to date; 2) protect against viruses, and 3) set up a firewall

Server and Domain Isolation Using IPsec and Group Policy
Microsoft
Microsoft recognizes that large organizations face increasing challenges in securing the perimeter of their networks. As organizations grow and business relationships change, controlling physical access to a network can become impossible. Customers, vendors, and consultants may need to connect mobile devices to your network for valid business reasons. The advent of wireless networks and wireless connection technologies has made network access easier than ever. This increased connectivity means that domain members on the internal network are increasingly exposed to significant risks from other computers on the internal network, in addition to breaches in perimeter security

Building cubes from SAP data
Chris Webb's BI Blog
Courtest of Mat Stephen, whose blog I've just come across and which contains a lot of interesting MS BI-related content, I've just read the following paper on building AS2K cubes from SAP BW. Now I don't know much about SAP BW or R/3, but I do know that this is the data that people most want to analyse and that SAP's own BI tools have a history of being a bit rubbish (I've heard this from a lot of people, but the best summaries can be found in the OLAP Survey and the OLAP Report - both fine reads if you have the cash). However, I also know that one of the main reasons why SAP's own attempt to use AS2K to speed up BW's query performance was never widely used was because AS2K simply couldn't handle the number of dimensions and levels that are present in a typical BW Infocube: the only time I heard anyone complaining about AS2K only being able to support 128 dimensions and 256 levels in a cube was in precisely this scenario, even if in my opinion anyone expecting a user to understand a cube this complex is nuts...

Inside SQL Server Development
Steve Jones
After the announcement last week by Microsoft that there would be no Beta 3 for SQL Server 2005 and that the CTP process would take over, Steve Jones had the opportunity to interview Thomas Rizzo and Allan Ros from the SQL Server development team about the CTP process and testing the SQL Server builds SQLServerCentral.com had the opportunity to talk to Microsoft and get a few questions about the upcoming release of SQL Server 2005 answered. We spoke with Tom Rizzo, Director, SQL Server and Alan Ros, Testing Manager for SQL Server

Keep Bad Guys at Bay with the Advanced Security Features in SQL Server 2005
Don Kiely
This article is based on a prerelease version of SQL Server 2005. All information contained herein is subject to change

Microsoft’s SQL Server 2005 to Support Mainframe, Unix Data Access
Stephen Swoyer
There’s a chance mainframe and Unix administrators will have to deal with the revamped SQL Server whether they want to or not

Partitions in SQL Server 2005
KAREN'S SQL BLOG
This morning, I listened to Bryan Von Axelson's excellent TechNet Webcast on partitioning in SQL Server 2005. It, like most of the MSDN Webcasts I've reviewed in the last few weeks, is worth the replay, because there are major changes in partitioning in Yukon

Analysis Services Problems
Minding My Own Business
Have you ever had a problem with no obvious solution?

Analysis Services Problems Part II
Minding My Own Business
In my last posting I talked about the trouble that you can get yourself into trying to run PTS in poor network environment. We discussed how to get XMLA as far as the desktop however did not discuss how we can get client tools to consume this data with the minimum of hassle

Analysis Services Network Performance Part III
Minding My Own Business
Many people have raised a few good points in reply to my last positing. The consensus is that many people would assume that naturally verbose XMLA would be a slower solution than the binary connection protocol that PTS uses

Analysis Services Locks
Minding My Own Business
In a high stress environment where you are trying to process a partition whilst your users are actively querying the cube you may have reached the situation where Analysis Services appears to lockup and no queries are resolved, and connections are not honoured

Data Management, Exploration and Mining Group (DMX)
research.microsoft.com
The Data Management, Exploration and Mining group focuses on solving two key problems in information management reducing the total cost of ownership of information management and enabling flexible and rich modes of interaction with stored information, while recognizing the key role the web plays in information delivery and publishing

Unambiguous dates in SQL Server
Jamie Thomson's Blog
I got some smashing advice from a guy called Steve Kass today that I wanted to make sure I kept and remembered. I thought about the best place to store it and I thought, well why not right here on my blog. That way I won't forget it and maybe other people can benefit too

SQL Server 2005 Integration Services - Migrating SQL Server 2000 DTS tasks
Mat Stephen's WebLog
I have extracted the following from a useful article: SQL Server 2005 Integration Services: Lessons from Project REAL, http://msdn.microsoft.com/sql/default.aspx?pull=/library/en-us/dnsql90/html/SQL05InSrREAL.asp

MDX Subqueries in SQL Server 2005
Paolo's WebLog
With Analysis Services 2005 it is possible to write an MDX query against a Subquery, which restricts the multidimensional space against which the main query is executed (for MDX expressions there is a similar concelt called SCOPE). I have tried subqueries with the December CTP of Yukon (basically a post Beta2 build). The following query uses a subquery

Parent child dimensions in Analysis Services 2005
Paolo's WebLog
Recently I worked with a customer in the sales force reporting area. The problem is very common: there is a hierarchical sales organization, and every sales manager needs to see sales performance of his own sales network. Changing dimension of type 2 is a nice variation of the problem (in that each sales manager sees the performance of a salesman only for the period of time he reported to him). We worked with parent-child dimensions in Analysis Services, and we used Reporting Services to distribute customized reports to every salesman

Parent child dimensions with Reporting Services 2000
Paolo's WebLog
Recently I was asked to build a SQL 2000 Reporting Services report against an Analysis Services 2000 parent child dimension. The report also has to contain member properties. The main issue I faced was that Report Builder returns a flattened rowset where a column exists for each level of any cube dimension. This works perfectly with regular dimensions, but if the dimension is an unbalanced one (like parent child are) it is at least hard to bind columns to data region in the report, and rebuild the hierarchy. Here it is my query (it works against the Account dimension in the Budget cube in the Foodmart database)

Harden MS Reporting Services Using Custom Extensions
Teo Lachev
An incredibly flexible extensibility model is included with Microsoft Reporting Services and hammering down a custom security model is one smart way to take advantage. Shore up your implementation with forms authentication and role membership

Harden MS Reporting Services Using Custom Extensions, Part 2
Teo Lachev
In Part 1, you learned to create a custom security model for Microsoft Reporting Services. Now, tighten the screws by adding role membership authentication and stave off problems by troubleshooting and debugging your custom extensions ahead of time

Display Your Data Your Way with Custom Renderers for Reporting Services
James Yip
This article was based on Beta 2 of Microsoft SQL Server 2005 and all information contained herein is subject to change

Microsoft Reporting Services in Action
Teo Lachev
Introducing Microsoft Reporting Services

Service Pack 2 brings client-side printing
Prologika
Printing reports was akward with RS 2000 to say the least. This was especially true when the reports were rendered in HTML since in this case the report is generated inside an IFRAME element. Since the frame could scroll right-clicking and engaging the standard browser printing was problematic. As a workaround, the report had to be exported in PDF format (or other non-HTML renderer) and printed as such

Where is my ecryption key gone?
prologika
As I stressed out in one of my previous posts and my book, it is an absolute must that you back up the RS encryption key as one of the first steps after you install RS and lock it up in a safe place. You can back up the encryption key this by using the rskeymgmt utility as follows

RS: You better watch out...SP2 is coming to town
prologika
While we still have to wait for a couple of more months to get the official release, Santa is giving us a Beta preview of the forthcoming RS 2000 SP2

A case for self-publishing
prologika
An interesting trend has been building momentum recently which has caught my attention. More and more authors are choosing self-publishing as a viable option to commercial publishing. Interestingly, I haven’t come across a technical author who is happy with commercial publishers and has good things to say about them. Although I am not excluding the probability that there may be a few enlighten commercial publishers, the common pattern for aspiring authors is as follows

Microsoft Ships SP2 for Reporting Services with Next-Gen Reporting Features
Stephen Swoyer
When it ships later this year, Microsoft Corp.’s SQL Server 2005 will include a substantially revamped Reporting Services facility

When Does Enterprise ETL Make Sense?
Stephen Swoyer
With IBM Corp.’s $1 billion purchase of Ascential Software Corp., the once sleepy data integration space is suddenly the hottest ticket in town

sp_OAxxx are evil
SQL BI
Today I've got a question from a student (I was teaching a DTS/AS course) that asked me if the use of sp_OAxxx stored procedures to launch a DTS package execution is a good thing (of course, in a production environment). My answer is very simple: never ever ever ever!

Populating a fact table with SSIS
SQL BI
Approaching SSIS (Sql Server Integration Services) from a DTS background one of the questions that comes to mind is: what is the better way to populate a fact table?

SQL Task in SSIS with external file
SQL BI
SSIS has a feature I desperately wanted in DTS for years: you can use an external SQL file as a source SQL statement for the SQL Execute Task. Unfortunately this is not available for Data Flow Source component

Install Reporting Services SP2 Web Parts on SharePoint
SQL BI
I just installed the Reporting Services SP2 beta on my dev-test machine. I had to search into beta newsgroups how to install SharePoint Web Parts onto my SharePoint Services installation: to do that, you need to start a command like

Business Intelligence Portal Sample Application for Microsoft Office 2003
Microsoft
Business intelligence portal sample application for Microsoft Office 2003 is an integrated, web-based OLAP solution that enables employees in an organization to create and share OLAP/Relational/XML based views, using SharePoint Portal Server, SQL Server Reporting Services, and Office Web components

Don't use quote inside comments with Analysis Services 2000
SQL BI
Yesterday I lost at least an hour (but only for a coincidence I haven't lose more hours) because I came across a bug of Analysis Services 2000

DISTINCT COUNT measures and NULL value
SQL BI
After several years of using Analysis Services and SQL Server 2000, today I stumbled in this problem

Snapshot Isolation Level
SQL BI
I just atteended a session where Ron Talmage showed the new Snapshot Isolation feature of SQL Server 2005. While it can be used to improve scalability of a traditional LOB application, it's really important to BI applications. Making a long story short, one of the available features is that you can take a "snapshot" of the database at a certain point in time and, without any lock (neither exclusive nor sharing), you can query the database viewing the same snapshot for a whole transaction (i.e. comprising several SELECT statement)

The Advent of E3
Greg Mancuso and Al Moreno
Summary: Clarification and definitions for the data integration landscape

Building cubes with the SQL Server Accelerator for Business Intelligence
activeinterface.com
For the last couple of years, my approach to cube development has been to use the SQL Server Accelerator for Business Intelligence (SSABI). Rather than clicking screen after wizard screen in the Analysis Manager, I create a single file which declaratively specifies the cube schema. SSABI takes that file and creates a whole infrastructure for creating and updating the cube from source data

Moving big cubes using a custom backup and restore add-in
activeinterface.com
Backing up and restoring Analysis Services (AS) catalogs is a common enough administrative task. But those of you who are pushing AS to its limit know that the backup and restore utility built into Analysis Manager has a size limit of 2G for any partition. It is not at all uncommon with a large data warehouse project to end up with cubes bigger than that. And when you cross that threshold you have two options a) just build the cube and don't try moving it, or b) build your own new and improved cube archive utility. Note that with the Enterprise Edition, you could create multiple partitions to keep the size within this limit

Using logins, users, and roles more effectively
Arthur Fuller
Changing the way you use Windows logins, users, can make you more efficient. We show you how to do this, and explain how this can help you meet your deadlines

Managing the Information Lifecycle to Increase Database Performance
Stephen Swoyer
ILM is an emerging technology that promises to decrease the size and improve the performance of OLTP databases and data warehouses

A DBA's Perspective on Managing Change
Mike Moser
We examine the integration of database change management into a BSM strategy, plus the critical role of asset, configuration, and change management solutions in achieving BSM

datetime quirks
Aakash Kambuj
Datetime and smalldatetime data types can be confusing at times

Can you add cluster nodes to an existing clustered SQL Server 2005?
scalabilityexperts.com
I had a question come to me the other day. Can you add a node (from the SQL Server Point of View) to a cluster after it is already set up? Or put another way, if I add another node to the Windows cluster, how can a virtualized SQL Server be made able to use the newly added node as a possible failover destination? The question largely stems from the growing number of vendors, who are offering “Cluster Solutions”, where their products have been tested and certified to do more than the ubiquitous 2 node failover cluster

Introducing SQL Native Client
DataWorks WebLog
By now you may have heard of a new data access technology called “SQL Native Client” that will ship with SQL Server 2005. But before we go much further in discussing it, let’s be clear about what we mean by “new”. It is new in that this data access library did not exist prior to SQL Server 2005, but rest assured that it is not some radical new design for accessing data!

Problems with Identity and Generating Sequential Numbers Manually
Dejan Sarka
We can see three problems with the Identity property. SQL 6.5 had all three, SQL 7.0 two of them; SQL 2000 still has the last one

Debugging CLR Stored Procedures in SQL Server 2005 - don't forget the pdbs!
Eric Nelson
A year back I catalogued all my C# stored procedures into SQL Server 2005 by hand. A year on and I have become lazy - relying on the tight integration between VS.NET 2005 Beta 1 and SQL Server 2005 Beta 2 to simply publish the C# code into the database. Well today it bit me. I was using a sample that included an install which manually catalogued the stored procedures - and yep, I needed to debug it. The frustration was, no matter many trys I was unable to get the code to stop at my break point in the C# sp

SQL Server 2005 Service Broker - simplest Hello World sample I could come up with!
Eric Nelson
Next week I am talking to a few of our early adopters about Service Broker - a great piece of technology that we introduce in SQL Server 2005 for asynchronous messaging. I like to start to learn a new technology by finding the simplest example that works. There are several fine examples out there - but nothing quite as simple as I would have liked. So I created my own. I should have plenty more to say on service broker next week - but for the moment - enjoy the simplicity

Material for my MSDN WebCast "Making the Most of XQuery with SQL Server 2005"
Michael Rys
You will be able to get the WebCast recording and copies of the slides from the MSDN website (registration required). My apologies for the interruption during the WebCast

MSDN WebCast Demo: Initializing XQuery Demo
Michael Rys
Initalize DB for Querying and updating. Execute every statement in the sample in order (c) 2004, 2005 Microsoft Corp

SQL Server 2005 Books Online
whidbey.msdn.microsoft.com
This documentation is provided for informational purposes only. Microsoft makes no warranties, either express or implied, in this document. See the link at the bottom of this page for the full copyright notice

A Tutorial for Constructing a Plug-in Algorithm
Max Chickering and Raman Iyer
Learn how to create an Analysis Services 2005 plug-in algorithm. This tutorial steps through the process of implementing a plug-in algorithm and integrating that algorithm into Analysis Services. It also provides stub code to enable algorithm developers to quickly integrate a "shell" plug-in algorithm into Analysis Services

Trace and Replay Objects: A New API for SQL Server Tracing and Replay
Slavik Krassovsky
This paper introduces Trace and Replay objects, a new feature in Microsoft SQL Server 2005. Trace and Replay objects is a new managed API for tracing, trace manipulation, and trace replay

SQL Server Reporting Services fields cannot be used in headers or footers - work around
Mat Stephen's WebLog
I'm grateful to Chris Hayes for this top tip. Reporting Services doesn't like you using data fields in its headers and footers - here are two ways to work around the problem

Microsoft hopes to connect the lifecycle dots
Margie Semilof and John Hogan
LAS VEGAS -- Microsoft on Tuesday confirmed that it will no longer try to combine its desktop and server management software into a single product, but it will forge ahead with an initiative that standardizes the software lifecycle

Selecting the Ideal Business Intelligence/Data Analytics Solution, Part 1
Mark Worthen
The U.S. Bureau of Land Management saved 1.6 million dollars in the first year using Brio's business intelligence software. Using a SAS data analytics solution, Jaya Kolhatkar, Amazon.com's director of fraud detection, was able to cut fraud by 50 percent. Using ProClarity, Dave Edwards at Weiser Lock reports they were able to cut reporting staff in half and pay for the investment in ProClarity in only four months.

The Power of Metrics: KPIs: Avoiding the Threshold McGuffins
Kent Bauer
Completion of the key performance indicator (KPI) rationalization and definition phases allows us to focus on the next important step in KPI development ­ setting KPI targets and threshold levels. This first column will discuss how special and common causes contribute to process variation which, subsequently, impacts KPI metrics

[В начало]

ФОРУМ SQL.RU

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

Кто на чем пишет клиентов под SQL Server?
отправка сообщения с сервера MSSQL по всем ADO коннектам текущей БД?
Табличная переменна vs Постоянная таблица - есть ли выигрышь?
БД: логическая связь таблиц. Какие плюсы?
генерация значения ключевого поля до insert
Прошу голосовать за SQL.RU в конкурсе Интернить 2005
Запуск из триггера консольного приложения, которое делает запрос к БД
Предача массива в функцию (процедуру)
Kак лучше сделать лог для процедуры
Откат (отмена) выполненного запроса
MSDE / Agent
Что такое транзакция?
COLUMNS_UPDATED глюк или что???
Как быстрее сделать из нормальной SQL БД - Демо Версию
DTS -имя файл как глобальная переменная
MSSQL: ODBC Connection String: Implicit Transactions
Проблема с конвертацией целых типов при экспорте в DBF с помощью DTS
Помогитееее!!!! MSSQL -> MYSQL
Как удалить пользователя Windows NT из всех баз SQL Server?
Знает ли процедура собственное имя?

[В начало]

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

выгрузка данных в XML-файл
QA коннектится, EM - нет
Восстановление базы
Ошибка Invalid Pointer
LoadXMLFromFile - не работает
Проблема при запуске dts package через xp_cmdshell
FAQ Сложение символьных полей в запросе
ReportingServer
Читайте: SQL Server 2005 Books Online
Процедура SQL-->MDB глючит
Timeout Expired Analysis Services
Непонятка...
Самый быстрый запрос?

[В начало]


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

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

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



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


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

В избранное