Welcome, Guest
Username Password: Remember me

jos_TeraWurflCache 200Mb db!
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: jos_TeraWurflCache 200Mb db!

jos_TeraWurflCache 200Mb db! 13 years, 11 months ago #686

  • theant
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 0
Hi
I'm testing mobilejoomla on this site: m.mbnews.it
I'm working on template and other, but this morning looking at db I just discovered that jos_TeraWurflCache table is about 200Mb, is this correct?
the jos_content db is less than 50 Mb.

Joomla 1.5.22 on a dedicated server, mobilejoomla 0.9.8 caching global

jos_TeraWurflCache 200Mb db! 13 years, 11 months ago #2739

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
theant wrote:
I'm working on template and other, but this morning looking at db I just discovered that jos_TeraWurflCache table is about 200Mb, is this correct?


The size of jos_TeraWurflCache depends on how many different devices visit your site.
You can query "TRUNCATE TABLE jos_TeraWurflCache;" sometimes to drop the table data.
Also you can disable caching in TeraWURFL by setting
	public static $CACHE_ENABLE = false;

in plugins/mobile/terawurfl/TeraWurflConfig.php (but in this case getting device capabilities will take more time).

jos_TeraWurflCache 200Mb db! 13 years, 11 months ago #2740

  • theant
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 0
More than 13.000 different devices?

Re: jos_TeraWurflCache 200Mb db! 13 years, 5 months ago #4478

  • jrroger
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
Could you give me the structure of that table because the script at installing the component didn't created it.

Re: jos_TeraWurflCache 200Mb db! 13 years, 5 months ago #4504

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
TeraWURFL creates jos_TeraWurflCache automatically at first usage.

Re: jos_TeraWurflCache 200Mb db! 13 years, 5 months ago #4511

  • jrroger
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
It didn't created it, but I:

1..- Installed a standalone Joomla site on my desktop
2.- Install the mobile Joomla Component
3.- Verify is everything was ok (it was)
4.- Install the mobile joomla on my "alive" site
5.- backed up the tables from mobile joomla in the database of my stand alone installation (with drop option, thanks to phpmyadmin)
6.- Restored table from my database in "alive" site
7.- Restart S.O. (I have Windows... so the habit LOL)
8.- Run the site on my Android 2.2
9.- Check error_log in site, and behavior of tables (nothing weird found).
10.- ¡Good job pal!

This is some one else wants to try in that way, it is not the best, but mobile joomla is great and I won't lose the opportunity to use it. Thanks developers

Re: jos_TeraWurflCache 200Mb db! 13 years, 5 months ago #4512

  • jrroger
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
Now I'll try to create my CRON JOB to tuncrate jos_TeraWurflCache by calling a php file with the enough information for it, wish me look since I and a super noob

I'll post it later along the day =)

Re: jos_TeraWurflCache 200Mb db! 13 years, 4 months ago #4694

Yeah this TeraWurflCache problem is unacceptable. Our cache table is more than 30,000 rows —almost 500 MB and even with bzip2 we can't get the database down to a reasonable size to import over phpmyadmin. TRUNCATE seems to be the only solution but there must be a more elegant solution. Also, all the Tera tables are in the joomla root, duplicated with mixed case and lowercase-named tables. Which are the proper tables to keep?
Last Edit: 13 years, 4 months ago by portofsandiego. Reason: Chrome doesn't do anything when I try to attach a screenshot
  • Page:
  • 1
Time to create page: 0.12 seconds

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.