Active
Project:
Node Comments
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Jan 2012 at 10:10 UTC
Updated:
16 Nov 2012 at 12:46 UTC
cache build so quickly and become huge table especially cache_views_data. Example- database size:
Before clearing cache: 1.0GB (of that 618.2 MiB for cache_views_data)
After clearing cache : 339.1 MiB
Views version is 6.x-2.12, Drupal Pressflow 6.20.
Any thoughts?
Comments
Comment #1
dawehnerOn what views do you have setup views caching?
Comment #2
tcibah commentedView: Nodecomment, Caching: Nodecomment thread
Entries of cache_views_data table are like:
nodecomments:nodecomment_comments_1:results
nodecomments:nodecomment_comments_1:output
Comment #3
dawehnerLet's move to nodecomment first.
Maybe it's a problem of it's cache plugin implementation. How many nodes do you have on your sites?
It could be that one entry per node is created and so quite big.
This small code should use option_defintion instead of option_defaults.
Comment #4
tcibah commentedThanks for your very responsive support.
Node_comment nodes: 34,884 growing rapidly
All node inclusive of node_comment: 65,768
Yes. File nodecomment/views/nodecomment_plugin_cache_comments.inc has that code;
class nodecomment_plugin_cache_comments extends views_plugin_cache {
function option_defaults(&$options) {
$options['argument'] = '';
Are you saying we change:
function option_defaults(&$options) {
to
function option_defintion (&$options) {
Comment #5
crea commentedhow many nodes (that have comments) do you have ?