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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 21:47:47
Script start
Timing: Jan 30 2025 21:47:47
Module start 'layout'
Timing: Jan 30 2025 21:47:47
Module start 'content'
Timing: Jan 30 2025 21:47:48
Module end 'content'
Timing: Jan 30 2025 21:47:48
Script end

Main resources:

Total runtime1.1204 sec
Peak memory usage8,192.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.0078151.1953
Module start 'layout' 0.00500.0036 739.2031220.6719
Module start 'content' 0.00861.1110 959.87504,501.8438
Module end 'content' 1.11960.0008 5,461.718811.8750
Script end 1.1204  5,473.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3177160.0002
Check MTime0.00130.1178160.0001
Mysql Total
Database connection0.00070.061810.0007
Mysqli_queries1.039992.8154620.0168
Looping result0.00050.0459600.0000
Template Total1.068595.420.5343
Template load0.00220.198320.0011
Template processing1.066395.170920.5332
Template load and register function0.00090.084610.0009
states
state_id_array0.00150.135810.0015
state_identifier_array0.00100.091520.0005
Override
Cache load0.00190.1703240.0001
Sytem overhead
Fetch class attribute can translate value0.00130.117230.0004
Fetch class attribute name0.00250.220570.0004
XML
Image XML parsing0.00260.233130.0009
class_abstraction
Instantiating content class attribute0.00000.001680.0000
General
dbfile0.00220.1982280.0001
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs