Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 6 of 6 total
Thread 3.26 memory tables
Fri, Feb 7 2014 8:54 PMPermanent Link

John Easley

Yeah, I know, I still have a legacy app using 3.26 CS mode.

If I create a memory table from within a tdbisamquery component that's using a remote session, then destroy the component without dropping the table, will the table get dropped automatically or do I explicitly need to drop the table?

TIA,  

John
Mon, Feb 10 2014 8:40 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

John,

<< Yeah, I know, I still have a legacy app using 3.26 CS mode. >>

Hey, if it works... Wink

<< If I create a memory table from within a tdbisamquery component that's
using a remote session, then destroy the component without dropping the
table, will the table get dropped automatically or do I explicitly need to
drop the table? >>

With 3.x, you'll need to explicitly drop the table.

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Jan 30 2015 6:29 PMPermanent Link

John Easley

What about local tables?  Will destroying the table free the memory table on the local machine, or do these need to be explicitly dropped as well?

John


>>With 3.x, you'll need to explicitly drop the table.

Tim Young
Elevate Software
www.elevatesoft.com
Sun, Feb 1 2015 11:12 AMPermanent Link

John Easley

Never mind, I ran some tests, and yes, local memory tables should be freed.

John
Sun, Feb 1 2015 11:24 AMPermanent Link

Raul

Team Elevate Team Elevate

On 2/1/2015 11:12 AM, John Easley wrote:
> Never mind, I ran some tests, and yes, local memory tables should be freed.

Not using v3 here but out of curiosity is the behavior same as in v4 -
they're freed when app exits (or if you manually drop them) ?

Anything else would prevent in-mem table sharing IMHO.

Raul
Mon, Feb 2 2015 8:34 PMPermanent Link

John Easley

I believe the behavior is the same for 3.x and 4.x - if memory tables are not
freed during application execution, they are freed upon termination.

John
Image