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

MS SQL Server

  Все выпуски  

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


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

#247<<  #248

СОДЕРЖАНИЕ

1.СТАТЬИ
1.1.Основы I/O в SQL Server 2000 (продолжение)
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
Перевод Александра Гладченко

Прерванный I/O

Прерванный I/O (Torn I/O) в документации SQL Server часто упоминается ещё как оборванные страницы (torn page). Прерванный I/O происходит при частичной записи, после чего данные остаются в несогласованном состоянии. В SQL Server 2000/7.0 страницы данных имеют размер 8 Кбайт. Разрыв страниц данных в SQL Server происходит тогда, когда только часть из 8 Кбайт будет правильно записана или прочитана с долговременного носителя.
SQL Server всегда проверяет состояние данных после завершения I/O, что бы идентифицировать любые ошибки операционной системы, и соответствие размера передаваемых данных, а затем обрабатывает возможные ошибки. Оборванные страницы могут появиться после отказа системы, в случае если подсистема ввода - вывода при запросе I/O не завершит полностью запись/чтение 8 Кбайт данных.
Производители дисков ограничивают передачу данных размером сектора диска, равным 512 байт, поэтому, если долговременным носителем является физический диск, и его контроллер не имеет кэша с автономной батареей, запрос I/O в итоге ограничивается скоростью вращения шпинделя диска. Таким образом, если I/O пытается записать 8 Кбайт (имея шестнадцать 512-байтных секторов), но успешно на долговременный носитель запишутся только первые три сектора, в этом случае страница становится оборванной, что приведёт к нарушению целостности данных, т.к. последующее чтение страницы размером в 8 Кбайт получило бы 3 сектора новой версии страницы данных и 13 секторов старой версии.
SQL Server умеет обнаруживать оборванные страницы, анализируя базу данных. Часть первого 512-байтного сектора страницы содержит заголовок, в котором содержится информация каждом из 512-байтных секторов являющимися частями 8-ми Кбайтной страницы. Обнаружить обрыв страницы можно анализируя заголовок оборванной страницы.
Обнаружение оборванных страниц требует минимальных ресурсных затрат и является рекомендуемой практикой администрирования SQL Server. Чтобы прочитать больше об обнаружении оборванных страниц, см. статью "Torn Page Detection" в SQL Server Books Online.

[В начало]

Флаг чётности журнала

Изготовители аппаратных средств гарантируют, что сектор записывается полностью, поэтому файлы журнала транзакций SQL Server 2000 всегда записываются кусками, равными размеру сектора. Каждый сектор журнала транзакций содержит флаг четности. Этот флаг используется, что бы убедиться в правильности записи последнего сектора.
Во время процесса recovery, в журнале анализируется его последний, записанный сектор. Таким образом, записи журнал транзакций могут использоваться для возвращения базы данных в соответствующее транзакционное состояние.

[В начало]

Зеркальное отражение и удалённое зеркальное отражение дисков

Зеркальное отражение - это распространённая практика обеспечения избыточности данных и очень важный инструмент защиты данных. Зеркальное отражение можно реализовать на программном или аппаратном уровне.
Наиболее распространённой является аппаратное решение, зеркально отражающие образы дисков на физическом уровне. Развитие этой технологии привело к возможности отражения на диски, находящиеся друг от друга на большом расстоянии.
Сегодня на рынке доступны несколько типов реализаций зеркального отражения. Некоторые из них базируются на использовании кэша, другие направляют I/O на все зеркальные тома данных и контролируют, что бы запросы I/O были выполнены полностью на всех томах. В любом случае, все эти реализации должны соблюдать порядок записи.
SQL Server считает зеркало долговременным носителем, копирование данных на который осуществляется по меткам времени, что является одним из ключевых моментов этой технологии. На отраженной подсистеме должен строго соблюдаться протокол WAL, без чего невозможно будет обеспечить исполнение требований ACID. Отраженная подсистема должна в точности повторять все метки времени, как они были в первичных данных.
Например, многие высокопроизводительные дисковые подсистемы могут обслуживать несколько каналов I/O. Если журналы базы данных помещены на одно зеркало, а файлы данных на другое, поддержка порядка записи уже не может быть обеспечена только одним аппаратным компонентом. Без дополнительных механизмов, порядок записи страниц данных и журнала транзакций на зеркальные диски не может быть реализован таким образом, что бы соблюсти порядок меток времени. Эти дополнительные механизмы отражения необходимы, чтобы гарантировать порядок записи на несколько физических, зеркальных устройств. Иногда, их называют зеркальными группами (Mirror Groups) или последовательными группами (Consistency Groups).
Для получения дополнительной информации, прочтите эту статью: Implementing Remote Mirroring and Stretch Clustering

[В начало]

Forced Unit Access

Forced Unit Access - сквозной доступ (FUA) происходит тогда, когда файл открыт (используется CreateFile) с флагом FILE_FLAG_WRITETHROUGH. SQL Server открывает все базы данных и журналы с этим флагом.
Флаг указывает на то, что любой запрос на запись с битом FUA нужно посылать непосредственно подсистеме I/O. Этот бит указывает подсистеме, что данные должны попасть на долговременный носитель до того, как I/O будет считаться законченным, т.е. операционная система выдаст сообщение о завершении I/O. При этом не должен использоваться промежуточный кэш, который не относиться к долговременному носителю. Другими словами, запись должна идти непосредственно в долговременный носитель, и такой процесс принято называть сквозной записью (writethrough).
Такой доступ позволяет предотвратить проблемы, которые могут возникнуть, когда кэш (например, кэш операционной системы, который не является автономным, как кэш с батарейкой), принимает I/O и сообщает SQL Server, что I/O завершен успешно, а фактически данные ещё не были сохранены на долговременном носителе. Без такого доступа, SQL Server не смог бы полагаться на систему для обеспечения протокола WAL.
Стоит поинтересоваться у изготовителя по поводу поддержки FUA его оборудованием. Некоторые аппаратные средства обрабатывают состояние FUA как индикатор того, что данные должны быть сохранены на физическом диске (даже если он оборудован автономным кэшем с батарейкой). Другие устройства полагаются на то, что кэш с батарейкой можно считать долговременным носителями, который поддерживает FUA. Разница в таких подходах может сильно влиять на производительность SQL Server. Подсистема, которая поддерживает кэширование долговременного носителя, как правило, намного быстрее осуществляет запись, чем подсистема, которая требует, чтобы данные были записаны на физический носитель.
Важно: Спецификации и реализации IDE дисков не имеют ясных стандартов того, как они обслуживают FUA запросы. Спецификации SCSI дисков и их реализации предусматривают использование FUA запросов, отключают кэши физической дисковой системы и другие механизмы кэширования. У многих IDE систем, запрос FUA просто будет отвергнут аппаратными средствами IDE дисков, делая, таким образом, этот тип дисковых подсистем опасным для работы SQL Server или других программ, которые полагаются на поддержку FUA. Из-за необходимости обеспечения реакции на установку FUA, некоторый производители IDE дисков создают утилиты, которые блокируют кэш IDE диска, что позволяет обезопасить работу SQL Server.
Важно: Некоторые версии Microsoft Windows не всегда передают бит FUA аппаратным средствам. Соответствующие исправления были внесены, начиная с Windows 2000 Service Pack 3 (SP3), после которого бит FUA теперь всегда обрабатывается правильно. Для обратной совместимости, Microsoft выпустил утилиту Dskcache.exe, которая позволяет управлять этим поведением операционной системы.
Используйте эту утилиту, чтобы управлять реакцией на флаг FUA, если компьютер обслуживает SQL Server, а диски имеют кэш. Утилита может быть получена у Microsoft, для получения более подробной информации, изучите статью: Obtain the Dskcache.exe Tool to Configure the "Power Protected" Write Cache Option

Примечание переводчика: В Windows 2000 Advanced Server службы Active Directory при запуске отключают кэширование записи для жестких дисков.

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

[В начало]

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

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

Кто такие MVP
Alexander Lozhechkin [MSFT]
Кто такие MVP? MVP - это аббревиатура, расшифровывающаяся, как Most Valuable Professionals. То есть наиболее ценные профессионалы. Это наиболее авторитетные независимые специалисты по технологиям Microsoft, которые активно участвуют в форумах, User Groups, блогах, квалифицированно помогая другим пользователям продуктов Microsoft и программистов, создающих решения на платформе Microsoft, отвечая на их вопросы и давая советы. MVP независимы от Microsoft, их не нанимают на работу в Microsoft и не платят им зарплату. Также совсем необязательно, чтобы MVP всегда хвалили Microsoft. Очень часто самую серьезную критику (но при этом аргументированную и объективную) Microsoft получает как раз от MVP...

Презентации DevDays
Alexander Lozhechkin [MSFT]
Пока не выложены, но скачать вы их уже можете. Эта противоречивая фраза означает, что на сайт www.microsoft.com/rus мы их еще не опубликовали (сейчас занимаемся), но на блог выложить проще, что я и делаю (здесь только первые 4 презентации)...

Объединение возможностей Analysis Services и средств отчетности
Дуглас Макдауэлл
MSSQLServer: Я вот уже несколько месяцев работаю с технологией SQL Server 2005 Analysis Services, и недавно мне довелось побеседовать с представителем основного состава группы OLAP Services и руководителем программы Analysis Services Ариэлем Нетцем. В ходе разговора обсуждались некоторые важные изменения, еще не получившие широкой огласки, в частности, объединение технологии OLAP и средств отчетности....

64-х разрядное будущее корпоративных вычислений
Поль Тюрро
В течение последних нескольких месяцев я постоянно возвращаюсь к теме, вокруг которой день ото дня нарастает ажиотаж - новые серверные версии Microsoft. Хотя платформы Intel и HP какое-то время еще будут удерживать лидерство по масштабируемости и производительности вычислений, платформа х64, обладая полной совместимостью с 32-разрядным кодом х86 и адресным пространством истинной 64-разрядности, уверенно продвигается вперед. Я полагаю, многие согласятся с утверждением, что х64 - это будущее 64-разрядных вычислений. А вот то, что платформа х64 быстро заменит 32-разрядное оборудование (и на стороне клиента, и на стороне сервера), очевидно не всем, а между тем процесс замены уже идет...

SQL Server 2005: анализ возможностей
Брайан Моран
MSSQLServer: Выпуск SQL Server 2005 уже на протяжении стольких лет кажется таким близким и одновременно далеким, что с трудом верится в скорый выход пакета. Читатели, в чьи планы не входит немедленный переход на SQL Server 2005, могут сохранять спокойствие. Понятно, что большая часть сообщества пользователей SQL Server еще не один год будет хранить верность версии SQL Server 2000. Однако, поскольку SQL Server 2005 - первое значительное обновление за очень долгое время, информация о технологии заинтересует многих. Тему SQL Server 2005 мы будем регулярно обсуждать на протяжении предстоящих месяцев. Сегодня я обращаю ваше внимание на статью Microsoft под названием "Expanding the SQL Server Product Line", размещенную по адресу http://lists.sqlmag.com/t?ctl=6904:7F5AD. В ней дается общее...

Разбираем "айсберг" SQL Server 2005
Брайан Моран
MSSQLServer: На пути к освоению новых возможностей и постижению многообразия вариантов архитектуры SQL Server 2005 вспомним мудрые слова "путь длиной в тысячи миль начинается с первого шага". Хотя понятно, что читатели, скорее всего, не располагают временем для изучения продукта, который еще как минимум полгода не будет запущен в рабочий процесс...

В фокусе Microsoft Virtual Server 2005
Арсений Чеботарев
Виртуализация вычислительных ресурсов - довольно популярная в последнее время технология, особенно в серверных системах. Интересно проанализировать тенденции развития этого направления и нового продукта Microsoft - Virtual Server 2005, одного из важнейших компонентов Microsoft Dynamic Systems Initiative....

Сервис-ориентированная архитектура
Intersoft Lab
Сегодня наблюдается устойчивый рост интереса к концепции сервис-ориентированной архитектуры (service-oriented architecture, сокр. SOA). Свидетельство тому - оценки аналитических компаний и усилия крупных поставщиков программного обеспечения по продвижению этого подхода...mo

[В начало]

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

Flash Tip: Stored Procedure Runtime
Brian Moran
Q: During performance tests in both single-user and multiple-user modes, I received some confusing results. A particular stored procedure generally runs in five seconds; however, when multiple users run the query at the same time, it takes nearly five times as long to run all the queries. After the first user receives the results, the others come back one right after another. Does SQL Server let only one person execute a stored procedure at any given time?

Yukon's management tools
Ken Henderson's WebLog
As the creator of a few SQL Server-specific tools myself (Sequin, DataPipe, etc.), I have some fairly strong opinions on what type of functionality the tools that come in the white box with SQL Server should have, particularly the GUI apps. At a high level, I think they should

Does it make sense to build MFC GUI apps anymore?
Ken Henderson's WebLog
For most developers, I think the answer has to be "No," especially with the advent of managed code. Some would argue that the answer has been "No" for a long time. Tools like VB made GUI development so much easier than it ever was with MFC that many gave up C++ for GUI development years ago. Even in MFC's heyday, it wasn't uncommon at all to see the GUI pieces of an app built in VB with its underlying system code in C++

Overloaded Methods/Constructors in UDTs
Peter DeBetta's SQLBlog
I spoke at the Dallas .NET User Group meeting last night about the CLR integration in SQL Server 2005. During the Q&A session at the end, I was asked for some more detail about creating overloaded methods and constructors in a User-Defined Types (UDT). Here is some information regarding the topics brought up at that meeting

Interested in XML Indexing in SQL 2005, read this
Tom Rizzo
My buddy Shankar pointed me to this on XML indexing. It's an interesting topic since figuring out smart ways to index and search XML is a tough job

Interview Question: Distribution Database in Merge Replication
Randy Dyess
Often DBAs are asked to create and support replication and many candidates will be able to answer questions dealing with the forms of replication. The following question is a good one to ask when trying to level one or more senior level candidates with good knowledge of replication. This question should lead the candidate into a small discussion on how a replicated environment can be tuned for performance

bulkload and XSD schema constructs
XmlTeam's WebLog
I have seen quite a few newsgroup posts about SQLXML Bulkload where the users think the schema and the data file that they use are correct, but nothing gets bulkloaded and neither do they get an error

Using SQL datetime and smalldatetime values inside XQuery
XQuery Inside SQL Server 2005
I had a request today asking me how to get the current date/time as part of an XQuery expression in SQL Server 2005. The XQuery standard defines various functions to do this type of action, but unfortunately, SQL Server 2005 XQuery does not support these :) Rather, you need to get the date/time values from a T-SQL expression and pass these in to your XQuery using the sql:variable() function. There are a couple of caveats to this though - the first being that the SQL datetime and smalldatetime types are not directly supported inside XQuery expressions, so you need to convert these values into string representations before passing them in. Since there are some differences between the lexical representations of a datetime value in SQL and an equivalent value in XQuery, there is also a little string manipulation required. The following is a piece of T-SQL that will do the required conversion and then run an XQuery cast as over the resultant string to strongly type it as an xs:dateTime value

10 Things You Shouldn't Do with SQL Server (Data Access Developer "Don'ts")
Doug Seven
This article is modelled after a presentation I gave at TechEd 2004, which has since been requested by many user groups around the country. I figured it would be easier to share this information through an article than trying to get to every user group in the world. The content of this article is based on an online discussion I had with anyone in the community who chose to participate. I posted a blog entry and a forum entry in a couple places to ask the question, "What are the things you see developers doing with SQL Server data access that they shouldn't?" The list grew to about 25 or 26 things that were hot topics (so much that the Microsoft SQL Server product team was passing the thread around). Through a non-scientific vote, we narrowed the list to the 10 most frequent, most performance inhibiting, or most vulnerable security issues. The list that follows is that list - a non-scientific list of 10 things you shouln't do with SQL Server (or at least know what you are choosing to do and its conscequences). Personally, I can tell you that at some point in my career, I have done almost all of these (Hey, nobody is perfect). And here is the list (in David Letterman count down style)... 10. Add a Low Privelage Account to the Admin Role

Step-by-Step Guide: How to patch SQL Server, part 2
Chip Andrews
Welcome to part two of our series on finding and patching SQL Servers in your organization. In part one we discussed how to find all of the SQL Server instances on your network. In this part, we'll discuss patch deployment and the various options available to you

Woes with new Windows service pack uncovered
Margie Semilof
Windows Server 2003 Service Pack 1 is just two weeks into general availability, but there are already reports of trouble with at least one of Microsoft's own Windows System Servers

SQL Server 2000 Administration -- Chapter 10, 'Replication'
SearchSQLServer.com
This chapter draws comparisons between SQL Server's publisher, distributor and subscriber components so that you can easily distinguish them and so that you will understand the job of each as it relates to replication. You'll learn the concepts, the metaphor, various configuration methods and useful tools for replication

Understanding The Data Warehouse Lifecycle Model
Marc Demarest
Despite warnings by Inmon and others at the outset of the data warehousing movement, data warehousing has been prefaced on the assumption that data warehouses were essentially static and that change management practices were no different than those of other production systems. The pace of change combined with the search for competitive advantage has underscored the extent to which an organization's understanding of the data warehousing lifecycle model can mean the difference between competitive differentiation, and millions of dollars in cost sunk in brittle dead-end data warehousing infrastructure. Read more in this white paper

DATA MODELING - ANALYSIS OR DESIGN?
Graeme Simsion
“I confess that I thought you were a lunatic when I first heard about your conjecture many years ago” wrote modeling authority Alec Sharp in a recent email to me. He was not alone. In 1996 I wrote an article for Database Programming and Design[2] which included the “conjecture”, and it attracted record correspondence, most (but not all) of it taking a position firmly opposed to mine

How to Schedule a SQL Server Database Creation Script
Jon Reade
Whilst an entire database script can be manually created from Enterprise Manager quite easily, or an entire database's structure transferred on a scheduled basis to create a skeleton database on another server using DTS, scheduling a script creation is not particularly obvious or well documented. This article describes how to do this using Microsoft's SCPTXFR utility, in response to a recent query in the SQL Server Central forums

HOWTO: The user '{whatever}' does not have permission to register endpoint '{whatever}' on the specified URL
Enjoy Every Sandwich
Cause: This happens when you try to create an HTTP ENDPOINT in SQL Server 2005 because the SQL Server process lacks permissions to register the endpoint with HTTP.SYS

Interview Question: Column Density
Randy Dyess
The question below is a great way to rank senior-level candidates. Most senior-level candidates should have study query optimization or index structures to a point that they understand column density

How to: Transactional Replication
Paul Ibison
How to..... avoid this error "Violation of Primary Key constraint 'PK__@snapshot_seqnos__{UniqueNumber}'. Cannot insert duplicate key in object '#{UniqueNumber}'"

How to: Merge Replication
Paul Ibison
new! How to....... Find a list of pending merge changes?

Questions, Answers, and Tips About SQL Server
Brian Moran, Karen Watterson
Q: I received an error message that SQL Server had marked my database suspect. What can I do?

How to: Replication
Paul Ibison
How to....... script out the permissions for use in a post-snapshot script?

Tips from the SQL Server MVPs
SQL Server MVPs
Editor’s Note: Welcome to SQL Server Magazine’s monthly, Web-only series of SQL Server tips brought to you by the Microsoft SQL Server Most Valuable Professionals (MVPs). Microsoft introduced the MVP program in the 1990s to recognize members of the general public who donate their time and considerable computing skills to help users in various Microsoft-hosted newsgroups. MVPs are nominated by Microsoft support engineers, team managers, and other MVPs who notice a participant's consistent and accurate technical answers in various electronic forums and other peer-to-peer venues. For more information about the MVP program, go to http://support.microsoft.com/support/mvp/. The MVPs donate their SQL Server Magazine author fees for these tips to the World Food Programme. To donate free food to a hungry person today, visit http://www.thehungersite.org.

HOW TO: Replicate Between Computers Running SQL Server in Non-Trusted Domains or Across the Internet
Microsoft
Consider the following two issues when you set up replication between two computers running SQL Server

Configuring Proxy Server for Replication Across the Internet
Microsoft
Replication is an important and powerful technology for distributing data and stored procedures across an enterprise. The replication technology in Microsoft SQL Server allows you to make copies of data, move those copies to different locations, and synchronize the data automatically so that all copies have the same data values. Replication can be implemented between databases on the same server or between different servers connected by LANs, WANs, or the Internet

How To Implement Bidirectional Transactional Replication
Microsoft
This step-by-step article describes how to implement bidirectional transactional replication. This article also discusses the issues that are involved in implementing bidirectional transactional replication

SQL Server 2005: Peer to Peer Transactional Replication
Paul Ibison
These scripts have been created to set up a peer to peer system

Replication Across Non-Trusted Domains or Using the Internet
Paul Ibison (SQL Server MVP)
Replication over the internet or across non-trusted domains is usually performed using a virtual private network (VPN), and consequently the configuration is much the same as that used on a LAN. This article outlines what to do if such a VPN is not available. While it's true that in almost all cases you wouldn't consider making SQL Server available directly to the internet, loosely -coupled networks in a hosted environment are commonplace. These systems ensure integrity by the use of firewall rules, resulting in DMZ/ECZ layers and causing serious issues for the would-be replicator. This is very much a 'how-to' guide, as the intricacies of network connectivity setup would otherwise make the article too long

Replication and 'nosync' Initializations
Paul Ibison
The normal method of initialization for a replication publication is to run the snapshot agent and then use the distribution (snapshot/transactional) or merge (merge) agents to distribute the snapshot files. Briefly, when the snapshot agent runs, it prepares a series of text files in the distribution working folder on the publisher/distributor. These files contain everything required to set up the subscriber. There are many of these files, and what exactly is in them depends on the type of replication you are doing, but they may include table creation scripts, stored procedures, triggers and the actual table data. The files are transferred to the subscriber by the distribution/merge agent and applied there. However this is not always ideal, simply because the subscriber may already have the data. After all, if the data occupies a lot of space, why would you choose to create snapshot files of all of it on the publisher and send them over your LAN apply the inserts at the subscriber, just to arrive at the same point you started from? So, if you want to avoid the creation, transmission and application of the snapshot, the method is known as a 'nosync' initialization and is examined in this article, along with the ramifications of using this method

Replication Processing Times Compared
Paul Ibison
This is a simple comparison of the times taken to process different types of replication. Sometimes there is a business requirement that obviously seems suitable for replication and there is only one way it can be implemented. However, it is occasionally the case that there are potential alternatives. The two constraints of latency and autonomy are usually used to determine the most appropriate replication type, but another potentially important variable is processing time - how does replication effect my production database, and when it reaches the subscriber, how long will it take to be processed there

Merge Replication and the 'Not for Replication' Attribute
Paul Ibison
This article outlines answers to the question: 'Why is the NOT FOR REPLICATION attribute sometimes recommended on foreign keys in merge articles?'.

Replication Fixes in Service Pack 4
Paul Ibison
Merge, Transactional, General

Tracer Tokens
Paul Ibison
Transactional replication in SQL Server 2005 has a tracer token functionality which gives us a simple method of measuring latency in transactional replication. Basically, a token is written to the transaction log of the publisher. This is treated as a normal replicated command, and passes from the transaction log to the distribution database and then is 'run' by the distribution agent. In actual fact there is nothing really to apply at the subscriber but nevertheless, this technique allows accurate determination of Publisher -> Distributor -> Subscriber time latencies

Where have my Agents Gone? - The Replication GUI
Paul Ibison
This article describes the changes to replication from the point of view of the SQL Server 2005 GUI. In case you haven't already been checking out the new version, we are now at Beta 2 and 'Microsoft SQL Server Management Studio' is the new graphical replacement for 'Enterprise Manager'. It's probably true to say that unlike many other administrative tasks, most DBAs intensively use the graphical interface to administer replication. With this in mind, Replication DBAs will want to discover how to perform their original tasks using the new GUI, as well as finding out about all the new functionality available. Future articles will begin to address all the new bells and whistles, but this article focuses on how to use the new interface to carry out original replication tasks

Backup Overview
Michael R. Hotek
The number one job of any DBA is to protect the data. This is done through implementing proper backup procedures and preventative maintenance. The developers of applications that utilize SQL Server also play a very large role in the backup process. They influence this process by the number and type of transactions being issued and the length of those transactions. If developers are designed very complex, long running transactions, the ability of the administrator to perform transaction log backups is severely impacted

Documenting application performance
Michael R. Hotek
Performance. It's on everyone's mind. Databases get larger, support more users, serve up greater volumes of data, and are central to the competitiveness of every company. With databases being so important, it would be nice if all parties involved - DBAs, developers, and 3rd party vendors would be all on the same page. Sadly though, everyone is trying to make themselves look better at the expense of someone else. Your SQL Server normally gets caught in the middle

Deploying an additional subscriber into a merge architecture
Michael R. Hotek
Deploying merge replication is generally a simple process. You simply subscribe to a merge publication, allow the snapshot to transfer the schema and data, and you are up and running. What happens though when you have disconnected users, remote subscribers over slow links, unstable connections, or simply a massive amount of data to send in the initial snapshot

Security for CLR Assamblies in SQL Server 2005
Vinod Kumar
With the support for managed code inside the SQL Server database, Microsoft has developed special security settings to protect the CLR’s important new objects, assemblies. Assemblies are basically managed Dynamic Link Libraris (DLLs) that contain metadata and information about dependencies and are used as a deployment unit. Because assemblies are stored in the database, they also get backed up and restored with the database

Manually cleaning up replication
Michael R. Hotek
One of the more common problems you will have to encounter at some point is when you disable replication, not all of the settings are cleaned up. This can cause problems if you want to drop a database or alter table structures

SQL Server Security - Richard Waymire
Michael R. Hotek
This was a very good session that covered all of the security infrastructure in detail. The topic was a little dry, but it was kept interesting. The slides were a little funny. Interspersed about every other page was a slide with the logon/authentication process. You got a real good idea of where most of the security questions came from

Implementing and Optimizing Transactional Replication Solutions with Microsoft SQL Server 7.0 - Bren Newman
Michael R. Hotek
This session was a makeup from the canceled session on Saturday. The disappointing part of this session was that very little new information was gained. The vast majority of the content was simple transactional replication basics. Instead of spending several pages on that here, I'll just highlight some of the more important items. I'll be covering all of the background and details in the replication book I'm working on and in several articles posted on mssqlserver.com

Microsoft SQL Server 7.0 Practical Performance Tuning and Optimization Part 1 - Damien Lindauer
Michael R. Hotek
The first part of this session focused on the server side aspects of performance. The design goals of SQL Server 7.0 were to create a self-managing, self-configuring, self-tuning server. They have accomplished some of this, but it will be a long time before it can replace the skill set of a qualified DBA. It has accomplished part of this through a variety of means: auto statistics creation, dynamic memory management, lock management, query plan caching, parallel querying, index tuning, auto grow and shrink for databases, better space management. This relieves some of the tedious burden, but it still requires you to create solid and efficient applications that leverage the performance characteristics in SQL Server

Microsoft SQL Server 7.0 Practical Performance Tuning and Optimization Part 2 - Damien Lindauer
Michael R. Hotek
No discussion of performance and tuning would be complete without addressing the client side. This second session was devoted entirely to addressing performance characteristics on the client side

24x7 Availability with Microsoft SQL Server 7.0 - Richard Waymire
Michael R. Hotek
When looking at 24x7 availability, most people start looking at failovers, clustering, and hot standby servers. These solutions are part of providing 24x7 availability, but you must also consider your maintenance routines, database layout, and storage planning

OLAP Services Performance, Tuning, and Optimization - Len Wyatt
Michael R. Hotek
This session got into an overview of the scalability of the OLAP server. The basic architecture of OLAP services is relatively basic. SQL Server OLAP Services is fed from SQL Server or other OLE DB providers. The OLAP services can also send data back to SQL Server or other OLE DB providers. Within the OLAP Services we have an OLAP Store, OLAP Server, DSO, OLAP Manager, Pivot table service, OLE DB for OLAP, and ADO MD

SQL Server 2000 Preview
Michael R. Hotek
The upgrade from SQL Server 7.0 to SQL Server 2000 is a relatively small step. The best way to describe SQL Server 2000 is as a point release with large scale feature enhancements. Very few new features have been introduced. SQL Server 2000 takes the existing features of SQL Server 7.0 and extends the functionality available. That isn't to downplay what the SQL Server team has accomplished with this release which is exceptional. So that we are on the same page, I consider things like DTS, English Query, and full text indexing as features. The two notable features added in this release are XML support and data mining capability. XML isn't even on my roadmap and I have no plans to use it other than to get familiar with the capability. XML will have its place, but I don't see it as the sweeping change, fix all of your problems solution that it has been hyped to be. The items that I am very excited about are the following

SQL Server 7.0 Extended Stored Procedure Reference
Michael R. Hotek
Extended stored procedures enable significant functionality that does not exist natively inside SQL Server. Extended stored procedures is a misnomer that started several versions ago when they were first introduced. These are not stored procedures at all. An extended stored procedure is actually a function in a dynaic link library (dll). These dlls are constructed to follow an API specified by Microsoft. This enables third party developers to create enhanced functionality that would be extremely difficult or impossible to implement using Transact SQL. An example of this functionality would be a dll that provides a series of financial functions such as amortization, depreciation, net asset value, etc. Once a dll is created to Microsoft's specification, the system administrator can add one or more functions in the dll for use inside SQL Server. Once linked into SQL Server, it is called just like any other stored procedure

Reverse engineer a DTS package into a VB module
Michael R. Hotek
As everyone who has used it knows, the DTS Package Designer in 7.0 needs a lot of work. In order to get something that is flexible to use in a production environment, you have to write everything as code. The Package Designer will probably leave just as bald as me if you try to do any production work with it. I don't use VB very much and prefer not to write code. However I have a need to do this extensively, because the Package Designer just doesn't cut it. Paul Shapiro was kind enough to send me a VB module that will reverse engineer an existing package and turn it into VB code and another one that gives you a template of the things that need to be modified to make it work. This came from either the SQL Server CD or off Microsoft's website as far as we know. No warranty is made for the code or its usefulness to your environment. Below is the text of the e-mail that Paul sent me along with the modules

Server, Database, and Query Options
Michael R. Hotek
Server options affect the behavior of SQL Server on a global scale. There are a significant number of configuration options available for tuning a server. The first thing many inexperienced DBAs will do is tweak as many server options as possible. This is the wrong approach. In many cases, the default settings will be sufficient in most environments. Only under special circumstances should you change the configuration options available

Achieving High Availability - Part 1
Michael R. Hotek
I was going to hold off on this series of articles for the time being. But there have been several mailing list/newsgroup threads concerning this. High availability is also appearing on the radar screen more often in upper management. Why? They read the trade mags and see high availability, clusters, fail over solutions, standby servers, and all manner of other technologies/methods and are convinced they need them all. Sound a lot like Dilbert? It is

Achieving High Availability - Part 2
Michael R. Hotek
The next level in high availability is a standby server

Configuring and Managing SQL Mail
Michael R. Hotek
This was going to be chapter 13 of a book that we pulled. Since I have no interest at this point in writing another intro level 7.0 book, you can enjoy it out here

The SQL Server Agent
Michael R. Hotek
The SQL Server Agent is your hands off, automated work horse. The SQL Server Agent can handle all of your recurring processing, notify operators, provide hands off monitoring of your server, and manage replication. It can also be integrated with SQL Mail to provide a very powerful notification subsystem as well as self contained applications such as e-mail notification of orders and simple report server functions

A generic bulk insert using DataSets and OpenXml
poodull76
Create T-Sql command text to update a table with OpenXml quickly and with minimal effort

New SQL Server 2005 Resources Available
Paul Ballard
Microsoft has released a number of new SQL Server 2005 resources including several presentations and a new hands-on virtual lab. Topics cover SQL Server 2005 internals, Service Broker, security, and Integration Services for developers

SQL Server I/O: Reading XML Documents
Buck Woody
In my last installment, I showed you how to create an XML document from SQL Server. Creating these documents isn't a difficult process; you just need to understand the syntax of the FOR XML predicate on a SELECT statement and how you want the document structured

[В начало]

ФОРУМ SQL.RU

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

Ваше мнение об упражнениях SELECT на http://sql.ipps.ru
База данных - хранилище объектов.
Задай вопрос разработчику MsSQL!
Transaction count after EXECUTE indicates ...
Импорт данных из MS Excel
Должен ли девелопер под MSSQL что-то компании Microsoft?
проблема с триггером (INSERTED, DELETED)
Кэш для MSSQL
Почему не используется индех.
Администраторы баз данных, защищайте свои сервера!
Господа, а вот как создать временную таблицу при помощи Dynamic SQL чтобы потом ее юзать
db_backupoperator + db_deny_access_to_some_tables Что попадет в backup?
SQL 2005 ????
SQL Server Scheduled Job - Status: Failed
Задачка с собеседования на сообразительность !
Устройство кластерного индекса
Какой выигрыш даст переход с SQL Server 7 на 2005 и улучшение железа?
Access+SQL тормозит поиск
Удаление столбца
проблема при заполнении таблицы Oracle9i из MS SQL-Сервера

[В начало]

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

Типа сниффинг
Исключение отменено (код ош ибки 3669)
Присоединение файла .mdf без файла .ldf и последующие проблемы
ServerTrace vs Profiler
Переезд сервера в другой домен
MSMQ из триггера
анализ результатов профайлера
Линковка сервера Informix

[В начало]


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

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

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



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


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

В избранное