Return-Path: X-Original-To: apmail-hawq-dev-archive@minotaur.apache.org Delivered-To: apmail-hawq-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4531F1853C for ; Sun, 4 Oct 2015 05:47:03 +0000 (UTC) Received: (qmail 11199 invoked by uid 500); 4 Oct 2015 05:47:03 -0000 Delivered-To: apmail-hawq-dev-archive@hawq.apache.org Received: (qmail 11142 invoked by uid 500); 4 Oct 2015 05:47:03 -0000 Mailing-List: contact dev-help@hawq.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hawq.incubator.apache.org Delivered-To: mailing list dev@hawq.incubator.apache.org Received: (qmail 11131 invoked by uid 99); 4 Oct 2015 05:47:02 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Oct 2015 05:47:02 +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 10A2AC0184 for ; Sun, 4 Oct 2015 05:47:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.001 X-Spam-Level: *** X-Spam-Status: No, score=3.001 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id MDoLGKRo7o7o for ; Sun, 4 Oct 2015 05:46:53 +0000 (UTC) Received: from mail-vk0-f50.google.com (mail-vk0-f50.google.com [209.85.213.50]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 6FF4420515 for ; Sun, 4 Oct 2015 05:46:52 +0000 (UTC) Received: by vkfp126 with SMTP id p126so80388882vkf.3 for ; Sat, 03 Oct 2015 22:46:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=NBR50AB5xrfAKpmAN6cR0nrDDQJk4bJeB0G6YjHHi0w=; b=bnc5EJ6H5PKLaTRVbzOoS3Xz7dkOmLq/TfK8hwlcjeeIZyrQ+cbn17jpyU5yz96zJf WdJyg2tWa45g+9NJLx9KsEe4cWEIlh229SjYfZcmu9vZOpuzJaEcp5NJurF5JZecI0Ss VpSb2oNoX7pIag/42LFqwSxLNY0Y+LaJdyk3CTScCM0ajbIoycAHx9STshpZaaMo3egf IzBII5ZeydM/FAuvoigKmvHR9NIrYrlD8HOhXjV0VJf+xvLYcsx1bzlANE3v4FnPgv8s Fod58Ct36lxpuhZLMiWyEZH74CzW2sE7ixGRsuQW2vxucsxeCB2ZYCuTSA6r9JHns1Yn YY2w== X-Gm-Message-State: ALoCoQkRJ8f9RnjrJSJ5TlkeC3NLKLfUKA117Pkt1QoaUdAbtqVxeIDeVapKjCGS0CWh5REK6doB MIME-Version: 1.0 X-Received: by 10.31.162.197 with SMTP id l188mr14551243vke.20.1443937604601; Sat, 03 Oct 2015 22:46:44 -0700 (PDT) Received: by 10.31.89.134 with HTTP; Sat, 3 Oct 2015 22:46:44 -0700 (PDT) Received: by 10.31.89.134 with HTTP; Sat, 3 Oct 2015 22:46:44 -0700 (PDT) In-Reply-To: References: Date: Sat, 3 Oct 2015 22:46:44 -0700 Message-ID: Subject: Re: hawq init? From: Feng Tian To: dev@hawq.incubator.apache.org Content-Type: multipart/alternative; boundary=001a1143389800207a052140ec6b --001a1143389800207a052140ec6b Content-Type: text/plain; charset=UTF-8 interesting. what if i have two physical nodes? and, how can i control the number of forked processes? do i have to believe planner will pickup the right number? any pointer to design and/or implementation? thanks, On Oct 3, 2015 8:02 PM, "Zhanwei Wang" wrote: > Hi Feng > > Unlike Greenplum Database and HAWQ 1.x. Apache HAWQ will init only one > segment on each node. > > But Apache HAWQ can fork many work processes on one segment to execute the > plan. The number of work processes depends on the query and plan. > > Best Regards > Zhanwei Wang > > > On Sun, Oct 4, 2015 at 12:39 AM, Feng Tian wrote: > > > Hi, > > > > Hawq init cluster on my box works great, but it only creates one segment. > > How can I init a cluster of say, two segments? Which config file should > I > > edit? > > > > Tried gpinitsystem (does not work), tried google but cannot find much > info. > > > > Thanks, > > > > > > -- > Best Regards > ---------- > > Zhanwei Wang > --001a1143389800207a052140ec6b--