Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1meyop-0006VU-D6 for pgsql-hackers@arkaria.postgresql.org; Mon, 25 Oct 2021 12:11:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1meyon-0003WD-AL for pgsql-hackers@arkaria.postgresql.org; Mon, 25 Oct 2021 12:11:09 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1meyom-0003W4-Ni for pgsql-hackers@lists.postgresql.org; Mon, 25 Oct 2021 12:11:09 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1meyoh-0007z5-4y for pgsql-hackers@lists.postgresql.org; Mon, 25 Oct 2021 12:11:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635163861; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZKU0D2bgBIJSTAtPSv6R5hTBnjpKvueO7XDFc7flKtA=; b=I6HPlqEiXdF+Pkomuf075rOfY0kDMiRd7u+WVZ88QuhBngpWkS+lZQGqz6ZUFGUTRe7vsc qCI/LZL4aEYn468eRBkirEPXzWU12+hgTh/AypC9f7fejtrVLe3emHdhZ2/KMnu/wMJ7TH ZXL0qbuZei5zxv6G1KclR/guNzU3wUs= Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-131-PYMTp4ooNvaMfdnyu-DHDQ-1; Mon, 25 Oct 2021 08:10:59 -0400 X-MC-Unique: PYMTp4ooNvaMfdnyu-DHDQ-1 Received: by mail-qk1-f199.google.com with SMTP id s20-20020a05620a0bd400b0045e893f2ed8so8728747qki.11 for ; Mon, 25 Oct 2021 05:10:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:reply-to :subject:content-language:to:cc:references:from:organization :in-reply-to:content-transfer-encoding; bh=ZKU0D2bgBIJSTAtPSv6R5hTBnjpKvueO7XDFc7flKtA=; b=49+G65yAJ15CpA4AUAEOMhc6m5RdFNCXe4Ik428f+BwfzN6cOOTDYHrcgTtLwCEpqx 9o+WlJoszMaSWeQ9KeTCXq4vaXg61sfzjiQWDr42trOC/D1ti8kSu3GjlRASJ1ypJ34K NR9hGZDCmXJj+0cNawea95tNqZt8V/OEpyuamfCNmb75GTSFyhy4qvZMIjWfA3htBuL2 57rUwDHzzrsA6VkJlW7xy/BWgQyy6hSPllrPgxdPmvs8XC/yGACdUwk8FFA7LC9SM5fo RYxzIeHQnGinDiwPdSiV0EM7+d8Gt+hGqNWWZJojFnBwrUWEFNVAvjbmcf0b9vw15Zxw Tqpw== X-Gm-Message-State: AOAM532H/ywlxQJuTjWfF2DKctQoyN9MK0QxIg9Ufvvw+2KjxcbXIyzA iwoYxwY93aBtRdJUyrxQJCderM5AnTKf0u8ZNiNavWJhIysGqksFE7C2HcYtUGdfTWUeLHLNQrK p32TqU9XAdB0sh1e7eaTW/LeJOLxwI7zl X-Received: by 2002:a05:6214:23cd:: with SMTP id hr13mr15078580qvb.20.1635163859209; Mon, 25 Oct 2021 05:10:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrrSEP6udkS50B9gjAmQdU2FaiwlCUUJ6I7WYMWlyMvgHXZhTlnA5f8YuTDF8kuJpk478C/g== X-Received: by 2002:a05:6214:23cd:: with SMTP id hr13mr15078547qvb.20.1635163858937; Mon, 25 Oct 2021 05:10:58 -0700 (PDT) Received: from [192.168.1.12] (c-24-61-8-151.hsd1.ma.comcast.net. [24.61.8.151]) by smtp.gmail.com with ESMTPSA id w17sm8448869qts.53.2021.10.25.05.10.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Oct 2021 05:10:58 -0700 (PDT) Message-ID: <8850baa5-9464-c44b-67fe-dae8931fdfa9@redhat.com> Date: Mon, 25 Oct 2021 08:10:56 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Reply-To: jesper.pedersen@redhat.com Subject: Re: MDAM techniques and Index Skip Scan patch To: Peter Geoghegan , Tom Lane , Dmitry Dolgov <9erthalion6@gmail.com>, Andy Fan Cc: PostgreSQL Hackers References: From: Jesper Pedersen Organization: Red Hat In-Reply-To: Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=jesper.pedersen@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi Peter, On 10/21/21 22:16, Peter Geoghegan wrote: > I returned to the 1995 paper "Efficient Search of Multidimensional > B-Trees" [1] as part of the process of reviewing v39 of the skip scan > patch, which was posted back in May. It's a great paper, and anybody > involved in the skip scan effort should read it thoroughly (if they > haven't already). It's easy to see why people get excited about skip > scan [2]. But there is a bigger picture here. > Thanks for starting this thread ! The Index Skip Scan patch could affect a lot of areas, so keeping MDAM in mind is definitely important. However, I think the key part to progress on the "core" functionality (B-tree related changes) is to get the planner functionality in place first. Hopefully we can make progress on that during the November CommitFest based on Andy's patch. Best regards, Jesper