<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoPlainText>The selected unique identifier column is GID (created by postgis). So, it has to be unique identifier.<o:p></o:p></p><p class=MsoPlainText>Based on the fact that I could see selected feature attributes or I could see attributes using identifier tool,<o:p></o:p></p><p class=MsoPlainText>I have to assume that query tool retrieves this information upon user action (in this case select a feature).<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>That is why I am wondering if I need to modify something like it was done with SDE Server config file to improve the performance of the query application. Thanks.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Message: 18<o:p></o:p></p><p class=MsoPlainText>Date: Tue, 03 Jul 2012 17:50:55 +0200<o:p></o:p></p><p class=MsoPlainText>From: William Humphrey Temperley <<a href="mailto:william.temperley@jrc.ec.europa.eu">william.temperley@jrc.ec.europa.eu</a>><o:p></o:p></p><p class=MsoPlainText>Subject: Re: [postgis-users] Problem with using query layer in ArcGIS<o:p></o:p></p><p class=MsoPlainText>      10<o:p></o:p></p><p class=MsoPlainText>To: "'PostGIS Users Discussion'"<o:p></o:p></p><p class=MsoPlainText>      <<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>><o:p></o:p></p><p class=MsoPlainText>Message-ID: <<a href="mailto:013c01cd5933$a1af3230$e50d9690$@jrc.ec.europa.eu">013c01cd5933$a1af3230$e50d9690$@jrc.ec.europa.eu</a>><o:p></o:p></p><p class=MsoPlainText>Content-Type: text/plain; charset="us-ascii"<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>I haven't seen this behaviour -- being able to see the attributes with<o:p></o:p></p><p class=MsoPlainText>identify but not being able to use the attribute table properly.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText> <o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Are you 100% certain the unique identifier column you have chosen is unique,<o:p></o:p></p><p class=MsoPlainText>i.e. is it a primary key, or does it have a unique constraint on it?<o:p></o:p></p><p class=MsoPlainText>Duplicate keys might cause this behaviour, but I'm not sure.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText> <o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Will<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText> <o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a><o:p></o:p></p><p class=MsoPlainText>[<a href="mailto:postgis-users-bounces@postgis.refractions.net">mailto:postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of Melpati,<o:p></o:p></p><p class=MsoPlainText>Muni<o:p></o:p></p><p class=MsoPlainText>Sent: 03 July 2012 17:28<o:p></o:p></p><p class=MsoPlainText>To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><o:p></o:p></p><p class=MsoPlainText>Subject: [postgis-users] Problem with using query layer in ArcGIS 10<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText> <o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Hi William,<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Thank you for response. It is great that you showed interest in helping me<o:p></o:p></p><p class=MsoPlainText>on this. After playing with the query tool, it was very evident that I need<o:p></o:p></p><p class=MsoPlainText>to pick one single unique identifier field. The problem I am facing happens<o:p></o:p></p><p class=MsoPlainText>despite the fact that I selected one single field as unique identifier.  I<o:p></o:p></p><p class=MsoPlainText>have two layers (one with 13,000 records and another with 55,600 records).<o:p></o:p></p><p class=MsoPlainText>Smaller file works like any other shape file. The larger file would through<o:p></o:p></p><p class=MsoPlainText>up loading data problem. <o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText> <o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Note: If I, either select a bunch features  or use identify tool, I could<o:p></o:p></p><p class=MsoPlainText>see all the attributes. In other cases, though I could not see attributes, I<o:p></o:p></p><p class=MsoPlainText>could see all the features on the map.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>I could also use attribute query tool on the same data and select records<o:p></o:p></p><p class=MsoPlainText>and  view them.  However, I simply having trouble with opening the table and<o:p></o:p></p><p class=MsoPlainText>viewing all the records. <o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Also I am unable to export to shapefile from ArcMap when this problem<o:p></o:p></p><p class=MsoPlainText>occurs.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Thanks.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>