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

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 106273
interpreted = N
texte = This is a multi-part message in MIME format. --------------050201020209040203000909 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Thanks Ken Kenneth Grome wrote: > > 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 > > --------------------------------------------------------- This message > is sent to you because you are subscribed to the mailing list . To > unsubscribe, E-mail to: archives: > http://mail.webdna.us/list/talk@webdna.us Bug Reporting: > support@webdna.us --------------050201020209040203000909 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thanks Ken

Kenneth Grome wrote:

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

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us


--------------050201020209040203000909-- Associated Messages, from the most recent to the oldest:

    
This is a multi-part message in MIME format. --------------050201020209040203000909 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Thanks Ken Kenneth Grome wrote: > > 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 > > --------------------------------------------------------- This message > is sent to you because you are subscribed to the mailing list . To > unsubscribe, E-mail to: archives: > http://mail.webdna.us/list/talk@webdna.us Bug Reporting: > support@webdna.us --------------050201020209040203000909 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thanks Ken

Kenneth Grome wrote:

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

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us


--------------050201020209040203000909-- Steve Raslevich

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:

Optional new-style syntax for WebCatalog 4.0 (2000) [movefile] (1999) Re:listfiles-looking for slick solution (1997) Running WebCat from a CD-ROM (1997) [WebDNA] Bug in 6.2? (2009) Forcing a NEWCART (1997) WebCat2b12 - New features for 1.6 users ... (1997) PCS Emailer's role ? (1997) WebCat & Liststar ... & Rumpus, too! (1997) WebCat virtual postcard is done! Thanks for the help! (1998) Just Testing (1997) WebCatalog for guestbook ? (1997) [OT] Mac Utility Required (2000) Not reading code (1997) problems with 2 tags shakur (1997) PCS Frames (1997) Applescript, WebDNA, and PDF (1997) Using Plug-In while running 1.6.1 (1997) 2.0Beta Command Ref (can't find this instruction) (1997) OT Grep Help (2008)