urgent help needed: mass user prune

Author Message

Dimitar Christoff

Monday 06 November 2006 6:15:57 am

Hey there...

i go a system that got populated with almost 100k users (to test load/concept) that now needs to get them dropped. the problem is that deleting them 1 by 1 via the eZContentObjectTreeNode::removeSubTrees seems to be taking toooooo long, I have an ETa of 24 hrs remaining at a rate of a little over 1 per second....

can anybody think of a quick and dirty way of deleting all objects and attributes via mysql, for example, there are no related objects to these users...

otherwise i'd have to wait it out ... thanks

VisionWT

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 18 2025 22:23:07
Script start
Timing: Jan 18 2025 22:23:07
Module start 'layout'
Timing: Jan 18 2025 22:23:07
Module start 'content'
Timing: Jan 18 2025 22:23:07
Module end 'content'
Timing: Jan 18 2025 22:23:07
Script end

Main resources:

Total runtime0.0195 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0088 589.0469152.6250
Module start 'layout' 0.00890.0047 741.671939.4453
Module start 'content' 0.01360.0042 781.117285.1016
Module end 'content' 0.01770.0018 866.218830.3047
Script end 0.0195  896.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003316.7912140.0002
Check MTime0.00157.8354140.0001
Mysql Total
Database connection0.00094.704910.0009
Mysqli_queries0.004321.934230.0014
Looping result0.00000.076910.0000
Template Total0.00147.310.0014
Template load0.00084.341210.0008
Template processing0.00062.974310.0006
Override
Cache load0.00062.866910.0006
General
dbfile0.00052.339680.0001
String conversion0.00000.087940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs