Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 06BA810BBC for ; Tue, 1 Apr 2014 11:32:20 +0000 (UTC) Received: (qmail 31870 invoked by uid 500); 1 Apr 2014 11:32:19 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 31673 invoked by uid 500); 1 Apr 2014 11:32:18 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 31642 invoked by uid 500); 1 Apr 2014 11:32:16 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 31637 invoked by uid 99); 1 Apr 2014 11:32:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2014 11:32:16 +0000 Date: Tue, 1 Apr 2014 11:32:16 +0000 (UTC) From: "Andreas Fuchs (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-6318) Cloudstack upgrade takes long time on big cloud_usage databases MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Andreas Fuchs created CLOUDSTACK-6318: ----------------------------------------- Summary: Cloudstack upgrade takes long time on big cloud_usage databases Key: CLOUDSTACK-6318 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6318 Project: CloudStack Issue Type: Improvement Security Level: Public (Anyone can view this level - this is the default.) Components: Install and Setup Affects Versions: 4.2.0 Reporter: Andreas Fuchs Priority: Minor Fix For: Future when updating cloudstack on an environement which is already running for a certain time and has a bigger ammount of instances cloud_usage db will become quite big. in this situaion the schema updates for the databases can take quite a long time, during this time cloudstack management is offline. proposal: cloudstack-managent does only schema updates on cloud db cloudstack-usage does the scema updates on cloud_usage this way cloudstack-management will be back online after the update much quicker and only dependant of the size of cloud db cloud-usage might take longer to update, but is in most of the installation not that critical -- This message was sent by Atlassian JIRA (v6.2#6252)