MySql Community in production
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2009 05:24 AM
I would like to know if it's realistic to use MySql Community with Alfresco in production in a little-middle enterprise with 15-30 people ?
It's difficult to me to estimate the number of documents… but for an enterprise having people working in office.
MySql is able to do HotBackup and it is use by a lot of corporations.
Could someone help me to know from how much volume (people or number of documents) it's better to start with another DB like MsSql or Oracle, … ? (approximately of course…)
Thanks
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2009 08:53 AM
mysql is stable enough that it will not brake down on you, I dare to say. With your setting, the problem will probably be more of a server breakdown, deleting accidentally or having a virus/trojan savage your systems. I'd say,invest in backup/restore, desaster recovery and security awareness first.
Norgan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2009 10:42 AM
Thank you Norgan.
Has someone a good tutorials for the maintenance of this Mysql community (tasks to do to keep performance (like a command to lauch each week), backup …)
There is documentation here : http://dev.mysql.com/doc/refman/5.0/en/index.html but I would like advices from Alfresco administrators.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-15-2009 03:28 AM
I will do an installation with MySql and Linux (Centos 5.4). I would like to set a backup (restore) procedure but I have some questions.
- Does exist a way to do hot backup without a expensive tool ? (I saw there is mysqlhotcopy (but just for engine tables MyIsam or Archive and Alfresco tables use InnoDB : http://dev.mysql.com/doc/refman/5.0/en/innodb-backup.html . Has someone a script to run with cron to do Alfresco Backup) ?
Do you have some information like tutorial for the maintenance of this Mysql with Linux ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2010 07:42 AM
Hotbackup seems working fine like this :
Alfresco runningmysqldump -u alfresco -palfresco alfresco –opt –single-transaction –create-options > backupFile.sqlCopy alf_data‍‍‍
And to restore
Alfresco stopmysql -ualfresco -palfresco alfresco < backupFile.sqlcopy alf_dataBackup, remove lucene-indexes, mv backup-lucene-indexes in lucene-indexes‍‍‍

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2010 04:47 AM
I saw your post and tried to do the same, But had a problem to restore according to your instructions
As when stopping alfresco also the mysql server is stopped the command "mysql -ualfresco -palfresco alfresco < backupFile.sql " fails and prompts the following error: ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
Do you know what I should do in order to make it work ?
Thenks
Hagit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2010 05:00 AM
I am not sure to have all understand…
As when stopping alfresco also the mysql server is stopped….Before doing the mysql restore, mysql must running. After that you can execute the command.
Can you do this ?
(start mysql)mysql -ualfresco -palfresco alfrescoshow tables;‍‍‍‍

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2010 05:57 AM
I never start or stop mysql independently from alfresco. When I start alfresco MySQL is started automaticaly and when I stop alfresco MYSQL is stopped automatically, So I do not know what I should do to start MySQL ? Which command should I use to run it ?
Hagit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2010 06:09 AM
suservice mysqld start‍‍‍‍
If you are on Windows, you can look at the alfresco bat file (that you use to start Alfresco)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2010 06:43 AM
I am on windows so I copyied the command from alfresco.bat and then I have restored the database.
Thanks again
Hagit
