Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YfU6t-0007np-KZ for pgsql-sql@arkaria.postgresql.org; Tue, 07 Apr 2015 14:04:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YfU6s-0008W9-W9 for pgsql-sql@arkaria.postgresql.org; Tue, 07 Apr 2015 14:04:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YfU6s-0008Vy-0R for pgsql-sql@postgresql.org; Tue, 07 Apr 2015 14:04:10 +0000 Received: from mail-pd0-f178.google.com ([209.85.192.178]) by magus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YfU6f-00058E-45 for pgsql-sql@postgresql.org; Tue, 07 Apr 2015 14:04:08 +0000 Received: by pdbnk13 with SMTP id nk13so80150492pdb.0 for ; Tue, 07 Apr 2015 07:03:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=q2ewxVctEaTuLGpIO1UxG8j92OKawxKm2y4AFDhttTo=; b=mv0a3xvMfj9XPxuMwiyqhnj7OFLj/0KWbTwouHU6edDgA89C5FuPMRQp9Hy4Hisa4I A3FpVNIxjpKj4SD6di2XGRqadblVlbpLkhFsAutnlWI77waMjKdkATq2jzj+qAVdU3tl AAL/dUJu7bgR5WtJPm08WNEkzr2QJdgKUbHYpdSP4c4SLsLYss75LgOHP93o8p5sLkpo NEvN1fmhIeEIemvjgEy+S26Wvxze4CSx9OoyGkvRJS8tnhgKy74g0ou+RRwDpwcoDYgK fkzokYMEJfOzcyBzd3BX85lwzUpoYKZq1a4FKg5gOzW3g4OgCJlU/xugFAq7eeCzCKw4 VHWA== X-Gm-Message-State: ALoCoQmBP5OKSc2q7fUQ9Phli4sWVNOmJr6qgjGSw6dpC5JxkU0WwA3Y7BxvUZlq/1gXcxBpnrGD X-Received: by 10.70.100.230 with SMTP id fb6mr36870136pdb.29.1428415433661; Tue, 07 Apr 2015 07:03:53 -0700 (PDT) Received: from [192.168.1.109] ([76.14.161.106]) by mx.google.com with ESMTPSA id cy5sm2970458pdb.85.2015.04.07.07.03.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Apr 2015 07:03:52 -0700 (PDT) Message-ID: <5523E3C7.70302@jfcomputer.com> Date: Tue, 07 Apr 2015 07:03:51 -0700 From: john User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: Re: Thank you: an anti-question (or a Pg love letter) References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org +1 Johnf On 04/06/2015 09:21 PM, Andrej wrote: > Thanks for sharing :) > > Pure awesomeness! > > On 4 April 2015 at 12:01, Steve Midgley wrote: >> Hi, >> >> I used to participate on this list awhile back (2008?). I migrated off to >> other stuff, but I'm back doing some Pg work recently. I don't have a >> question, but I wanted to share my experiences, since I think the core >> members of this community don't get thanked enough. >> >> Today I had a burly (for me) problem involving transforming some text into >> some json fields for ~1M rows. Running with middleware doing the schema >> transforms I was getting maybe 100 rows per second. Ugh. I could go back to >> the original couchdb project, but double ugh. So I re-wrote with native >> Postgres SQL: >> >> update raw_documents set >> identity = json_extract_path(raw_data::json, 'identity'::text), >> keys = json_extract_path(raw_data::json, 'keys'::text), >> payload_schema = json_extract_path(raw_data::json, 'payload_schema'::text) >> >> I don't even know how many rows per second b/c it came back in less than 5 >> minutes - maybe 3k rows per second? >> >> I just wanted to write to say thank you to everyone who builds, supports and >> participates in the Postgres community. I'm done dinking around with >> different tool chains. If I have to persist something again, I'm doing it >> with Postgres, I don't care if it's json, xml, cols/rows or blobs. If I >> can't put save it to the filesystem, it's going in Pg. :) >> >> Per the subject, this is an "anti-question" -- just sharing on Friday >> afternoon that Postgres is working perfectly - just as it should: fast, >> reliable, easy, conformant. Have a nice weekend and thank you! >> >> Steve >> >> > > -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql