Update on-line database - replication ?

Author Message

Alexandre Cunha

Monday 17 April 2006 4:37:51 am

Hi,

Im not sure if mysql replication is the solution for my problem. Need your advice.

This is my scenario:

site A - Online site on a shared hosting service. Using mysql 4.0.25 and ezpublish 3.7.4. This site is only updated my surfers with coments and forum messages.
site B - The developement and publishing machine with mysql 4.1.13 and ezpublish 3.7.4. This site is updated only by publishers.

I use rsync to update changes from B to A (design, settings and stored images).

Every week I need update any content changes and new articles (database related) from B to A. I want run a script to do this.

Is replication solution for this, or have a more simple solution ?
What are your sugestions ?
Thanks,

axel

http://AlexandreCunha.com

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 19:29:51
Script start
Timing: Jan 18 2025 19:29:51
Module start 'layout'
Timing: Jan 18 2025 19:29:51
Module start 'content'
Timing: Jan 18 2025 19:29:52
Module end 'content'
Timing: Jan 18 2025 19:29:52
Script end

Main resources:

Total runtime0.7323 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0111 588.0391152.6406
Module start 'layout' 0.01110.0029 740.679739.4766
Module start 'content' 0.01400.7169 780.1563429.9063
Module end 'content' 0.73090.0014 1,210.06258.1406
Script end 0.7323  1,218.2031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4452160.0002
Check MTime0.00130.1840160.0001
Mysql Total
Database connection0.00130.182610.0013
Mysqli_queries0.689394.1240460.0150
Looping result0.00040.0525440.0000
Template Total0.689494.120.3447
Template load0.00170.227020.0008
Template processing0.687793.911720.3439
Template load and register function0.00020.021310.0002
states
state_id_array0.00200.275410.0020
state_identifier_array0.00090.119620.0004
Override
Cache load0.00130.1770140.0001
Sytem overhead
Fetch class attribute can translate value0.00040.061010.0004
Fetch class attribute name0.00050.070310.0005
XML
Image XML parsing0.00010.014110.0001
class_abstraction
Instantiating content class attribute0.00000.000710.0000
General
dbfile0.00060.0831100.0001
String conversion0.00000.000940.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/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: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs