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 ...Error when attempting to add new PortalError when attempting to add new Portal
Previous
 
Next
New Post
3/8/2013 10:32 AM
 
Michael,

I am in the US. Please reach out to me via email at rick@midatc.com and we'll figure out how best to communicate.

Thanks
 
New Post
3/8/2013 12:00 PM
 
And yet another question.

Which SQL commands can be ran to see which tables are consuming the “most” space. This may provide some info to know for sure if it’s a module if the big table is not part of the DNN core.

Thanks
 
New Post
3/8/2013 12:51 PM
 

Rick,

this should do:

DECLARE @tableInfo TABLE (
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
@tableInfo EXEC sp_msforeachtable 'sp_spaceused ''?'''
SELECT
t.table_name,
t.row_count 'Total Rows',
COUNT(*) as 'Total Columns',
CAST(REPLACE(t.data_size, ' KB', '') as integer) 'Data Size (Kb)'
FROM
@tableInfo t INNER JOIN information_schema.columns c ON t.table_name COLLATE database_default = c.table_name COLLATE database_default
GROUP BY
t.table_name,
t.row_count,
t.data_size
ORDER BY
CAST(REPLACE(t.data_size, ' KB', '') AS int) DESC
GO

I guess the largest one is EventLog, which you can easily truncate by

TRUNCATE TABLE {databaseOwner}{objectQualifier}ScheduleHistory
TRUNCATE TABLE {databaseOwner}{objectQualifier}Eventlog
TRUNCATE TABLE {databaseOwner}{objectQualifier}Sitelog

(see Geoff Barlow's answer in the Community Exchange)

Best wishes
Michael


Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
3/8/2013 9:25 PM
 
Michael,

Here's a followup to your very useful information you provided earlier today

I was able to truncate the table "searchwordindex" and the DB went from 4GB to 27MB. WOW !!!

My question for you is, what exactly is this? I can not seem to find any information on this table. Where did it come from? How do I stop it from happening again?

I am trying to figure out whether this came from a module, a bug in DNN 6.2.5, really just seeking information as to how to avoid this in the future.

Thoughts?

Rick
 
New Post
3/11/2013 4:14 AM
 

Rick,

the "SearchWordIndex" table is part of the Internal (DNN) search mechanism. If you do not offer search from your skin, you may also turn that off under Host :: Schedules.

Anyway: I guess that the process hung at some stage so it didn't stop filling your table with data. After truncting These tables (see here) the Problem might have gone.

Best wishes
Michael

 

Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Error when attempting to add new PortalError when attempting to add new Portal


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