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 sizeDatabase size
Previous
 
Next
New Post
4/13/2008 3:28 PM
 

Hi,

Last friday i got a mail from my hostingprovider that my database is to big, 1 600mb. First i couldn't believe, so i checked it, and it's correct :(.

database_name database_size unallocated space
rg 1640.63 MB 0.34 MB

I followed every step of: http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/108/threadid/168194/scope/posts/Default.aspx . I think i won about 30mb. I also cleaned the log and the events tables. But with no result.

I have no idea what there could be wrong. It's a small website (with 40 pages, no users, no large files (files are not stored in the db)).  What can i do to shrink my database?

thx,

 

Thomas

 
New Post
4/14/2008 10:23 AM
 

Thomas,

Is the size output before or after the truncation of the site log and event log tables?

I have a procedure listed in my blog called (GetAllTablSizes) that will get you a list of the size of each database table to help isolate the problem area.  You can find it in my blog at http://www.mitchelsellers.com.


-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
4/16/2008 11:54 AM
 

 

 
New Post
4/30/2008 12:02 PM
 

If I use the script on your blog mitch,

I get the following result:

tableName numberofRows reservedSize dataSize indexSize unusedSize
EventLogTypes 46 32 KB 16 KB 16 KB 0 KB
EventQueue 10 32 KB 24 KB 8 KB 0 KB
Roles 3 64 KB 8 KB 56 KB 0 KB
EventLogConfig 11 32 KB 8 KB 24 KB 0 KB
UrlTracking 186 64 KB 16 KB 48 KB 0 KB
Affiliates 0 0 KB 0 KB 0 KB 0 KB
HtmlText 56 176 KB 128 KB 24 KB 24 KB
RoleGroups 0 0 KB 0 KB 0 KB 0 KB
Urls 30 32 KB 8 KB 24 KB 0 KB
Schedule 9 16 KB 8 KB 8 KB 0 KB
helferlein_FormItem 5 48 KB 24 KB 24 KB 0 KB
TabModules 70 48 KB 16 KB 32 KB 0 KB
UrlLog 127 16 KB 8 KB 8 KB 0 KB
SiteLog 4715 2320 KB 2224 KB 88 KB 8 KB
helferlein_FormSubmission 3 16 KB 8 KB 8 KB 0 KB
Banners 0 0 KB 0 KB 0 KB 0 KB
TabPermission 136 32 KB 8 KB 24 KB 0 KB
Profile 3 48 KB 24 KB 24 KB 0 KB
UserPortals 7 48 KB 8 KB 40 KB 0 KB
ModuleControls 154 88 KB 32 KB 56 KB 0 KB
FolderPermission 72 32 KB 8 KB 24 KB 0 KB
Modules 141 112 KB 72 KB 40 KB 0 KB
SearchCommonWords 369 32 KB 16 KB 16 KB 0 KB
PortalAlias 1 32 KB 8 KB 24 KB 0 KB
Classification 0 0 KB 0 KB 0 KB 0 KB
Lists 360 128 KB 56 KB 16 KB 56 KB
UsersOnline 0 16 KB 8 KB 8 KB 0 KB
Announcements 1 48 KB 8 KB 40 KB 0 KB
SearchItem 154 64 KB 32 KB 32 KB 0 KB
SearchIndexer 1 16 KB 8 KB 8 KB 0 KB
Folders 45 32 KB 8 KB 24 KB 0 KB
ModuleDefinitions 42 64 KB 8 KB 56 KB 0 KB
TabModuleSettings 38 16 KB 8 KB 8 KB 0 KB
Telerik_Rotator 6 32 KB 24 KB 8 KB 0 KB
Files 160 176 KB 56 KB 64 KB 56 KB
ScheduleHistory 191 712 KB 616 KB 16 KB 80 KB
ProfilePropertyDefinition 38 64 KB 24 KB 40 KB 0 KB
AnonymousUsers 2 24 KB 8 KB 16 KB 0 KB
UserProfile 41 64 KB 24 KB 40 KB 0 KB
EventLog 327 3096 KB 2984 KB 16 KB 96 KB
TempTable 40 16 KB 8 KB 8 KB 0 KB
VendorClassification 0 0 KB 0 KB 0 KB 0 KB
PortalDesktopModules 0 0 KB 0 KB 0 KB 0 KB
Tabs 65 72 KB 24 KB 48 KB 0 KB
UserRoles 16 48 KB 8 KB 40 KB 0 KB
Version 6 32 KB 8 KB 24 KB 0 KB
ModulePermission 157 32 KB 8 KB 24 KB 0 KB
SearchItemWordPosition 2033 200 KB 144 KB 16 KB 40 KB
ScheduleItemSettings 0 0 KB 0 KB 0 KB 0 KB
Vendors 0 0 KB 0 KB 0 KB 0 KB
SystemMessages 0 0 KB 0 KB 0 KB 0 KB
SearchItemWord 975 176 KB 80 KB 64 KB 32 KB
ModuleSettings 101 16 KB 8 KB 8 KB 0 KB
EventLogTypes 46 32 KB 16 KB 16 KB 0 KB
SearchWord 1125 128 KB 48 KB 80 KB 0 KB
EventLogConfig 11 32 KB 8 KB 24 KB 0 KB
HostSettings 51 16 KB 8 KB 8 KB 0 KB
UrlTracking 186 64 KB 16 KB 48 KB 0 KB
Affiliates 0 0 KB 0 KB 0 KB 0 KB
Portals 1 32 KB 8 KB 24 KB 0 KB
Permission 6 32 KB 8 KB 24 KB 0 KB
Urls 30 32 KB 8 KB 24 KB 0 KB
aspnet_Applications 1 64 KB 8 KB 56 KB 0 KB
Contacts 30 56 KB 16 KB 40 KB 0 KB
Banners 0 0 KB 0 KB 0 KB 0 KB
Skins 2 16 KB 8 KB 8 KB 0 KB
Profile 3 48 KB 24 KB 24 KB 0 KB
aspnet_Users 10 48 KB 8 KB 40 KB 0 KB
EventQueue 10 32 KB 24 KB 8 KB 0 KB
DesktopModules 42 64 KB 16 KB 48 KB 0 KB
BonosoftLink 1 32 KB 24 KB 8 KB 0 KB
SearchCommonWords 369 32 KB 16 KB 16 KB 0 KB
aspnet_SchemaVersions 4 16 KB 8 KB 8 KB 0 KB
Users 9 32 KB 8 KB 24 KB 0 KB
PortalAlias 1 32 KB 8 KB 24 KB 0 KB
Lists 360 128 KB 56 KB 16 KB 56 KB
Roles 3 64 KB 8 KB 56 KB 0 KB
Documents 90 56 KB 16 KB 40 KB 0 KB
Version 6 32 KB 8 KB 24 KB 0 KB
Folders 45 32 KB 8 KB 24 KB 0 KB
TabModuleSettings 38 16 KB 8 KB 8 KB 0 KB
aspnet_Membership 10 32 KB 8 KB 24 KB 0 KB
RoleGroups 0 0 KB 0 KB 0 KB 0 KB
ScheduleHistory 191 712 KB 616 KB 16 KB 80 KB
Schedule 9 16 KB 8 KB 8 KB 0 KB
UserProfile 41 64 KB 24 KB 40 KB 0 KB
TabModules 70 48 KB 16 KB 32 KB 0 KB
UrlLog 127 16 KB 8 KB 8 KB 0 KB
SiteLog 4715 2320 KB 2224 KB 88 KB 8 KB
DocumentsSettings 13 16 KB 8 KB 8 KB 0 KB
VendorClassification 0 0 KB 0 KB 0 KB 0 KB
Forum_Forums 0 0 KB 0 KB 0 KB 0 KB
TabPermission 136 32 KB 8 KB 24 KB 0 KB
Forum_Groups 0 0 KB 0 KB 0 KB 0 KB
UserPortals 7 48 KB 8 KB 40 KB 0 KB
ModuleControls 154 88 KB 32 KB 56 KB 0 KB
FolderPermission 72 32 KB 8 KB 24 KB 0 KB
Modules 141 112 KB 72 KB 40 KB 0 KB
SearchItemWordPosition 2033 200 KB 144 KB 16 KB 40 KB
Forum_Posts 0 0 KB 0 KB 0 KB 0 KB
Classification 0 0 KB 0 KB 0 KB 0 KB
UsersOnline 0 16 KB 8 KB 8 KB 0 KB
SystemMessages 0 0 KB 0 KB 0 KB 0 KB
Forum_Threads 0 0 KB 0 KB 0 KB 0 KB
SearchItem 154 64 KB 32 KB 32 KB 0 KB
SearchIndexer 1 16 KB 8 KB 8 KB 0 KB
aspnet_Profile 0 0 KB 0 KB 0 KB 0 KB
Forum_Users 0 0 KB 0 KB 0 KB 0 KB
ModuleDefinitions 42 64 KB 8 KB 56 KB 0 KB
Files 160 176 KB 56 KB 64 KB 56 KB
SearchWord 1125 128 KB 48 KB 80 KB 0 KB
HostSettings 51 16 KB 8 KB 8 KB 0 KB
ProfilePropertyDefinition 38 64 KB 24 KB 40 KB 0 KB
Portals 1 32 KB 8 KB 24 KB 0 KB
Permission 6 32 KB 8 KB 24 KB 0 KB
AnonymousUsers 2 24 KB 8 KB 16 KB 0 KB
EventLog 327 3096 KB 2984 KB 16 KB 96 KB
aspnet_Roles 0 0 KB 0 KB 0 KB 0 KB
PortalDesktopModules 0 0 KB 0 KB 0 KB 0 KB
Tabs 65 72 KB 24 KB 48 KB 0 KB
Skins 2 16 KB 8 KB 8 KB 0 KB
aspnet_UsersInRoles 0 0 KB 0 KB 0 KB 0 KB
UserRoles 16 48 KB 8 KB 40 KB 0 KB
ModulePermission 157 32 KB 8 KB 24 KB 0 KB
Links 41 64 KB 24 KB 40 KB 0 KB
DesktopModules 42 64 KB 16 KB 48 KB 0 KB
ScheduleItemSettings 0 0 KB 0 KB 0 KB 0 KB
ODSFormItem 8 16 KB 8 KB 8 KB 0 KB
Vendors 0 0 KB 0 KB 0 KB 0 KB
test 0 0 KB 0 KB 0 KB 0 KB
Users 9 32 KB 8 KB 24 KB 0 KB
ODSFormSubmission 8 32 KB 24 KB 8 KB 0 KB
SearchItemWord 975 176 KB 80 KB 64 KB 32 KB
ModuleSettings 101 16 KB 8 KB 8 KB 0 KB

Looks quite normal to me. The site gets only 50 visitors a day, so... . What else could there be wrong? my hostingprovider doesn't know.

thx,

Thomas

 
New Post
4/30/2008 12:24 PM
 

Could it be that your database it set to use the Full Recorvery model? That can make the logs quite big...


Web applications, DNN websites, modules, skins and support
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Database sizeDatabase size


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