Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 469D1200CDF for ; Wed, 26 Jul 2017 00:42:38 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 44E99167AE6; Tue, 25 Jul 2017 22:42:38 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 63049167AE2 for ; Wed, 26 Jul 2017 00:42:37 +0200 (CEST) Received: (qmail 87559 invoked by uid 500); 25 Jul 2017 22:42:35 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 87549 invoked by uid 99); 25 Jul 2017 22:42:35 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jul 2017 22:42:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 2029FC02A9 for ; Tue, 25 Jul 2017 22:42:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.979 X-Spam-Level: ** X-Spam-Status: No, score=2.979 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=sabaltech-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id TGp38ftVfU-8 for ; Tue, 25 Jul 2017 22:42:33 +0000 (UTC) Received: from mail-vk0-f54.google.com (mail-vk0-f54.google.com [209.85.213.54]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 611015F6BE for ; Tue, 25 Jul 2017 22:42:33 +0000 (UTC) Received: by mail-vk0-f54.google.com with SMTP id f68so13902990vkg.2 for ; Tue, 25 Jul 2017 15:42:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sabaltech-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:mime-version:subject:date:references:to:in-reply-to; bh=nF4xQSwVOXpCUFp8Asod4ac7W1q49w2kXd9zrqH14yY=; b=CNLp9pZMRY/ETeO+HyUz93o7OzJtOSKOEJeHdbZocaurpCm8XUc95AxU4l6JFEGFIs cjQZVyPD7L4uohxD6bTUVe0tVKlvYICx61S7Bq75DuyPBnz4do/YXx5vMPbGfZMAL8Wf wMqIGkheVIz3eR0AJlcfW2DZT+uLUIEh/BWClS0ILCjAEFuu1LNgaodeTSbo+B1ZmqTF cvx8lSi7t5SXkh01EV2pjYHShUoXQMJ8MizczrW3uJk/VMt5lnaGHm6ugkoSl61qq1EN G1Dey2qibc1K7ra1sNx/A2fT3+/YBoA4nPe/ibtz0URnqeZg+x5MT7R03uS4LLk3OIyX 8Xig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :references:to:in-reply-to; bh=nF4xQSwVOXpCUFp8Asod4ac7W1q49w2kXd9zrqH14yY=; b=IhwmkWwO5iLOg36cD6WZoL5zCufjFNL3HQeSmzH+lhTbpjYuWLWOq6Mem1Qd64X8Zb ia0nEQTED/EbDMRFx7ANQ6/JkdOCxEWiNcDsrEHxEjby7cnlowltOPENfERcOB9Awijx zKZxU0oKUTutYsC/dW+c3pMjly3oJIhpBAHJy7TPSLEbKMZ4QaUYGBbGV2+UyMCS7y5o bGYb9+3jPo0WNMN2MZ26WTTDnTyff76rllvLDcC7cGR2dHiMBBRveTflyrxXjIYieWZU DR7bSaysoPTRot5fGdQ1DCiPQcDd/jsKCiJJitPHKZC0DouvllqhAK+MTy3sNUUDZQZM 1Y8w== X-Gm-Message-State: AIVw1122doQDc/j65jchJR5uIV70Q/F8EIYESJ0bGSPtNIDmvi3PNDRL LqsBBMV/mGgZLY3nT2lH6A== X-Received: by 10.31.232.7 with SMTP id f7mr12330438vkh.32.1501022552817; Tue, 25 Jul 2017 15:42:32 -0700 (PDT) Received: from [172.29.2.33] ([162.251.178.28]) by smtp.gmail.com with ESMTPSA id t141sm3417427vke.1.2017.07.25.15.42.32 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Jul 2017 15:42:32 -0700 (PDT) From: Boris Iordanov Content-Type: multipart/alternative; boundary="Apple-Mail=_EB081DA9-EBE7-4118-8B72-A792C99C085E" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Subject: Re: performance penalty of add column in CQL3 Date: Tue, 25 Jul 2017 18:42:31 -0400 References: To: user@cassandra.apache.org In-Reply-To: X-Mailer: Apple Mail (2.2102) archived-at: Tue, 25 Jul 2017 22:42:38 -0000 --Apple-Mail=_EB081DA9-EBE7-4118-8B72-A792C99C085E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 No, I hadn=E2=80=99t, thanks much for pointing it out! The take away for me is then that such an update should be done offline. = In that case, a schema change would be safe and relatively efficient = (wouldn=E2=80=99t take hours). If that assumption is wrong, could = anybody let me know? Thanks much, Boris > On Jul 25, 2017, at 5:28 PM, Fay Hou [Storage Service] =C2=AD = wrote: >=20 > are you aware this ticket? > https://issues.apache.org/jira/browse/CASSANDRA-13004 = >=20 > On Tue, Jul 25, 2017 at 1:23 PM, Boris Iordanov = > wrote: > Hi, >=20 > Is "alter table t add column..." an expensive operation? For example, = if it's something to be triggered at an admin level of an application = (i.e. not frequently), is it ok? It won=E2=80=99t trigger rewriting all = the data, right? >=20 > My goal is not to have super wide tables, I know that=E2=80=99s not = the practice with CQL3, but I still want to be able to add a column = occasionally to a potentially big data set without a huge penalty. What = are the gothas? >=20 > Thanks! > Boris > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org = > For additional commands, e-mail: user-help@cassandra.apache.org = >=20 >=20 --Apple-Mail=_EB081DA9-EBE7-4118-8B72-A792C99C085E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 No, I hadn=E2=80=99t, thanks much for pointing it out!

The take away for me is = then that such an update should be done offline. In that case, a schema = change would be safe and relatively efficient (wouldn=E2=80=99t take = hours). If that assumption is wrong, could anybody let me = know?

Thanks = much,
Boris

On = Jul 25, 2017, at 5:28 PM, Fay Hou [Storage Service] =C2=AD <fayhou@coupang.com> = wrote:


On Tue, Jul 25, 2017 at 1:23 PM, Boris Iordanov = <biordanov@sabaltech.com> wrote:
Hi,

Is "alter table t add column..." an expensive operation? For example, if = it's something to be triggered at an admin level of an application (i.e. = not frequently), is it ok? It won=E2=80=99t trigger rewriting all the = data, right?

My goal is not to have super wide tables, I know that=E2=80=99s not the = practice with CQL3, but I still want to be able to add a column = occasionally to a potentially big data set without a huge penalty. What = are the gothas?

Thanks!
Boris
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org
For additional commands, e-mail: user-help@cassandra.apache.org



= --Apple-Mail=_EB081DA9-EBE7-4118-8B72-A792C99C085E--