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: Here we go again...WebDNA - SQL- Clustering

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 66740
interpreted = N
texte = >> Again flat file has limitation on performance on server > > Bess, what you fail to mention is that a flat file database structure > can function just perfectly (with no limitations) for the majority > of needs out there. Sure, it depends on what you are targeting. WebDNA > does eCommerce, but it does LAN stuff and other functions as well. These > blanket statements are just wrong. I don't know about majority because that too is debatable, but suffice to say that Donovan is right and that is works very well in numerous projects. Like i have said in the past postings, we use them interchangeably though I must admit that I move to SQL tables instinctively now. The other thing missing here is that WebDNA is first and foremost a markup language and not a database system! And as a MUL it just plain rocks. My developers come to the table with php and .net experience and they LOVE, repeat LOVE DNA for the simplicity and small footprint the code makes. Very clean and quick to get to the goal... MySQL, MSSQL or DNA flat files alike. >> Flat file makes it too much hassle to do any business intelligences, > data mining or even reporting. It is not scalable for enterprise application. > Just flat out wrong. You are newbie to this list and to say webdna can't > do reporting etc.. is just silly. Absolutely correct. Data mining and reporting are all easily done in DNA tables. She's right about the scalability issue though. I cant even tell you how many times the conversation about scaling multiple DNA installations across multiple servers has been hashed and rehashed on this list over the years by the best on the list. The truth is that is always fell short - way short -- for us until we started fronting SQL with DNA. Now scalable is just a given and WebDNA has been extended for us where we were facing the decision to have to move away. >> Thanks Kenneth. Thanks for clarifying the myth. > Kenneth is a Myth... O.K., I just had to put that one in there for > enternainment > purposes. Now that's funny. I think even Ken would agree! :-) >> I think it is important for developers to understand the facts. WebDNA is not >> "relational" database > Again, that's just plain wrong. It doesn't take a skilled developer to do > this. > [search db=...&blah] > [founditems][lookup > db=another&value=ID_OF_SECOND_DB_STORED_IN_FIRST_DATABASE&Blah]etc...[/foundit > ems] > [/search] Its true that we build the relationships like Donovan mentioned above but I can tell you that I have found better performance (especially on large data sets) with the join capability native to SQL than recursive searching could do. On small datasets the recursive searching is ok but I have seen outputs where in order to show multiple columns of data 50 rows deep (which is not unreasonable) with 5-6 columns of related data -- where you want to show the titles and not the related sku numbers... That led to recursive searches that number 300+ per page. Did it do it? Sure. Did it do it adequately on small data sets? You bet. But once you try that on lets say a discussion forum, with 200,000 records and tons of text, that recursive searches really starts to show its limitations. This is just one real world (and not unreasonable) example where join searching on SQL is much faster. In fact I had to go back and de-normalize my data to put calculated totals into fields so as not to have to do the numfound searching in a recursive lookup. It worked but it wasn't elegant by any means. One other small point, though in the bigger context it is a smaller point, by fronting DNA out to something like SQL you move the performance sucking work (searching) to another box or boxes dedicated to DB serving. Unfortunately with the built in RAM resident only access of DNA flat files, it all has to happen on the same box as the webserver, which may or may not have it's own performance issues. Scalability is the huge winner in this case. >> Tab-delimited text files... It really makes many non-webdna developers >> "wonder" > You make it sound like a text table is not ever used on the web. Think Again! I got the same look all the time. Few of my clients came without their own IT dept. though. That being said, few wouldn't have some sort of exposure to things like SQL, SAP, etc. Flat files was something that we learned to avoid in the conversations even though we kknew it would work for them. Now we simply say everything is run from MSSQL and we can hit it with a variety of interfaces. Our interface of choice is WebDNA because we can accomplish the same tasks in typically 1/2 the time and save you money.... Yet your data is right there for any other future development/growth/reporting/etc. :-) Everyone wins. (including SMSI) >> Also once your flat file grow beyond roughly 2 GB (check with Network Admin >> to verify the size), > This is a limit set by the OS and hard drive formatting... not webdna. >> you can't run data very well. The go-around solution is to break down WebDNA >> database into smaller >> chunks for faster performance. > > Its not a "go-around" its just good programming, and in fact, is called a > relational framework. Yes and no. Again, even with full normalization and excellent data structuring skills you will still see data sets that large in the most innocent of places. I like to pick on discussion forums because I run many. And at a couple hundred thousand records its starts to show it girth and has stability issues. Point is you cannot always employ workarounds, or good database design to make your data 'smaller'. I have a hobby site that gets 3 million connections per month and 90% of that is discussion forum activity. It has survived in DNA flat tables for years but is currently being redeveloped in DNA/MSSQL. I expect to see great returns in performance, stability, expandability. BUT MY FRONT END IS STILL WEBDNA MARKUP LANGUAGE! Because that's ultimately what WebDNA is a kick ass markup language. >> You really need Relationship Database for scaleable application. > Sigh. No you don't. You *may* need it.. but not always. It depends on what the > client is doing. Definitely true. Just one man's opinion... Not trying to force it on anyone :-) Hope it helps to inform some and doesn't annoy others ;-) -- Alex J McCombie Adventure Skies Interactive (ASI) Alex@Adventureskies.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Here we go again...WebDNA - SQL- Clustering ( Kenneth Grome 2006)
  2. Re: Here we go again...WebDNA - SQL- Clustering ( "Bess Ho" 2006)
  3. Re: Here we go again...WebDNA - SQL- Clustering ( Donovan Brooke 2006)
  4. Re: Here we go again...WebDNA - SQL- Clustering ( "Bess Ho" 2006)
  5. Re: Here we go again...WebDNA - SQL- Clustering ( "Bess Ho" 2006)
  6. Re: Here we go again...WebDNA - SQL- Clustering ( Alex McCombie 2006)
  7. Re: Here we go again...WebDNA - SQL- Clustering ( Donovan Brooke 2006)
  8. Re: Here we go again...WebDNA - SQL- Clustering ( Donovan Brooke 2006)
  9. Re: Here we go again...WebDNA - SQL- Clustering ( Adam O'Connor 2006)
  10. Re: Here we go again...WebDNA - SQL- Clustering ( nitai@computeroil.com 2006)
  11. Re: Here we go again...WebDNA - SQL- Clustering ( Donovan Brooke 2006)
  12. Re: Here we go again...WebDNA - SQL- Clustering ( Alex McCombie 2006)
  13. Re: Here we go again...WebDNA - SQL- Clustering ( nitai@computeroil.com 2006)
  14. Re: Here we go again...WebDNA - SQL- Clustering ( Donovan Brooke 2006)
  15. Re: Here we go again...WebDNA - SQL- Clustering ( Alex McCombie 2006)
  16. Re: Here we go again...WebDNA - SQL- Clustering ( Bob Minor 2006)
  17. Re: Here we go again...WebDNA - SQL- Clustering ( Stuart Tremain 2006)
  18. Re: Here we go again...WebDNA - SQL- Clustering ( Adam O'Connor 2006)
>> Again flat file has limitation on performance on server > > Bess, what you fail to mention is that a flat file database structure > can function just perfectly (with no limitations) for the majority > of needs out there. Sure, it depends on what you are targeting. WebDNA > does eCommerce, but it does LAN stuff and other functions as well. These > blanket statements are just wrong. I don't know about majority because that too is debatable, but suffice to say that Donovan is right and that is works very well in numerous projects. Like i have said in the past postings, we use them interchangeably though I must admit that I move to SQL tables instinctively now. The other thing missing here is that WebDNA is first and foremost a markup language and not a database system! And as a MUL it just plain rocks. My developers come to the table with php and .net experience and they LOVE, repeat LOVE DNA for the simplicity and small footprint the code makes. Very clean and quick to get to the goal... MySQL, MSSQL or DNA flat files alike. >> Flat file makes it too much hassle to do any business intelligences, > data mining or even reporting. It is not scalable for enterprise application. > Just flat out wrong. You are newbie to this list and to say webdna can't > do reporting etc.. is just silly. Absolutely correct. Data mining and reporting are all easily done in DNA tables. She's right about the scalability issue though. I cant even tell you how many times the conversation about scaling multiple DNA installations across multiple servers has been hashed and rehashed on this list over the years by the best on the list. The truth is that is always fell short - way short -- for us until we started fronting SQL with DNA. Now scalable is just a given and WebDNA has been extended for us where we were facing the decision to have to move away. >> Thanks Kenneth. Thanks for clarifying the myth. > Kenneth is a Myth... O.K., I just had to put that one in there for > enternainment > purposes. Now that's funny. I think even Ken would agree! :-) >> I think it is important for developers to understand the facts. WebDNA is not >> "relational" database > Again, that's just plain wrong. It doesn't take a skilled developer to do > this. > [search db=...&blah] > [founditems][lookup > db=another&value=ID_OF_SECOND_DB_STORED_IN_FIRST_DATABASE&Blah]etc...[/foundit > ems] > [/search] Its true that we build the relationships like Donovan mentioned above but I can tell you that I have found better performance (especially on large data sets) with the join capability native to SQL than recursive searching could do. On small datasets the recursive searching is ok but I have seen outputs where in order to show multiple columns of data 50 rows deep (which is not unreasonable) with 5-6 columns of related data -- where you want to show the titles and not the related sku numbers... That led to recursive searches that number 300+ per page. Did it do it? Sure. Did it do it adequately on small data sets? You bet. But once you try that on lets say a discussion forum, with 200,000 records and tons of text, that recursive searches really starts to show its limitations. This is just one real world (and not unreasonable) example where join searching on SQL is much faster. In fact I had to go back and de-normalize my data to put calculated totals into fields so as not to have to do the numfound searching in a recursive lookup. It worked but it wasn't elegant by any means. One other small point, though in the bigger context it is a smaller point, by fronting DNA out to something like SQL you move the performance sucking work (searching) to another box or boxes dedicated to DB serving. Unfortunately with the built in RAM resident only access of DNA flat files, it all has to happen on the same box as the webserver, which may or may not have it's own performance issues. Scalability is the huge winner in this case. >> Tab-delimited text files... It really makes many non-webdna developers >> "wonder" > You make it sound like a text table is not ever used on the web. Think Again! I got the same look all the time. Few of my clients came without their own IT dept. though. That being said, few wouldn't have some sort of exposure to things like SQL, SAP, etc. Flat files was something that we learned to avoid in the conversations even though we kknew it would work for them. Now we simply say everything is run from MSSQL and we can hit it with a variety of interfaces. Our interface of choice is WebDNA because we can accomplish the same tasks in typically 1/2 the time and save you money.... Yet your data is right there for any other future development/growth/reporting/etc. :-) Everyone wins. (including SMSI) >> Also once your flat file grow beyond roughly 2 GB (check with Network Admin >> to verify the size), > This is a limit set by the OS and hard drive formatting... not webdna. >> you can't run data very well. The go-around solution is to break down WebDNA >> database into smaller >> chunks for faster performance. > > Its not a "go-around" its just good programming, and in fact, is called a > relational framework. Yes and no. Again, even with full normalization and excellent data structuring skills you will still see data sets that large in the most innocent of places. I like to pick on discussion forums because I run many. And at a couple hundred thousand records its starts to show it girth and has stability issues. Point is you cannot always employ workarounds, or good database design to make your data 'smaller'. I have a hobby site that gets 3 million connections per month and 90% of that is discussion forum activity. It has survived in DNA flat tables for years but is currently being redeveloped in DNA/MSSQL. I expect to see great returns in performance, stability, expandability. BUT MY FRONT END IS STILL WEBDNA MARKUP LANGUAGE! Because that's ultimately what WebDNA is a kick ass markup language. >> You really need Relationship Database for scaleable application. > Sigh. No you don't. You *may* need it.. but not always. It depends on what the > client is doing. Definitely true. Just one man's opinion... Not trying to force it on anyone :-) Hope it helps to inform some and doesn't annoy others ;-) -- Alex J McCombie Adventure Skies Interactive (ASI) Alex@Adventureskies.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Alex McCombie

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:

Show if time tags (1997) notification solutions (1997) Item counting? (1998) DON'T use old cart file! (1997) Include remote? (1998) [WebDNA] why this error when using [shownext] with a [table]? (2009) can I get formvariables for an include? (1999) [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (2018) [Summary] re: Emailer setup (1997) WC TableGrinder (1997) different show next (1997) ANother SHOWIF problem (1997) Cookies and the EU (John, don't read this) (2001) Fields/Forms Processing (1998) WC2b12: Yes, Formulas.db is for real (1997) syntax question, not in online refernce (1997) Re[2]: 2nd WebCatalog2 Feature Request (1996) WebCat2.0 [format thousands .0f] no go (1997) WebCatalog Serial Number (1998) Webten + Webcat running smooth (1998)