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 ...4Gig databse cleanup help.4Gig databse cleanup help.
Previous
 
Next
New Post
10/14/2008 1:23 PM
 

Hello everyone.

Been along time since ive been around these forums, but after a long away on trips and works around the world im about to startup a gaming community that was alive with over 2000 active registered members and  about 30 000 players about 9months agoo. The gaming servers got hacked (8 CounterStrike Source servers and 2 Ranking/stats servers)in a sensetive moment when the organization was in the midle of changing the management group, and after the servers got hacked there was simply no one who had the time nor the skills and power to reinstall everything etc.

The community fell into a big sleep. :(

Anyway people are asking and we even have some new sponsors at our doorstep now who wants us to get back online.

Unfortunally im the only one left of the original webdeveloping team, and i was never the database or programming dude, i only took care of the design and media on the site, as my skills in programming and Database knowhow ends at the HTML level.

i know my way around DoTNetNuke pritty well but the hardcore coding behind it is way above my level.

Anyway sry for blabering like this.

I have a big problem now. When i enter the site i get this error msg:

File  
Error   Could not allocate space for object 'dbo.EventLog'.'PK_EventLogMaster' in database 'Swestrike435' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.


 

I understand that the databse is full and i have checked the size and it is about 4GB in size (4000MB).
We are using a dedicated server on brinkster and as i understand "SQL Server Express" as the limit seems to be just 4GB.

I have tried and go into the hosting settings and switch of the databse loging and set the event log to only save 10days of logs.
After i did this i noticed the site runs alitle faster but still wery slow, 20-30sec for each page load and sometimes even moore.

I went ahead and starting to delete some modules that i thought could be the reason why the site was so slow and then alll of a sudden i get this error msg
above and now i cant even log in.

How can i cleanup the database? and with what?
and isnt 4GB really big?? i mean shouldent it only keep some small Text data?

Remember my skills in SQL is really limited i dont know any commands.
The program i use to check the size of the database is called: SQL server Management Studio Express CTP

sry for my english and blabbering. :)

Thank you.

/Rickard

Sweden

 
New Post
10/14/2008 2:16 PM
 

Rickard,

Most likely you have a lot of bloating in the EventLog and SiteLog tables. 

You can truncate the Event log using

TRUNCATE TABLE EventLog

You can truncate the site log using

TRUNCATE TABLE SiteLog

Note, that if you are using the site log, this will remove all entries.

If you still need help, drop me an e-mail msellers@iowacomputergurus.com  (Forums notifications are not working so I often miss replies here)


-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
10/14/2008 2:37 PM
 

Thank you so much.

i used the Query thingy in the SQL program and put in the
truncates for both EventLog and SiteLog. and here are the results. :)

Before the truncates command.

Database info:
Name__________xxxxx
Status__________Normal
Owner__________xx
DateCreated_____2005
Size____________4301.00MB
Space available___0000.09MB

After the truncate command:

Database info:
Name__________xxxxx
Status__________Normal
Owner__________xx
DateCreated_____2005
Size____________4301.00MB
Space available___3554.55MB

Does this mean that i have deleted 3.5GB of logs?

The site is now accesible again, thank you. but its still really slow to go araound on the site. i read araound that this could be due to old version of DNN i think we are using 3.4 or something like that.

ill contact you thru your website contact form if you dont mind.

thnx again.

/Rickard
Sweden

 
New Post
10/15/2008 11:23 AM
 

I answered this for Rickard via e-mail, but for the benefit of others, yes, this shows a reduction in db size by 3554.55MB.

With this much loss I would recommend uing DBCC SHRINKDATABASE(DatabaseName) to reduce the size of the databse.


-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
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...4Gig databse cleanup help.4Gig databse cleanup help.


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