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...Administration ...Administration ...Database Size Increasing Rapidly -- DNN5Database Size Increasing Rapidly -- DNN5
Previous
 
Next
New Post
2/11/2009 7:40 AM
 

Hi all... I think I have a problem.

On my only DNN 5.0 install, my SQL database seems to be rapidly increasing, so much so that in less than 1.5 hours it increased by 3 MB.  This has led to issues with the portal and with hosting services b/c of obvious reasons...

I logged in this morning, ran a series of queries in the Host > SQL page of the portal.  Here's what I did:

1) sp_spaceused, database size was 250.18 MB, unallocated space was 0.11 MB

2) DBCC SHRINKDATABASE (mydatabasename) -- this didn't get me any reduction in size

3) TRUNCATE TABLE eventlog

4) TRUNCATE TABLE sitelog

5) sp_spaceused, database size still showed over 250 MB, BUT the unallocated space was actually LARGER than the database size (i know, weird)

6) DBCC SHRINKDATABASE (mydatabasename)

7) sp_spaceused -- database size 23.18 MB, unallocated space 0.13 MB

Now all seems fine, but then like I said, I checked back on this site in 1.5 hours and the sp_spaceused stored procedure turned up an increase of 3MB in size.

THEN I went to Host > Host Settings > Other settings and noticed the SiteLog storage was set to Database.  Was THAT my problem?  I changed it to File System.

Keep in mind for the last several weeks I have been running Mitch's SQL jobs module w/clean site log and clean event log jobs scheduled to run weekly.

Is this a DNN 5 thing?


Chad Voller -- MCP, DNN Aficionado
Leapwise Media
View my View Chad Voller's profile on LinkedIn
 
New Post
2/11/2009 9:32 AM
 

I discovered this morning it is the Event Log that is quickly filling up.

How do I stop this via DNN host settings or otherwise?


Chad Voller -- MCP, DNN Aficionado
Leapwise Media
View my View Chad Voller's profile on LinkedIn
 
New Post
2/11/2009 10:03 AM
 

You should attempt to fix errors in your event log. On the event log page itself you can choose what to / what not to log.



Alex Shirley


 
New Post
2/11/2009 10:08 AM
 

My guess is that you have some module that is throwing all kinds of errors.  My SQL job leaves a 7 day history, so with a bad-module you still have a potential to have issues, although not that common.

What types of errors do you see in there?  It might be something simple to resolve.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
2/11/2009 10:39 AM
 

I have a bunch of errors from a single module with moduleID 607, but when I query the DesktopModules table for a module with that ID, nothing is returned.

The error is like this: (there is more to it, and the error repeats for a bunch of IMG_20XX.jpg files -- on the Title line)

ModuleId: 607
SearchItemId: 0
Title: IMG_2071.JPG
SearchKey: 159
GUID: ctl=SlideShow&mid=607&ItemID=159
AssemblyVersion: 05.00.00
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: a3fb6c3d-646e-4c56-879e-582df3a07a0b
InnerException: Cannot insert the value NULL into column 'PubDate', table 'mydatabasename.dbo.SearchItem'; column does not allow nulls. INSERT fails. The statement has been terminated.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Data.SqlClient.SqlConnection.OnError
StackTrace:


Chad Voller -- MCP, DNN Aficionado
Leapwise Media
View my View Chad Voller's profile on LinkedIn
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Database Size Increasing Rapidly -- DNN5Database Size Increasing Rapidly -- DNN5


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