background preloader

SQL Server

Facebook Twitter

Riak Presentation at NYC NoSQL, October 5, 2009. IP address geolocation SQL database. Blogging has become a daily activity for many people around the world.

IP address geolocation SQL database

With an increasing number of people from many countries visiting your blog. Our Native Language by IP Address API helps to create a sense of familiarity and belonging for your blog visitors. It displays a warm greeting to your visitors in their native languages, such as English, Simplified Chinese, Traditional Chinese, Japanese, Korean, German, French, Spanish, Russian, Italian, Portuguese and Arabic.

Our widget also increases the probability of them being interested and to keep coming back to your blog. You can view some of the real-life examples being used on some blogs. Cloud Computing: An Introduction to SQL Azure. With SQL Azure, you can realize the benefits of a familiar relational database platform, plus the benefits of cloud computing.

Cloud Computing: An Introduction to SQL Azure

Data is the lifeblood of business. Ensuring that it’s secure, available and easily accessible are fundamental requirements of any IT department. More importantly, ensuring that data is used well—to drive processes, inform decision making and react intelligently to changing circumstances—is what differentiates successful businesses from those left behind. The manner in which businesses ensure the availability of data is rapidly changing.

Hosted services—and the very idea of software as a service—for everything from core datacenter functions like e-mail and business intelligence, to personal applications like photo-sharing and file synchronization, have become an everyday part of how we interact with our information. One particularly compelling cloud-computing solution is Microsoft SQL Azure. What Is SQL Azure? Getting Started with SQL Azure Related Content. SQL Server Service Broker. SQL Server Service Broker provides native support for messaging and queuing applications in the SQL Server Database Engine.

SQL Server Service Broker

This makes it easier for developers to create sophisticated applications that use the Database Engine components to communicate between disparate databases. Developers can use Service Broker to easily build distributed and reliable applications. Application developers who use Service Broker can distribute data workloads across several databases without programming complex communication and messaging internals. This reduces development and test work because Service Broker handles the communication paths in the context of a conversation. It also improves performance. Messages can be sent to multiple target services (multicast) The syntax of the SEND (Transact-SQL) statement has been extended to enable multicast by supporting multiple conversation handles. Queues expose the message enqueued time Poison message handling can be disabled AlwaysOn support in Service Broker.

Data analysis. Analysis of data is a process of inspecting, cleaning, transforming, and modeling data with the goal of discovering useful information, suggesting conclusions, and supporting decision making.

Data analysis

Data analysis has multiple facets and approaches, encompassing diverse techniques under a variety of names, in different business, science, and social science domains. Data mining is a particular data analysis technique that focuses on modeling and knowledge discovery for predictive rather than purely descriptive purposes. XML Best Practices for SQL. This section discusses data modeling topics for native XML storage.

XML Best Practices for SQL

These include indexing XML data, property promotion, and typed xml data type. Same or Different Table An xml data type column can be created in a table that contains other relational columns, or in a separate table with a foreign key relationship to a main table. Create an xml data type column in the same table when one of the following conditions is true: Your application performs data retrieval on the XML column and does not require an XML index on the XML column.

Modifying XML Indexes. The ALTER INDEX (Transact-SQL) Transact-SQL DDL statement can be used to modify existing XML and non-XML indexes.

Modifying XML Indexes

However, not all the ALTER INDEX options are available to XML indexes. The following options are not valid when modifying XML indexes: The rebuild and set option IGNORE_DUP_KEY is not valid for XML indexes. The rebuild option ONLINE must be set to OFF for secondary XML indexes. The option DROP_EXISTING is not permitted in the ALTER INDEX statement. In the following example, an XML index is created and then modified by setting the option ALLOW_ROW_LOCKS to OFF. The Data Loading Performance Guide. SQL Server Technical Article Writers: Thomas Kejser, Peter Carlin and Stuart Ozer Technical Reviewers and contributors: Sunil Agarwal, Ted Lee, David Schwartz, Chris Lee, Lindsey Allen, Hermann Daeubler, Juergen Thomas,Sanjay Mishra, Denny Lee, Peter Carlin, Lubor Kollar Special Thanks: Henk van der Valk (Unisys), Alexei Khalyako, and Marcel van der Holst Published: January 2009 Applies to: SQL Server 2008 and SQL Server 2005 Summary: This document described techniques for bulk loading large data sets into SQL Server.

The Data Loading Performance Guide

The white paper describes load strategies for achieving high-speed data modifications of a Microsoft® SQL Server® database. Before we get into the details of the bulk load methods, we will provide some background information on “minimal logging” in general. Examples of Bulk Loading XML Documents. The following examples illustrate the XML Bulk Load functionality in Microsoft® SQL Server™ 2000.

Examples of Bulk Loading XML Documents

Each example provides an XSD schema and its equivalent XDR schema. A. Bulk loading XML in a table. Data Compression: Strategy, Capacity Planning and Best Practices. Partition Switching (Transferring Data) Partitioning data enables you to manage and access subsets of your data quickly and efficiently while maintaining the integrity of the entire data collection.

Partition Switching (Transferring Data)

You can use the Transact-SQL ALTER TABLE...SWITCH statement to quickly and efficiently transfer subsets of your data in the following ways: Assigning a table as a partition to an already existing partitioned table.Switching a partition from one partitioned table to another.Reassigning a partition to form a single table. When a partition is transferred, the data is not physically moved; only the metadata about the location of the data changes. Partition Switching for Transferring data.