Update on-line database - replication ?

Author Message

Alexandre Cunha

Monday 17 April 2006 6:03:13 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

Gabriel Ambuehl

Monday 17 April 2006 6:59:50 am

I don't think MySQL replication can even be setup without root access to the database server, so that's probably not very feasible.

Visit http://triligon.org

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 19 2025 04:29:59
Script start
Timing: Jan 19 2025 04:29:59
Module start 'layout'
Timing: Jan 19 2025 04:29:59
Module start 'content'
Timing: Jan 19 2025 04:30:00
Module end 'content'
Timing: Jan 19 2025 04:30:00
Script end

Main resources:

Total runtime0.9042 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0092 589.2734152.6406
Module start 'layout' 0.00920.0041 741.914139.4609
Module start 'content' 0.01320.8894 781.3750487.1094
Module end 'content' 0.90260.0015 1,268.48448.1563
Script end 0.9041  1,276.6406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3897160.0002
Check MTime0.00140.1565160.0001
Mysql Total
Database connection0.00120.134010.0012
Mysqli_queries0.858394.9251540.0159
Looping result0.00060.0652520.0000
Template Total0.864795.620.4323
Template load0.00230.255320.0012
Template processing0.862395.375920.4312
Template load and register function0.00030.031310.0003
states
state_id_array0.00070.080610.0007
state_identifier_array0.00130.144220.0007
Override
Cache load0.00180.1944160.0001
Sytem overhead
Fetch class attribute can translate value0.00070.079220.0004
Fetch class attribute name0.00230.249720.0011
XML
Image XML parsing0.00040.042720.0002
class_abstraction
Instantiating content class attribute0.00000.001020.0000
General
dbfile0.00070.0772100.0001
String conversion0.00000.001040.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/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: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs