Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...dbo.HtmlText - still using NTEXT data type?dbo.HtmlText - still using NTEXT data type?
Previous
 
Next
New Post
5/24/2017 6:12 PM
 

Today I was troubleshooting a nasty exception error on a stock HTML module. It was showing index was out of range/format HTML text error on module load. Turns out, the site content editor was trying to put in binary version of images inline to the HTML, so the module crapped out. We overwrote the content with the previous version and crisis averted. 

That's when I looked into the table structure for dbo.HTMLText and realized that the "Content" column storing all the HTMLs is still using NTEXT as data type. Really? NTEXT was deprecated in SQL 2005 in favor of NVARCHAR(MAX). By design, reading from NTEXT column generally incurs a lot more LOB logical reads than reading from NVARCHAR(MAX), therefore degrading the performance. 

Given that HTML module is used basically everywhere on a DNN website, this seems like an odd choice. Is there a particular reason why we're still stuck with NTEXT?

P.S. We're on DNN Plaftform 7.4.2

 
New Post
7/4/2017 3:00 AM
 
Yeah, it's disappointing to see how badly designed and maintained the DNN database is. The overall speed of DNN could be so much better with some simple tweaks, indexing and some basic re-designing...
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...dbo.HtmlText - still using NTEXT data type?dbo.HtmlText - still using NTEXT data type?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out