gary kuipers has asked for the wisdom of the Perl Monks concerning the following question:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
More Info Please (was Re: Microsoft Analysis Server - Data Cubes)
by Louis_Wu (Chaplain) on Nov 30, 2002 at 22:39 UTC | |
I googled for OLAP and found a definition, an OLAP Council (which has an informative white paper), a news/product site, and an information site. Is any of this information relevant? Can you point us to sources you are using? Are you allowed to purchase additional software to make this happen? What kind of database are you using, or is MS Analysis Server the DB? Is this MSDN article about optimizing cube performance related to what you're doing? Is it MS Analysis Server or MS Analysis Services? MS has Analysis Services on their website, but I haven't been able to find Analysis Server. From what I've seen with a few minutes of searching, the subject you are asking about is quite deep, and some clarifying information would help those answering you to know what you really want to do. | [reply] |
by gary kuipers (Beadle) on Nov 30, 2002 at 23:33 UTC | |
| [reply] |
by Solo (Deacon) on Dec 01, 2002 at 07:10 UTC | |
This is quite a bit of overhead and probably not a practical solution for a high-traffic page, but OLAP is low-traffic by definition, right? Using the pivot table and chart in Excel should greatly simplify slicing up the cube and graphing code (show me sales >$1000 from regions 1 & 2 in Q2 for the last 3 years by week as a percentage of total sales for the week.) -- | [reply] |
|
Re: Microsoft Analysis Server - Data Cubes
by richardX (Pilgrim) on Dec 01, 2002 at 20:04 UTC | |
The next major piece of the puzzle was the Extraction Translate and Load application (ETL). We wrote our own ETL tool because we needed a data driven application that non-technical people could use to map data from external applications to the DW. There are many ETL tools on the market if you need a commercial one. The final piece of the puzzle is the reporting. We pre-built OLAP cubes that would answer the most common questions that users would ask of the DW including the drill downs. It would be a huge challenge to create dynamic OLAP cubes that could be constructed on the fly of any fields that the user desires. Their are so many requirements that you have to concern yourself with when building an OLAP cube, including what your facts and dimensions are, the size of the tables that you are extracting from, are the fields indexed, and many other concerns. We had to manage the expectations of our users, to let them know that we could build addition cubes but that allowing them to create anything they wanted was not acceptable. Runaway processes on the database server were the biggest concern. The end result was that we did not allow users to create cubes, only execute them. The users accessed the cubes from a web page that asked for date ranges and other parameters. The application then ran the cube, and exported the results to Excel, HTML report, or email. We provided each user with training on how to manipulate the Excel pivot tables and graphs once they had the data they needed. Power users then took the Excel data and created tons of their own reports, graphs, and analysis. So it was impossible to anticipate all the requirements for Power users, so we let them run with the extracted data without further supervision. For more mainstream users, we created a Digital Dashboard using Microsoft’s Digital Dashboard toolkit. Users could then access the cubes from the Dashboard after logging in and authenticating themselves. We used Role Based Access Control (RBAC) to control access to reports, with each role giving access to specific cubes. Our analysis also identified the most common reports that multiple users and or departments would use on a daily and weekly basis. On a scheduled basis, those cubes were run at night and the reports exported to HTML and stored into folders for canned reports. Some RBAC users only could see these canned reports and never access cubes directly. This prevented the servers from being overwhelmed by cube processing that was redundant. We purposely did not constrain which programming tools we used, to give us the maximum flexibility. We used Perl, batch files, Excel macros, Digital Dashboard calls, HTML, SQL, stored procedures, multidimensional expressions (MDX) scripts, and any applicable Perl modules like DBD/DBI etc. Most MS programmers do not know about the hidden power of MDX. I would recommend learning every thing that you can about MDX, since it talks to the services directly and most efficiently. Maybe you could write a Perl module that controls MDX scripts :} Richard | [reply] |
by Anonymous Monk on Dec 01, 2002 at 23:44 UTC | |
What follows is some proof of concept stuff I did. I pulled it from the larger project, so you will need to fill in some bits and pieces like setting up $dbh via DBI, HTML head/body codes, and spitting out HTML headers. It was written to use PostgreSQL, but the SQL is generic enough. Change @rowhead, @colheads, @datacols, $cubetable to match your system. NOTE: There is much room for improvement, but the basic concept is there. Much convolution is due to my need to generate the HTML table in proper order. In retrospect there is probably a much more sane way to code it. . .
Questions, comments to rob AHT cabrion DHOT com. I really would like to know if someone decides to hack on this, or builds a module from it. | [reply] [d/l] |
|
Re: Microsoft Analysis Server - Data Cubes
by sauoq (Abbot) on Dec 01, 2002 at 02:49 UTC | |
Can any of you shine some light on the path I should take? I think your question is too general. Are you asking for help with XML, MS Analysis Server, Win32::OLE, or Perl? If it were me, I'd find a path to a new job. That's because I'm an OS bigot though and I have this fantasy that if no one develops for MS platforms they will go away. :-) -sauoq "My two cents aren't worth a dime."; | [reply] |
by diotalevi (Canon) on Dec 01, 2002 at 03:11 UTC | |
Well this is disappointing. I approved/frontpaged the node with the thought that there was a very interesting question there. I don't use MS Analysis server but I was thinking that the it would be useful to know of any general modules or external packages for doing generalized reporting, data extraction, and graphing. It doesn't look like this node is going to go that direction but at least that's what I was thinking and hoping for. Maybe next time.
| [reply] [d/l] |
|
Re: Microsoft Analysis Server - Data Cubes
by Ryszard (Priest) on Dec 01, 2002 at 07:38 UTC | |
| [reply] | |