What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: [WebDNA] Use of MySQL with WebDNA

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105822
interpreted = N
texte = Each time a record is added, your database is written to disk. This is = fine except if your database is large and that you get several new = entries every second. WebDNA 7.0 does not anymore write to disk for = every single [append]: There is now (WebDNA 7.0) only three ways for WebDNA to write to disk: - the Administration configuration that says "Automatically commit = databases to disk after modification" - [closedatabase db=3Dname.db] in your template causes the specified = database file (or full path) to be written and closed. This is only = needed for special cases (usually before appending to a file) where you = need to change a file perhaps cached in RAM. - [commitdatabase db=3Dname.db] in your template causes the specified = database file (or full path) to be written but not closed (so it remains = in RAM) I wonder if [spawn][commitdatabase db=3Dname.db][/spawn] could not be = associated with an [exclusivelock]: that would be a way to flush the db = once in a while without any speed loss.... we will have to test this. - chris On Sep 28, 2010, at 10:45, Toby Cox wrote: > I hadn't thought of this, but now that I think of it we also have a = problem with large, heavy traffic, heavy write DBs >=20 > On an ecommerce site we run, one particular db currently stands at = 58,000 records (just over 1Mb) and it has started to corrupt records in = the last 4-6 months. Obviously this is something that tends not to = happen with MySQL. >=20 > High traffic large databases with little writing do just fine, as do = high traffic smaller DBs with lots of writing. We have a record of all = dispatched items that gets written to just a few hundred times a day. = This stands at 167,000 records and 1.2Mb and is just fine. >=20 > Meanwhile, with CakePHP and MySQL we have large DBs (250,000+) that = are written to 1,000+ times per day with no corruption. >=20 > It's a problem that we can handle at the moment, by occasionally = running a first aid script, but I can't imagine that in 6-12 months we = are going to be running WebDNA in the same format as we do now. >=20 >=20 >=20 > TC >=20 >=20 > On 28 Sep 2010, at 14:16, Govinda wrote: >=20 >> Hi Chris! :-) >>=20 >> I have not used MySQL (or other external db) outside of PHP (not yet = with webdna), but I do not see how webdna's future can get around really = strong support of that. Of course it is a royal pain to have to code = outside of webdna's beautiful internal db system, but when the db's get = too large, then it seems just too risky to not have options. Maybe in = some cases it is not even just that webdna could not handle a large db, = but that maybe their is just not enough RAM allotted in some setups. I = have not read much of the articles around the current state of MySQL, = but there is simply so much of it out there, that for all I know it is = still the best option as backup format. (?) >>=20 >> Maybe my very partial knowledge here will prove my lack of thorough = familiarity with the range of server-side considerations, but at least = it will add to getting discussion going. >>=20 >> -Govinda >>=20 >> On Sep 28, 2010, at 8:35 AM, christophe.billiottet@webdna.us wrote: >>=20 >>> Good morning everyone! >>>=20 >>> this email is for WebDNA users working with MySQL. We would like to = know how many of you need MySQL support and the reason why you prefer = using MySQL instead of the internal database system. >>> As you know, MySQL now belongs to Oracle with license restrictions = and we were thinking, in case external database support is necessary, if = a better/faster ODBC support woud not be a more universal idea. We also = gave SQLite a thought, but despite its qualities, the internal WebDNA = database system is more powerful. >>>=20 >>> This is not a trivial matter, so we will listen to everyone. >>>=20 >>> thank you! >>>=20 >>> - chris--------------------------------------------------------- >>> 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 >>=20 >> ------------ >> Govinda >> govinda.webdnatalk@gmail.com >>=20 >>=20 >>=20 >>=20 >> --------------------------------------------------------- >> 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 >=20 > --------------------------------------------------------- > 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Use of MySQL with WebDNA (Stuart Tremain 2010)
  2. RE: [WebDNA] Use of MySQL with WebDNA ("Dale Therio" 2010)
  3. Re: [WebDNA] Use of MySQL with WebDNA (Brian Fries 2010)
  4. Re: [WebDNA] Use of MySQL with WebDNA ("Mr. Robert Minor Jr." 2010)
  5. Re: [WebDNA] Use of MySQL with WebDNA (Kenneth Grome 2010)
  6. RE: [WebDNA] Use of MySQL with WebDNA ("Terry Nair" 2010)
  7. Re: [WebDNA] Use of MySQL with WebDNA (Paul Willis 2010)
  8. Re: [WebDNA] Use of MySQL with WebDNA (christophe.billiottet@webdna.us 2010)
  9. Re: [WebDNA] Use of MySQL with WebDNA (Paul Willis 2010)
  10. Re: [WebDNA] Use of MySQL with WebDNA (christophe.billiottet@webdna.us 2010)
  11. Re: [WebDNA] Use of MySQL with WebDNA (Govinda 2010)
  12. Re: [WebDNA] Use of MySQL with WebDNA (Toby Cox 2010)
  13. RE: [WebDNA] Use of MySQL with WebDNA ("Will Starck" 2010)
  14. Re: [WebDNA] Use of MySQL with WebDNA (Govinda 2010)
  15. Re: [WebDNA] Use of MySQL with WebDNA (Toby Cox 2010)
  16. [WebDNA] Use of MySQL with WebDNA (christophe.billiottet@webdna.us 2010)
Each time a record is added, your database is written to disk. This is = fine except if your database is large and that you get several new = entries every second. WebDNA 7.0 does not anymore write to disk for = every single [append]: There is now (WebDNA 7.0) only three ways for WebDNA to write to disk: - the Administration configuration that says "Automatically commit = databases to disk after modification" - [closedatabase db=3Dname.db] in your template causes the specified = database file (or full path) to be written and closed. This is only = needed for special cases (usually before appending to a file) where you = need to change a file perhaps cached in RAM. - [commitdatabase db=3Dname.db] in your template causes the specified = database file (or full path) to be written but not closed (so it remains = in RAM) I wonder if [spawn][commitdatabase db=3Dname.db][/spawn] could not be = associated with an [exclusivelock]: that would be a way to flush the db = once in a while without any speed loss.... we will have to test this. - chris On Sep 28, 2010, at 10:45, Toby Cox wrote: > I hadn't thought of this, but now that I think of it we also have a = problem with large, heavy traffic, heavy write DBs >=20 > On an ecommerce site we run, one particular db currently stands at = 58,000 records (just over 1Mb) and it has started to corrupt records in = the last 4-6 months. Obviously this is something that tends not to = happen with MySQL. >=20 > High traffic large databases with little writing do just fine, as do = high traffic smaller DBs with lots of writing. We have a record of all = dispatched items that gets written to just a few hundred times a day. = This stands at 167,000 records and 1.2Mb and is just fine. >=20 > Meanwhile, with CakePHP and MySQL we have large DBs (250,000+) that = are written to 1,000+ times per day with no corruption. >=20 > It's a problem that we can handle at the moment, by occasionally = running a first aid script, but I can't imagine that in 6-12 months we = are going to be running WebDNA in the same format as we do now. >=20 >=20 >=20 > TC >=20 >=20 > On 28 Sep 2010, at 14:16, Govinda wrote: >=20 >> Hi Chris! :-) >>=20 >> I have not used MySQL (or other external db) outside of PHP (not yet = with webdna), but I do not see how webdna's future can get around really = strong support of that. Of course it is a royal pain to have to code = outside of webdna's beautiful internal db system, but when the db's get = too large, then it seems just too risky to not have options. Maybe in = some cases it is not even just that webdna could not handle a large db, = but that maybe their is just not enough RAM allotted in some setups. I = have not read much of the articles around the current state of MySQL, = but there is simply so much of it out there, that for all I know it is = still the best option as backup format. (?) >>=20 >> Maybe my very partial knowledge here will prove my lack of thorough = familiarity with the range of server-side considerations, but at least = it will add to getting discussion going. >>=20 >> -Govinda >>=20 >> On Sep 28, 2010, at 8:35 AM, christophe.billiottet@webdna.us wrote: >>=20 >>> Good morning everyone! >>>=20 >>> this email is for WebDNA users working with MySQL. We would like to = know how many of you need MySQL support and the reason why you prefer = using MySQL instead of the internal database system. >>> As you know, MySQL now belongs to Oracle with license restrictions = and we were thinking, in case external database support is necessary, if = a better/faster ODBC support woud not be a more universal idea. We also = gave SQLite a thought, but despite its qualities, the internal WebDNA = database system is more powerful. >>>=20 >>> This is not a trivial matter, so we will listen to everyone. >>>=20 >>> thank you! >>>=20 >>> - chris--------------------------------------------------------- >>> 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 >>=20 >> ------------ >> Govinda >> govinda.webdnatalk@gmail.com >>=20 >>=20 >>=20 >>=20 >> --------------------------------------------------------- >> 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 >=20 > --------------------------------------------------------- > 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 christophe.billiottet@webdna.us

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:

ListFiles and NT Email Sender 3rd Request (2000) A quickie question (1997) WebCatalog can't find database (1997) PCS Frames-Default page is solution! (1997) where to put code (1998) emailer (1997) splitting numbers in webDNA? (1997) Too Much Rootbeer Free Offer (1997) NT vs Mac (1997) Web*3 virtual hosting Webcatalog problem + Vicom bonus (1998) b12 cannot limit records returned and more. (1997) plugin-acgi, different results (1997) unique ascending numbers (2003) Nav. 4 probs with cart (1997) WebCat2b15MacPlugin - showing [math] (1997) [WebDNA] Anyone using WebDNA with Twitter Streaming API? (2009) Page-Execution-Timer...PHP vs WebDNA (2004) hyperlinking unique input strings on the fly when displayingin HTML (2000) Instructions for Digest (1997) Multiple download orders of the same product? (1997)