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 ...SQL Database grows to max size 10GB cant use DNNSQL Database grows to max size 10GB cant use DNN
Previous
 
Next
New Post
7/11/2012 7:41 PM
 

I had an issue where the max DB size was too small 4GB due to using sql 2005 express so i read up and found 2008 has 10GB.  So I upgraded to 2008 R2 and then the DB size instantly grew to 10GB overnight.  Not sure if it is error logs building up or what.  I changed the password to a harder one and tried to make the initial size smaller but still goes to 10GB, tried to shrink no luck.  I am about to reinstall most all other DB's with DNN running are only 60 megabytes.  I would not think this one would be more than 100mb so why is it so HUGE?  I never had a problem until after updating to 6.2.  I am not saying 6.2 is the problem but it is very strange this problem has accured.

 

Could not allocate space for object 'dbo.dnn_EventLog'.'PK_dnn_EventLogMaster' in database 'Dnndb' because the 'PRIMARY' filegroup is full.

I have been getting this error which causes the problems but my medaling with the DB may have buggered it up even more.

I cant even access the website now... site down.  Please help.

Thank you.

 
New Post
7/11/2012 8:40 PM
 

Are your logs filling up? Try shrinking the db and files.

Also you can use this query to find out what tables are the largest

USE DatabaseName
GO
CREATE TABLE #temp (
table_name sysname ,
row_count INT,
reserved_size VARCHAR(50),
data_size VARCHAR(50),
index_size VARCHAR(50),
unused_size VARCHAR(50))
SET NOCOUNT ON
INSERT #temp
EXEC sp_msforeachtable 'sp_spaceused ''?'''
SELECT a.table_name,
a.row_count,
COUNT(*) AS col_count,
a.data_size
FROM #temp a
INNER JOIN information_schema.columns b
ON a.table_name collate database_default
= b.table_name collate database_default
GROUP BY a.table_name, a.row_count, a.data_size
ORDER BY CAST(REPLACE(a.data_size, ' KB', '') AS integer) DESC

DROP TABLE #temp

 
New Post
7/12/2012 12:08 AM
 
You should also cleaning the eventlog table from time to time.  If you don't do this your database spaces crowed up and you lose performence. 10Gb restictions are only for the express versions. 
 
New Post
7/12/2012 9:41 AM
 

Here are some dnn sql performance scripts that you can run. http://mndnn.com/Blog/tabid/63/ID/18/...

 

 
New Post
7/12/2012 2:34 PM
 

Great thanks for the help. It must be event logs filling up in DNN because the SQL log is fine and small. The db file is what is expanding. Yes I am using express and I know of the limitations but for the DB to go from maybe 200mb to 4GB is odd and then for the DB to go from 4GB to10 GB in a day or two is even odder... thats a hell of a lot of events being logged. Its more like a SQL injection or something filling up the DB. It feels more like a bug or an attach on the database.

I have tried to shrink the db but it does not effect the size at all.

I will run a few tests as you all described I appreciate your help and concern.

Thank you.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...SQL Database grows to max size 10GB cant use DNNSQL Database grows to max size 10GB cant use DNN


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