PC Review


Reply
Thread Tools Rate Thread

Bulk querying and caching of Cube data

 
 
=?Utf-8?B?cXVlc3Rpb24=?=
Guest
Posts: n/a
 
      15th Oct 2007
Hi,



I have an excel report which used to access an SQL Server 2000 Analysis
Services database. We have created a custom addin for the excel sheet using
VBscript. The excel sheet used a VBscript function for getting data. The
excel sheet has so many group id's. These group id's are passed as parameters
to the VBscript function so as to get the data. There are some 30000+ group
id's like this. The function will be called for each group id. This was
working fine with our 2000 database.



Ex:-



Group ID Formula



1 function(1)

2 function(2)

3 function(3)

........





We migrated our database to SQL Server 2005. After this we are facing a
huge performance issue. The report which used to run in 2 mins is taking
15-20 mins now. While migrating to SQL Server 2005, we have transferred the
VBscript to VB.net code.



The same report is giving a better performance with the Microsoft addin
available with Excel 2007. But as the microsoft addin doesn't have certain
functionalities which we need, we are not able to use that.



Any ideas why this is happening? Any possible areas which I should look
into?



The microsoft addin uses bulk querying and caching which results in
faster performance. Any idea how to implement this?



Please reply at the earliest possible...

Thanks in advance....

 
Reply With Quote
 
 
 
 
JW
Guest
Posts: n/a
 
      15th Oct 2007
Don't have SQL Server, so I can't speak directly about it, but.....
Have you considered placing the entire query into a separate sheet
within your workbook and then using VLookup, SumIF, a UDF, or whatever
function you need to use to get data from it? You can accomplish that
by Date--Import External Data-->New Database Query. Then, through
code, if needed, you could have the workbook automatically refresh the
query each time the workbook is opened.
question wrote:
> Hi,
>
>
>
> I have an excel report which used to access an SQL Server 2000 Analysis
> Services database. We have created a custom addin for the excel sheet using
> VBscript. The excel sheet used a VBscript function for getting data. The
> excel sheet has so many group id's. These group id's are passed as parameters
> to the VBscript function so as to get the data. There are some 30000+ group
> id's like this. The function will be called for each group id. This was
> working fine with our 2000 database.
>
>
>
> Ex:-
>
>
>
> Group ID Formula
>
>
>
> 1 function(1)
>
> 2 function(2)
>
> 3 function(3)
>
> ........
>
>
>
>
>
> We migrated our database to SQL Server 2005. After this we are facing a
> huge performance issue. The report which used to run in 2 mins is taking
> 15-20 mins now. While migrating to SQL Server 2005, we have transferred the
> VBscript to VB.net code.
>
>
>
> The same report is giving a better performance with the Microsoft addin
> available with Excel 2007. But as the microsoft addin doesn't have certain
> functionalities which we need, we are not able to use that.
>
>
>
> Any ideas why this is happening? Any possible areas which I should look
> into?
>
>
>
> The microsoft addin uses bulk querying and caching which results in
> faster performance. Any idea how to implement this?
>
>
>
> Please reply at the earliest possible...
>
> Thanks in advance....


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cube In and Cube Out transition animation in PowerPoint 2007 El Steverino Microsoft Powerpoint 1 16th May 2009 11:33 AM
olap data cube John Microsoft Excel Misc 0 25th Jun 2008 01:12 PM
suppress warning and locate cube in a pivot table from olap cube Tewari Microsoft Excel Misc 0 28th Mar 2007 06:54 AM
cube analysis add -in for excel and local cube swetha Microsoft Excel Discussion 0 28th Jul 2006 09:25 PM
querying a cube j.valle Microsoft Excel Crashes 0 19th Aug 2003 10:18 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:23 PM.