Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Local Store with Remote Session.
Fri, Aug 28 2020 4:00 AMPermanent Link

Steve Gill

Avatar

Here's something I'm not sure of as I haven't tried it yet as my second computer is cactus at the moment.

If a client application is connected to an EDB server, and I use the Session component of the client application to create a local store, is the store created on the server or local computer?

= Steve
Fri, Aug 28 2020 6:47 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Steve

<<If a client application is connected to an EDB server, and I use the Session component of the client application to create a local store, is the store created on the server or local computer?>>


I hope you're asking about session.execute. If so all that does is create a query and uses the session that created it as the query's session with the configuration database as the query's databse - have a look in edbcomps. The source is with you!

Then it depends on what command you give - from the OLH

<<Use this statement to create a new store. Use the LOCAL keyword to create a local store that references a path accessible from the local process. If the path specified for a local store is not valid, then ElevateDB will attempt to create the path. Use the REMOTE keyword to create a remote store that references a store located on an ElevateDB Server specified by the ADDRESS or HOST, and PORT or SERVICE, keywords. The remote store name is not validated until the store is opened. If the remote store does not exist when the store is opened, then an appropriate error message will be displayed.>>

Long way of saying - it should be on the client PC unless both my memory and my interpretation of the OLH is wrong - at my age very probable Smiley

Roy Lambert
Fri, Aug 28 2020 6:56 PMPermanent Link

Steve Gill

Avatar

Roy Lambert wrote:

Steve

<<  Long way of saying - it should be on the client PC unless both my memory and my interpretation of the OLH is wrong - at my age very probable Smiley>>

Ha ha.  Thanks Roy, that's exactly what I wanted to know. Smile

= Steve
Image