Forums / General / ezsession table size

ezsession table size

Author Message

Bruce Morrison

Tuesday 15 July 2003 7:42:10 pm

I was moving the data from a live database to the dev server to do some work and noticed that the database size was 75Mb. Further investigation revealed that the ezsession table was the main culprit at 54Mb.

The site gets about 30,000 hits per day. The session timeout is the default 3 days. All the entries have expiry times that fit within the 3 days so it looks to be working normally.

This site is using version 3.0.2 but has been upgraded from 3.0 RC2.

Is it normal for this table to be so large?
Does anyone have ezsession tables of a similar size?
In a regular site what are the sessions used for?

Cheers
Bruce
designIT

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Bruce Morrison

Tuesday 22 July 2003 12:21:17 am

Any one else have large ezsession tables?

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Bård Farstad

Tuesday 22 July 2003 1:25:48 am

Bruce, we have some large session tables. This does not cause any problems though, except taking up diskspace.

--bård

Documentation: http://ez.no/doc

Harry Oosterveen

Monday 19 January 2004 4:50:39 am

I'm not sure whether this is related to the size of the table, but I've had it twice in a few months that the ezsession table became corrupted. The fix is easy, if you have another installation from where you can export the table structure (e.g., using phpMyAdmin): drop the corrupted table and create a new one using the exported structure.

The problem of a corrupted ezsession table shows when you want to login: with a wrong password, you get the proper error message, but when you log in correctly, you will see the log in screen again, without any error messages.

eZ debug

Timing: Jan 18 2025 18:27:33
Script start
Timing: Jan 18 2025 18:27:33
Module start 'content'
Timing: Jan 18 2025 18:27:33
Module end 'content'
Timing: Jan 18 2025 18:27:34
Script end

Main resources:

Total runtime0.9743 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00010.0212 587.6016180.8516
Module start 'content' 0.02120.7685 768.4531599.4453
Module end 'content' 0.78980.1844 1,367.8984337.3906
Script end 0.9742  1,705.2891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00510.5225210.0002
Check MTime0.00170.1766210.0001
Mysql Total
Database connection0.00450.458710.0045
Mysqli_queries0.877690.07351990.0044
Looping result0.00230.23791970.0000
Template Total0.908293.220.4541
Template load0.00200.209620.0010
Template processing0.906293.011520.4531
Template load and register function0.00010.011910.0001
states
state_id_array0.00800.823110.0080
state_identifier_array0.00180.189920.0009
Override
Cache load0.00170.1729240.0001
Sytem overhead
Fetch class attribute can translate value0.00180.186440.0005
Fetch class attribute name0.00160.168770.0002
XML
Image XML parsing0.00210.220140.0005
class_abstraction
Instantiating content class attribute0.00000.001980.0000
General
dbfile0.00991.0111390.0003
String conversion0.00010.007530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs