Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 73556 invoked from network); 7 Aug 2009 12:46:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Aug 2009 12:46:32 -0000 Received: (qmail 71088 invoked by uid 500); 7 Aug 2009 12:46:39 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 70993 invoked by uid 500); 7 Aug 2009 12:46:39 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 70985 invoked by uid 99); 7 Aug 2009 12:46:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2009 12:46:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2009 12:46:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C7181234C044 for ; Fri, 7 Aug 2009 05:46:14 -0700 (PDT) Message-ID: <1522864618.1249649174800.JavaMail.jira@brutus> Date: Fri, 7 Aug 2009 05:46:14 -0700 (PDT) From: "Stefan Guggisberg (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-1435) Choose the MySQL engine for database storage (default to MyISAM) In-Reply-To: <754675631.1204196391105.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1435?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D127405= 29#action_12740529 ]=20 Stefan Guggisberg commented on JCR-1435: ---------------------------------------- > This will work but you need to duplicate the mysql.ddl and therefore main= tain it on your own, even if there is a small chance it will change over ti= me because it will imply a migration process. OTOH, IIUC with the proposed patch it's not possible anymore to implicitly = use the default engine, e.g. overriden in my.cnf. > Another thing is that the default table engine is often MyISAM and this e= ngine is not supported in a cluster config. > Indeed, there will be no RDBMS locking involved when accessing the journa= l table and data integrity will not be enforced. in which case you'd have to specify a different engine in my.cnf. > Choose the MySQL engine for database storage (default to MyISAM) > ---------------------------------------------------------------- > > Key: JCR-1435 > URL: https://issues.apache.org/jira/browse/JCR-1435 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-core > Affects Versions: core 1.4.1 > Environment: MySQL with NDB Cluster engine > Reporter: S=C3=A9bastien Launay > Attachments: jackrabbit-1.4.x-mysql-engine-2008-04-28.patch, jack= rabbit-1.4.x-mysql-engine.patch, jackrabbit-trunk-mysql-engine-2008-04-28.p= atch, jackrabbit-trunk-mysql-engine.patch > > > The MySQL scripts embedded into Jackrabbit does not specify the engine to= use. > So by default MyISAM is used and we cannot change this. > But, depending on the environment we may want to use an alternate engine = like > InnoDB (for transaction support) or in my case NDB Cluster (for high avai= lability). > We can still manually created the tables and then set the wanted engine, = but it would > be better if there was a parameter for the engine for component in the re= pository.xml > for automatic table creation. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.