Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id D41891337B7F for ; Fri, 15 Oct 2010 22:58:26 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 71710-01 for ; Sat, 16 Oct 2010 01:58:19 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pw0-f46.google.com (mail-pw0-f46.google.com [209.85.160.46]) by mail.postgresql.org (Postfix) with ESMTP id 839EA1335B36 for ; Fri, 15 Oct 2010 22:58:19 -0300 (ADT) Received: by pwj4 with SMTP id 4so256157pwj.19 for ; Fri, 15 Oct 2010 18:58:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=ig8p8VxO+Nmo50uscnAmDrnJ5SVjohaqy8mmsxrf+Sk=; b=Nnwn/H9moiuO1f2LSFP33Hh1CdmvbuWjFxbCPd8uSv7nJupvZHPK+m0foBbRsP8jVT XhRaUOggp/t2MP9spCMCe/t/IGXR5zO239i0Nsd0j7Av6cnaXngTv5lDy+EVPjoPpz68 NR0antFNQJpNqlhsYttX7iRelMbg6mbdjrGIA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=XZ9NHYwJDBUCz93jrL9tOWDq/zEkCF+dtXZl5IDsUrMEvI6xfrCTC+vOZRnNqKUkiu kpNWz33H8abitHnK7uNNq3aKUN3b+W3QaUDLTreKwlHewxwjULWq6zMaDdjSkBkaKIbP dxv+5M4YyAcYNE8ULJLrHlV2rTwp4nNEmvI14= Received: by 10.142.212.11 with SMTP id k11mr1271959wfg.8.1287194299641; Fri, 15 Oct 2010 18:58:19 -0700 (PDT) Received: from [192.168.0.101] ([210.56.97.173]) by mx.google.com with ESMTPS id w22sm1281025wfd.7.2010.10.15.18.58.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 15 Oct 2010 18:58:18 -0700 (PDT) From: Navkirat Singh Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: UUID performance as primary key Date: Sat, 16 Oct 2010 07:28:04 +0530 Message-Id: <63CD89CB-22F6-441C-ACBF-F76906B7E468@gmail.com> To: pgsql-performance@postgresql.org Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201010/267 X-Sequence-Number: 40685 Hi Guys, I am interested in finding out the pros/cons of using UUID as a primary = key field. My requirement states that UUID would be perfect in my case = as I will be having many small databases which will link up to a global = database using the UUID. Hence, the need for a unique key across all = databases. It would be extremely helpful if someone could help me figure = this out, as it is critical for my project. Thanks in advance, Nav=20=