dbTalk Databases Forums  

PTS cache questions

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss PTS cache questions in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tony Proctor
 
Posts: n/a

Default PTS cache questions - 09-23-2004 , 01:27 PM






Is the PTS cache per-thread or shared between threads?

Does it make a difference if the threads are in STA?

If a VB6 component uses ADOMD to access an OLAP source from a multi-threaded
(STA) environment (e.g. IIS, or an ActiveX EXE), each of the threads will
have their own OLAP connection. Does this mean that the cache is independent
for each thread, and that memory usage is therefore not optimal?

If the connection string specifies a "Client Cache Size" setting, it that
honoured per-thread or per-process?

Tony Proctor



Reply With Quote
  #2  
Old   
Tony Proctor
 
Posts: n/a

Default RE: PTS cache questions - 11-25-2004 , 09:31 AM






Just in case anyone falls across this in the archives...

PTS caches appear to be connection-specific.

In an IIS environment, where each thread is likely to have its own
connection, then this means that there is a multiplicity of caches for the
same data, and an ASP application (for instance) becomes starved of useful
memory.

Furthermore, MS acknowledge that PTS is designed for two-tier architectures,
not three-tier. In fact, there's some debate about whether it's even
supported in a middle tier. Since both ADOMD and XML/A access to OLAP data
utilise PTS then this has severe repercussions for any application trying to
provide analytical capabilities in a middle tier.

.....this is what OLAP is all about, not just showing grids on a client!

"Tony Proctor" wrote:

Quote:
Is the PTS cache per-thread or shared between threads?

Does it make a difference if the threads are in STA?

If a VB6 component uses ADOMD to access an OLAP source from a multi-threaded
(STA) environment (e.g. IIS, or an ActiveX EXE), each of the threads will
have their own OLAP connection. Does this mean that the cache is independent
for each thread, and that memory usage is therefore not optimal?

If the connection string specifies a "Client Cache Size" setting, it that
honoured per-thread or per-process?

Tony Proctor




Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.