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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...My database keeps on growing and i cannot control it.My database keeps on growing and i cannot control it.
Previous
 
Next
New Post
10/31/2008 4:32 AM
 

Dear DNN users hi.

My portal has only 9 pages, i have disabled and cleared sitelog, eventviewer and shedulehistory.

The only thing that i have enabled in Shedules is the purgusers online because i want the usage of the Users Online module.

I have exequted the following SQL querries.

truncate table EventLog
truncate table ScheduleHistory
truncate table SiteLog go

And after that

DBCC SHRINKDATABASE (markdesign) ;
sp_spaceused

Here are the screenshots


11088;!!! I have only 9 pages in one portal. And the UsedPAges grows all the time!
Sometimes it shows me two FileIDs like 1 and 2 with different characteristics. It seems to me like the 1 is smaller in characteristics.
Is this normal;



The database_size KEEPS ON growing! Without adding anything.

Please help me. I' m desperate.

I have done so much work for this site and i do not want to bring it down...

I have hosting problems.

For your information the DNN version i am using is 4.8.4 and i performed a clean installation in PLESK 7.6.1.
I created the database through the PLESK environment.

Bye and thank you ALL.







 

 
New Post
10/31/2008 8:24 AM
 

Try doing a full backup and then running the shrink database. If the hosting company is running a full recovery model on your database the trasaction logs are still being stroed and can't be purged until you complete a full backup.

If that doesn't work ask the hosting company to purge your transaction logs for you.

I'm not sure why its growing out of control but have a look and the log viewer and see what event it was making there and what errors were occouring.

I also found this which may be of use to you to solve this:http://www.codeproject.com/KB/database/ClearTransactionLog.aspx

John


John Nicholson
 
New Post
10/31/2008 10:32 AM
 

John thank you very much for your reply.

This is what i did and my database finaly became 9 MB in size!

I ran this SQL qery:

BACKUP LOG db_Name WITH TRUNCATE_ONLY
TRUNCATE TABLE eventlog
TRUNCATE TABLE sitelog
DBCC SHRINKDATABASE (db_Name);

After that i ran

sp_spaceused

and

select * from sysfiles

The result was to have a MUCH smaller in size database.

I also noticed that (before clearing and custimizing the event viewer) the event viewer was FULL of exception cause of a module i had installed.

That' s all.

Thanks again.


I will also look at the link you gave me.

 
New Post
10/31/2008 12:14 PM
 

Wish my database would grow :-<

5 sites, logging everything possible, and the thing is still tiny :-<....guess I better work on marketing more haha

 


Josh Martin

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...My database keeps on growing and i cannot control it.My database keeps on growing and i cannot control it.


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