Re: Managing OLAP Connections

Tech-Archive recommends: Speed Up your PC by fixing your registry



don't close the session, close the connection but not the session.
save the session ID to reuse it when the user ask the cube again.
Try to find some solution to use the connection pooling feature.

optimize the connection string by using cache ratio=0.001;cache ratio2=0.001;cache policy=7;non empty threshold=1

force the query execution to the server level.

"billd" <billd@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:FEA14F98-AE26-4F71-8B17-9A7A4DA4E451@xxxxxxxxxxxxxxxx
Hi have an ASP.Net application that allows multiple users to query against a
cube. I am using ADOMD.Net to make the queries.


Based on what I have read to be best practice, when an ASP page makes a
query I create the connection, make the query and then close the connection.
The connection string is always exactly the same so as to take advantage of
connection pooling.


The problem is that opening, querying and then closing results in slow
performance - about 3 seconds each time. If I keep the connection open in a
Session variable, subsequent queries take under 1/2 second.


Since connections are limited resources and I need my application to scale,
keeping connections in user Sessions is not desirable.


Can anyone offer some advice on how to get good performance with not
dedicating connections?

Thanks,
Bill

.



Relevant Pages

  • Best way to integrate classes
    ... Have the Session class extend the DB class? ... MySQL connection via $oDB object further in the code. ... function query { ... // Returns a single record as associative array from query results ...
    (comp.lang.php)
  • Re: APPN Connection z/os - AHHC / LLC2.
    ... implied that you session stopped for a while and then continued. ... the ANNC link is a type 2.1 connection. ... I would suggest trying to limit the request unit size used over the type 2.1 ... MAXDATA operand when defining a PU statement for an adjacent link station ...
    (bit.listserv.ibm-main)
  • Re: Remote desktop deadlock on XP SP2
    ... the TS connection is frozen, even if I specify a wait timeout. ... TermSrv.dll creates a new session for the purpose of displaying the logon ... lives on a DPC routine for the network miniport ... the network packets are encapsulated and decapsulated in UDP. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: JES-APPL
    ... Then there has been a session initiation request - which can only happen over an available session path - this isn't any of your flaky IP, ... Unless the NJE application on the AS/400 has consistently been caught in the middle of being activated in some way - highly unlikely I would expect - this is not a timing problem. ... Since the connection is necessarily in place, there is no problem with the connection - just in case a modem is involved - which, given a "switched" definition is used, is not impossible, but unlikely. ...
    (bit.listserv.ibm-main)
  • Re: os users, sessions, and connections.
    ... From what I've read a session is a logged connection. ... do the following (paddr is the address of the process ... select sid, serial#, paddr, username from v$session ...
    (comp.databases.oracle.server)