Products

Solutions

Resources

Partners

Community

About

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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoretable size of storetable size of store
Previous
 
Next
New Post
3/7/2008 1:20 PM
 

Hi,

My database is due some reason increased from 25 to 75 Mb
So i'am checking every table what the size is.
The table store_storecard is

name rows reserved data index_size unused
Store_Cart 10430 1672 KB 1520 KB 40 KB 112 KB

Is this the normal size ?
Can I emty this table ?

With regards, Ton Hermes


Art is hard work, inspiration is the cream on top of it. See my watercolors at www.watermansite.com and my enamel art at www.watermanshop.com
 
New Post
3/9/2008 7:38 PM
 

Hi Ton,

There is no 'normal' size for this table. That depends on the number of visitors who place products in their cart.

You can purge the Cart tables by using two SQL orders. Because these tables are used by the customers when they are on line, you must define which are the obsolete carts. Login as host and go to Host > SQL, for delete cart items older than 3 days, enter this SQL order in the text box:

DELETE FROM {databaseOwner}{objectQualifier}Store_CartItems WHERE DateCreated < DATEADD(day, -3, GETDATE())

check 'Run As Script' and click on 'Update'. Then, enter this other order for delete carts older than 3 days:

DELETE FROM {databaseOwner}{objectQualifier}Store_Cart WHERE DateCreated < DATEADD(day, -3, GETDATE())

check 'Run As Script' and click on 'Update'.

I think your database size problem is about the SQLServer log file instead the data file. Could you tell me which is the size of the log file?

Gilles


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
New Post
3/10/2008 12:00 PM
 

Hi Gilles,

I executed the scripts.
The database shrunk to 72Mb
After truncate the eventlog, schedulehistory and sitelog table, the database shrunk to 70Mb

There are other tables who has a lot of row.
Do you know it is safe to truncate them?
Or are the amount of rows normal.
Below you see the list of tables.

With regards, Ton Hermes

name   rows reserved data index_size unused
EventLog  689  3352 KB 2976 KB 152 KB 224 KB
ScheduleHistory 482  464  KB 312  KB 80  KB 72  KB
SiteLog  2983 2064 KB 1800 KB 104 KB 160 KB

syscolumns  4282  1680 KB 1104 KB 512 KB 64  KB
syscomments  1063  2696 KB 2584 KB 16  KB 96  KB
sysdepends  6273  1232 KB 616  KB 440 KB 176 KB
sysindexes  533   1168 KB 992  KB 16  KB 160 KB


Art is hard work, inspiration is the cream on top of it. See my watercolors at www.watermansite.com and my enamel art at www.watermanshop.com
 
New Post
3/11/2008 12:10 AM
 

Hi Ton,

You misunderstood my comment about the log file. I don't talk about DNN log tables, but about the SQL Server log file. When you create a database with SQL Server, two files are created: dbname_Data.mdf and dbname_Log.ldf. By default, those files are located inside: ..\Program Files\Microsoft SQL Server\MSSQL\Data.

Could you give me the size of both files? Can you access to your database with a tool like Enterprise Manager? I think that your problem is related to the database log file!

Gilles


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
New Post
3/13/2008 9:49 AM
 

Hi Gilles,

My site is hosted elsewhere,
On the server I can not find these two files.
I will ask my host to make a copy of these files.

Regards, Ton Hermes


Art is hard work, inspiration is the cream on top of it. See my watercolors at www.watermansite.com and my enamel art at www.watermanshop.com
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoretable size of storetable size of store


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