Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 644059FB412 for ; Tue, 17 Oct 2006 04:39:32 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 14258-08 for ; Tue, 17 Oct 2006 07:39:26 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by postgresql.org (Postfix) with ESMTP id 30B6F9FB411 for ; Tue, 17 Oct 2006 04:39:25 -0300 (ADT) Received: by nf-out-0910.google.com with SMTP id i2so210449nfe for ; Tue, 17 Oct 2006 00:39:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=ra6KMr3maduFyk9IuQ8tPlygPAt7tgosZ3+V3xBMOOhUAGtTJy9qMYVFMj5eMOfTyJEOiVXjXFVipP6ae93jJ5E0IaZEldJcAJfbsrPASNs0tGexeLGzEpvF2RDk625abOvVV3B7z8WXs9jIIFm0epD3vD/jBBqPEaJ7ezdt21o= Received: by 10.82.105.13 with SMTP id d13mr1307663buc; Tue, 17 Oct 2006 00:39:22 -0700 (PDT) Received: by 10.82.162.15 with HTTP; Tue, 17 Oct 2006 00:39:21 -0700 (PDT) Message-ID: Date: Tue, 17 Oct 2006 15:39:21 +0800 From: "Felix Zhang" To: pgsql-sql@postgresql.org, pgsql-general@postgresql.org, pgsql-novice@postgresql.org Subject: How to split a table? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_31952_2560140.1161070761773" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.574 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, HTML_30_40, HTML_MESSAGE, SPF_PASS X-Spam-Level: X-Archive-Number: 200610/790 X-Sequence-Number: 102316 ------=_Part_31952_2560140.1161070761773 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I want to split a table to 2 small tables. The 1st one contains 60% records which are randomly selected from the source table. How to do it? Regards, Felix ------=_Part_31952_2560140.1161070761773 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi,
 
I want to split a table to 2 small tables. The 1st one contains 60% records which are randomly selected from the source table.
How to do it?
 
Regards,
Felix
------=_Part_31952_2560140.1161070761773--