SQL2005 SP2가 출시 되었습니다.

AS2005를 사용하시는 분께서는 꼭 설치하시기 바랍니다. 이번 서비스 팩에 적용된 Analysis Services와 관련된 내용은 다음과 같습니다.


Analysis Services

  • Microsoft Office 2007 버전에서 모든 해당 비즈니스 인텔리전스 기능을 사용하려면 SQL Server 2005 Analysis Services SP2를 설치해야 합니다. SP2가 설치되어 있지 않은 Analysis Services 인스턴스에 대해 실행할 때는 SP2가 필요한 Microsoft Office의 기능이 비활성화됩니다.

  • 로컬 및 세션 큐브의 기능이 크게 개선되었습니다.

  • 하위 SELECT, 합계 계산 실행, 파티션 처리를 위한 NUMA 최적화, 파티션 쿼리 확장성, 비정형 계층, 보이는 값 합계, ROLAP 차원, 셀 쓰기 저장, 다대다 차원, 드릴스루, 반가산적 측정값, 단항 연산자 및 저장 프로시저에 관련한 확장성 및 성능이 개선되었습니다.

  • 이제 사용자 정의 계층이 자연 계층으로 정의되어 있지 않은 경우 경고 메시지가 나타납니다.

  • MDX 드릴다운* 함수에 지정 튜플에 대해서만 드릴다운을 지정할 수 있는 새로운 인수가 추가되었습니다.

  • SCOPE_ISOLATION 속성이 MDX CREATE 메서드에 추가되었습니다.

    이 속성을 사용하면 큐브에서의 계산 후가 아닌 전에 세션 범위 및 쿼리 정의 계산을 수행할 수 있습니다.

  • 많은 기능 및 성능 관련 개선 사항이 통합되었습니다. 특히 증분 처리, 사용 빈도 기반 집계 디자인 알고리즘, 이전/이후 버전과의 호환성, 부모-자식 보안, 파티션 쿼리 확장성, 셀 쓰기 저장 및 시간 인텔리전스 마법사가 향상되었습니다.

  • 신경망 뷰어의 성능과 기능이 향상되었으며 다중 중첩 테이블에 대한 지원이 추가되었습니다.

  • 일반적으로 사용되는 특성을 캐시하여 Naive Bayes 예측의 성능이 향상되었습니다.

  • 스파스 성향 습득 데이터 집합을 통해 메모리 사용률을 개선하고 오류 계산(SQL Server 2005 Enterprise Edition 기능)을 수행하는 동안의 다중 스레드 사용률을 개선하여 신경망 성향 습득이 향상되었습니다.

  • 로컬 마이닝 모델이 있는 데이터 마이닝 뷰어에 대한 제한된 지원이 추가되었습니다.

  • 이제 데이터 마이닝 뷰어 컨트롤을 다시 배포하는 작업이 ADOMD.NET에 종속됩니다.

    새로운 redist 파일은 서비스 팩 2 이후에 곧 제공될 기능 팩을 통해 사용할 수 있습니다.

서비스팩 다운로드 사이트로 이동하기  http://www.microsoft.com/sql/sp2.mspx

Posted by leebaro
,
AS2005 계산 탭에서 아래와 같은 오류 메지시가 나올 경우 가 있습니다.

오류가 발생했습니다: '보호된 메모리를 읽거나 쓰려고 했습니다. 대부분 이러한 경우는 다른 메모리가 손상되었음을 나타냅니다.




그럴 땐 MS SQL 2005 SP2를 설치 하십시오. 그러면 아래와 같이 정상적으로 계산 탭이 나타납니다.


Posted by leebaro
,

Services Pack2 출시와 함께 한번 살펴 볼만한 새로운 것이 추가 되었습니다. Aggregation Manager라는 것입니다.


이 것은 정식 SP2에 설치 되지는 않습니다. 한번 사용해 보고 싶으시다면 아래의 방법으로 다운로드 하세요

  1. 링크 클릭 : http://www.microsoft.com/downloads/details.aspx?familyid=e719ecf7-9f46-4312-af89-6ad8702e4e6e&displaylang=en

  2. SQLServerSamples.msi 파일을 받으세요
  3. 다운로드 받아 인스톨 하세요. 만약 이전 버젼의 SQL Server Samples을 설치 하셨다면 프로그램 추가/삭제에서 삭제하시고 설치 하세요
  4. 설치가 끝나면 C:\Program Files\Microsoft SQL Server\90\Samples\Analysis Services\Administrator\AggregationManager 폴더가 생기는 것을 보실 수 있습니다.
Posted by leebaro
,

http://www.microsoft.com/downloads/details.aspx?familyid=e719ecf7-9f46-4312-af89-6ad8702e4e6e&displaylang=en

위의 링크에서 샘플과 샘플 DB를 다운로드 할 수 있습니다.

이번 샘플에 추가되거나 업데이트 된 내용을 간략하게 보겠습니다.

Analysis Services:


 

Integrated Samples:


 

New or significantly updated samples added for the July 2006 web refresh include

Analysis Services:


 

Data Access (ODBC):


 

Transact-SQL:

New samples added for the April 2006 web refresh include

Analysis Services:


 

Data Access (OLEDB)


 

Data Access (ODBC)


 

Common Language Runtime (CLR) Integration:


 

Integration Services


 

Replication



 

New samples added for the December 2005 webrefresh include

Common Language Runtime (CLR) Integration:


 

Server Management Objects (SMO):


 

Integration Services:


 

Replication:


 

Reporting Services

Posted by leebaro
,

Analysis Services 2005 Sample

SQL Server Express에는 추가 되지 않았습니다.

Sample name

Description

ActivityViewer

Activity Viewer sample는 사용자, Connection 그리고 AS2005의 프로세스를 보여주는 도구입니다.

이 도구는 필요하다면 위 목록의 프로세스를 정지시킬 수 있습니다.

AggregationManager

Aggregastion Manager는 사용자가 쿼리 로그(Query log)에 수집된 정보를 기반으로 집계(Aggregation)를 검토, 디자인, 수정 및 추가 할 수 있습니다.

ASCMD

The ascmd command-line utility enables a database administrator to execute an XMLA script, MDX query, or DMX statement against an instance of Microsoft SQL Server 2005 Analysis Services (SSAS). This command-line utility contains functionality similar to the sqlcmd Utility that is included with SQL Server 2005, but for Analysis Services. The execution results of the script, query, or statement can be stored in a file together with relevant SQL Server Profiler trace information.

New in the July 2006 release of ascmd is two new features. The first is the ability to execute custom XMLA requests. Using this feature you will be able to execute XMLA Discovers and XMLA Executes. For example, you are able to determine what databases are on an SSAS instance. You are be able to execute statements that change the default properties so the only the data is returned; not the schema and the data. Second, ascmd now detects if the XMLA input stream is a valid XMLA Command or not. If it is not a valid XMLA Command then it assumes that it is an XMLA Statement and it automatically html encode the input and wraps a <Statement>...</Statement> element around it. This allows you to enter simpler input files when entering MDX queries and DMX statements. See the ascmd readme for more information.

ASTrace

The ASTrace utility provides you with the ability to capture an Analysis Services trace and log it into a SQL Server table. The table can then be queried later or read using SQL Server Profiler.

ASUV

The Analysis Services Upgrade Verification tool lets you compare Multidimensional Expressions (MDX) query results and performance between a Microsoft SQL Server 2000 Analysis Services databases and a Microsoft SQL Server 2005 Analysis Services database. This tools helps you verify that your upgrade from SQL Server 2000 to SQL Server 2005 was successful.

AMOAdventureWorks

This is a sample C# program that illustrates the use of the Analysis Services Management Objects (AMO) to create complex OLAP cubes.

AMOBrowser

The AMOBrowser sample lets you use AMO objects to connect to a Microsoft SQL Server 2005 Analysis Services (SSAS) server and then browse different AMO objects and their properties.

AS Simple Sample (AMO)

AS Sample은 복잡한 OLAP 큐브를 만들고 새로 만들어진 큐브의 내용에 접근하기 위해 ADOMD.NET을 사용하기 위한 Analysis Management Objects(AMO)의 용도를 설명하는 C# 프로그램입니다.

Backup and Restore

The Backup and Restore sample lets you use AMO objects to connect to a Microsoft SQL Server 2005 Analysis Services (SSAS) server. You can then complete a backup of the Analysis Services database, restore the backup, or delete the backup.

Data Mining Web Controls

Data Mining Web Controls Library is a library intended to extend the data mining user experience in Microsoft SQL Server 2005 Analysis Services (SSAS) to the Web. This library provides a lightweight version of the data mining model viewers. Using Data Mining Web Controls, you can browse complex mining models from any computer that has Microsoft Internet Explorer installed.

Data Mining Plug-in Algorithms

This tutorial steps you through the process of implementing a plug-in algorithm and integrating that algorithm into Analysis Services.

Display Objects Name

Display Objects Name 샘플은 사용자가  AS2005에 연결하기 위하여 AMS Objects를 사용하도록 합니다.  그리고 AMO objects의 이름을 보여줍니다.

Posted by leebaro
,

Nigel Pendse가 2006년 OLAP 시장의 점유율을 분석하여서 배포하였습니다. 전체적으로 OLAP 시장은 16% 성장하였습니다.
그중에 Microsoft OLAP이 또 한번 OALP 시장의 성장률 이상인 30% 성장하였습니다.
그 때문에 이 차트에서 MS의 점유율이 4 포인트 증가하였습니다.  MS의포인트가 증가하는 것은 전체 OLAP 시장의 수입과 연관이 있습니다. 왜냐하면, OLAP 시장에서 MS의 제품인 엑셀의 피벗 테이블 기능과 Business Scorecard Manage를 사용하기 때문입니다.
하지만, 명백하게 주요 공신자는 Analysis Servives2005입니다.
SSAS RTM 버전 이전의 많은 알려졌던 이슈들이 SP1을 통하여 해결되었습니다.

그리고, 2007년 2월 SP2가 발표되었습니다. 이것은 이전의 알려지지 않았던 현실 세계에 적용할 때 나타나는 문제점까지 해결 하였습니다.
추가적으로 SP2는 완벽히 엑셀 2007을 지원합니다. 그래서 SP2를 사용하는 것이 SSAS2005를 사용하기 위해 매우 좋은 방법이이라고 생각합니다.
물론, 아직까지도 몇가지 문제점들이 있습니다. 그것들을 고쳐질 것이고  결국,  그 문제점들은 SP3를 통하여 보완될 것입니다.
하지만, SP2 또한 심사숙고 하여 만들어 졌기 때문에 SP2를 적용하더라도  SSAS 2005를 사용하는데 문제가 없을 것입니다.

아래 보이는 차트는 지난 7년 동안의 OLAP 시장 점유율의 흐름을 보여주고 있습니다. MS는 그동안 아무도 넘지 못했던 30%벽을 넘었습니다.
물론, 이 차트에서 보여주는 시장점유율은 벤더들의 수익을 기준으로 나타내고 있습니다. 만약 소프트웨어가 팔린 카피수(또는, 인스톨 된수, 또는 배포된 수)를 기준으로 값을 측정했다면, 아마도 MS는 95%정도의 값이 나올 것입니다.

사용자 삽입 이미지

이 차트에 대한 내용을 자세히 보시려면 다음 링크를 참고하세요 : http://www.olapreport.com/market.htm

OLAP Report 구독자는 또한 추가적인 분석과 설명을 보실 수 있습니다. :  http://www.olapreport.com/products/sharesexplan.htm

Posted by leebaro
,
블로그를 돌아다니다가 Analysis Services MDX문을 공부 할 수 있는 자료를 찾았습니다.

Chapter 4: Advanced MDX Application Topics - http://media.wiley.com/product_data/excerpt/67/04714004/0471400467.pdf

Chapter 6: Sorting and Ranking in MDX - http://media.wiley.com/product_data/excerpt/80/04717480/0471748080.pdf

It's from the 2001 printing; there is a 2006 edition out and I highly suggest purchasing it.
이 자료는 2001년 판인데 2006년 판도 출시 되었습니다. MDX를 공부 하신다면 2006년 판을 사셔서 보시면 후회하지 않으실 겁니다.
 
 
 
 
Posted by leebaro
,


더이상 AS2005 MDX문에서 따옴표(')를 사용 하실 필요가 없습니다. 하지만 아직도 많은 사람들이 만든 MDX 예제를 보면 계산 멤버가 정의를 할 때 따옴표가 사용되고 있습니다. 최근까지 따옴표를 쓰냐 안쓰냐는 사용자의 코딩 스타일에 따라 사용하던 사용하지 않던 문제가 없는 줄 알았습니다. 하지만 중요한 사실 하나를 발견하였습니다. 따옴표를 사용하면 MDX 쿼리문을 디버깅 할 때 더 힘들어 집니다. 그 이유를 아래의 두 MDX 쿼리 문을 통하여 말씀 드리겠습니다.

1번.

WITH MEMBER MEASURES.TEST AS BLAH
SELECT
{[Measures].TEST}
ON COLUMNS
FROM [Adventure Works]

2번

WITH MEMBER MEASURES.TEST AS 'BLAH'
SELECT
{[Measures].TEST}
ON COLUMNS
FROM [Adventure Works]

위의 두 쿼리문은 에러를 반환 합니다. 아래 문장은 1번 쿼리의 에러 메세지 입니다.

VALUE #Error Query (1, 30) The dimension '[BLAH]' was not found in the cube when the string, [BLAH], was parsed.

아래 문장은 2번 쿼리의 에러 메세지 입니다.

VALUE #Error The dimension '[BLAH]' was not found in the cube when the string, [BLAH], was parsed.

위의 예제에서 나오는 것 처럼 따옴표를 사용하지 않을 때 사용자가 만든 계산된 멤버나 정의 부분에서 에러가 난 행과 열의 번호(진한 글씨)를 알 수 있습니다.
만약, 따옴표를 사용하게 되면 이 에러에 대한 유용한 정보를 얻지 못하게 됩니다.
결론 입니다. 현재 잘 돌아가고 있는 MDX 쿼리문은 그냥 나두셔도 상관 없습니다. 하지만 앞으로 만들게 될 MDX 쿼리문에서는 따옴표를 절대 사용하지 않는게 정신 건강에 좋겠습니다.  :ㅡ)

Posted by leebaro
,

마침내, 수많은 반복과 의논, 논쟁, 수정과 리뷰를 통해 AS2005 성능 향상 가이드가 출시 되었습니다.

Anaysis Services 2005 성능 향상 가이드는 총 121페이지로 되어있는 공식적인 자료입니다.

AS2000 성능 향상 가이드는 매우 유용한 자료 였습니다.
AS2005에서 아주 많은 중요한 변화에 맞추어 , 그리고 마치 엑셀 2003에 비하여 엑셀 2007의 행,열 제한이 커진 것 처럼 AS2000에 비하여 아주 큰 숫자의 데이터를 허용하게 되었기 때문에 이번 AS2005를 위한 가이드는 매우 필요할 것습니다.
Elizabeth Vitt는 아주 잘 알려진 Analysis Services 전분가이자 강사, 유창한 컨퍼런스 스피커 입니다. 그런 그녀가 이번 문서 제작의 저자를 맡았습니다.

또한 Subject matter Expert 목록에 있는 사람들 또한 Analysis Services 제품 팀에 있는 최고중 최고들 입니다.

이 자료를 보신다면 Analysis Services 전문가로서 한번 더 올라설 것입니다^^

다운로드 받는 곳:
http://download.microsoft.com/download/8/5/e/85eea4fa-b3bb-4426-97d0-7f7151b2011c/SSAS2005PerfGuide.doc

Posted by leebaro
,