Database
  Home arrow Database arrow Page 2 - Exploring OLAP Cube with Visual Basic
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
DATABASE

Exploring OLAP Cube with Visual Basic
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 24
    2005-08-18

    Table of Contents:
  • Exploring OLAP Cube with Visual Basic
  • Measures and Dimensions: Cube details under investigation
  • Using VB to Explore the OLAP Cube: Creating a VB Project
  • Properties of the Cube: Properties of Dimensions
  • Properties of Hierarchies
  • Properties of Levels

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Exploring OLAP Cube with Visual Basic - Measures and Dimensions: Cube details under investigation


    (Page 2 of 6 )

    The NewOlap database in the Analysis Server Nechost has a Cube, MyFirstCube. This is created from an OLTP database, the Northwind example database that is available in an out of the box installation of MS SQL Server 2000, and MS Access database products. This is shown in the next figure.

    The various tables used in constructing NewOlap are shown in the Schema. The Schema of a cube is the various tables used in configuring the cube. This Schema is different from the OLTP schema.

    There are two types of schemas common in OLAP data. One is called the Star schema, wherein the measures table relates directly to each of the existing dimension tables. The other type, called the Snowflake schema, which may include tables not directly accessible by the measures tables, but through another dimension. The MyFirstCube used in the previous tutorial must have been correctly labeled, snowflake, rather than star. The next figure shows the Schema of MyFirstCube in the Analysis Server's Editor window.

    As data is added to the database, the cube data needs to be refreshed. Thus, it is necessary to process the data. The control that is used to process can be accessed by right clicking the Cube and clicking on the Process.. menu item from the pop-up contextual menu. For this to work correctly the backend SQL Server containing the OLTP data must be running. When the process is run successfully, the following process monitoring window shows up. Depending upon the amount of data to be processed, and the hardware resources available, it may take a certain amount of time.

     

    More Database Articles
    More By Jayaram Krishnaswamy


       · You are welcome to comment. Hierearchy is a big deal in OLAP. There are two aspects...
       · You article about Olap (cubes) with VB (6.0) was very interesting. I'm thinking if...
       · Right now I do not have one, but I have been planning on writing a sequel. However,...
       · Is there a way in .NET to programmatically create a new dimension for an existing...
     

    DATABASE ARTICLES

    - Building Applications with Anonymous Types
    - A Closer Look at Anonymous Types
    - Programming with Anonymous Types
    - Converting Your Excel Worksheet into a Worki...
    - Excel Reference
    - Database Programming in C# with MySQL : Usin...
    - Formatting Techniques for Data Access from E...
    - Data Access from Excel VBA
    - Generating a Multiple Table Crystal Report u...
    - ADO and the Command Object
    - On Wiring Up an ADO Data Control
    - Reading and Writing to Files on the Intranet
    - Using ADO Record to Create and Navigate Intr...
    - Using Data Access Pages to Access Data on a ...
    - Using ADO with the SQL Native Client





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek