Re: [WebDNA] [BULK] db-temp files

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 106272
interpreted = N
texte = --Boundary-01=_unsTNcdX92Uc+UA Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit This info is in the admin interface: ------------------------------ Safe Write DB: Enabled by default. Sets the WebDNA engine to create a temporary file when writing the contents of a database to disk. The temporary file contents are then moved to the original database file after the entire database is completely flushed to disk. This helps to eliminate corruption of the original database file if there is an interruption during the database write process. ------------------------------ It's easy enough to delete them with your trigger by putting a deletefile tag inside a showif context inside a listfiles context so that only files ending in db-tmp are deleted. Sincerely, Kenneth Grome > Hello, > > I have a trigger that once a day deletes abandoned cart > databases (my own databases, not using store builder) > and I just noticed that there are files remaining in the > directory that end in db-tmp for each of the databases > that have been deleted. > > What is causing these to be written and is there a way I > can avoid having them written? > > Thank you, > Steve --Boundary-01=_unsTNcdX92Uc+UA Content-Type: text/html; charset="iso-8859-6" Content-Transfer-Encoding: 7bit

This info is in the admin interface:

------------------------------

Safe Write DB:

Enabled by default. Sets the WebDNA engine to create a temporary file when writing the contents of a database to disk. The temporary file contents are then moved to the original database file after the entire database is completely flushed to disk. This helps to eliminate corruption of the original database file if there is an interruption during the database write process.

------------------------------

It's easy enough to delete them with your trigger by putting a deletefile tag inside a showif context inside a listfiles context so that only files ending in db-tmp are deleted.

Sincerely,

Kenneth Grome

> Hello,

>

> I have a trigger that once a day deletes abandoned cart

> databases (my own databases, not using store builder)

> and I just noticed that there are files remaining in the

> directory that end in db-tmp for each of the databases

> that have been deleted.

>

> What is causing these to be written and is there a way I

> can avoid having them written?

>

> Thank you,

> Steve

--Boundary-01=_unsTNcdX92Uc+UA-- Associated Messages, from the most recent to the oldest:

    
  1. [BULK] Re: [WebDNA] [BULK] db-temp files (Steve Raslevich 2011)
  2. Re: [WebDNA] [BULK] db-temp files (Kenneth Grome 2011)
  3. [WebDNA] [BULK] db-temp files (Steve Raslevich 2011)
--Boundary-01=_unsTNcdX92Uc+UA Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit This info is in the admin interface: ------------------------------ Safe Write DB: Enabled by default. Sets the WebDNA engine to create a temporary file when writing the contents of a database to disk. The temporary file contents are then moved to the original database file after the entire database is completely flushed to disk. This helps to eliminate corruption of the original database file if there is an interruption during the database write process. ------------------------------ It's easy enough to delete them with your trigger by putting a deletefile tag inside a showif context inside a listfiles context so that only files ending in db-tmp are deleted. Sincerely, Kenneth Grome > Hello, > > I have a trigger that once a day deletes abandoned cart > databases (my own databases, not using store builder) > and I just noticed that there are files remaining in the > directory that end in db-tmp for each of the databases > that have been deleted. > > What is causing these to be written and is there a way I > can avoid having them written? > > Thank you, > Steve --Boundary-01=_unsTNcdX92Uc+UA Content-Type: text/html; charset="iso-8859-6" Content-Transfer-Encoding: 7bit

This info is in the admin interface:

------------------------------

Safe Write DB:

Enabled by default. Sets the WebDNA engine to create a temporary file when writing the contents of a database to disk. The temporary file contents are then moved to the original database file after the entire database is completely flushed to disk. This helps to eliminate corruption of the original database file if there is an interruption during the database write process.

------------------------------

It's easy enough to delete them with your trigger by putting a deletefile tag inside a showif context inside a listfiles context so that only files ending in db-tmp are deleted.

Sincerely,

Kenneth Grome

> Hello,

>

> I have a trigger that once a day deletes abandoned cart

> databases (my own databases, not using store builder)

> and I just noticed that there are files remaining in the

> directory that end in db-tmp for each of the databases

> that have been deleted.

>

> What is causing these to be written and is there a way I

> can avoid having them written?

>

> Thank you,

> Steve

--Boundary-01=_unsTNcdX92Uc+UA-- Kenneth Grome

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Trouble with adding multiple items to cart (1999) Expiration of Carts (1997) WebCatalog for guestbook ? (1997) [OT] javascript field validation with encoded forms (2004) Hard Questions ? (1997) cookies and [returnraw] (1997) Emailer file formats (1998) quantity minimum problem (1997) WebCat2 - [include] tags (1997) Sort Order on a page search (1997) Setting up shop (1997) How far do [showif]s go? (1997) Foreign Chars ( יאצה and so on) (1998) insecuretextvars preference doesn't work (2000) [sendmail] on NT? (1997) Prevent multiple appends with Reload Button (1997) RE: protect tag not working (1998) emailer (1997) [WebDNA] Authentication across domains (2009) show all problem (1997)