<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Jakob,</p>
<p>I don't think there is much background information or
documentation available on relations.</p>
<p>The obvious questions to you are:</p>
<p>- What means "big" (how many records are you dealing with)?</p>
<p>- I know this sounds silly - but are your tables properly indexed
(you don't have to index primary keys, but other columns that are
used in relations need an index)</p>
<p>- What exact QGIS version are you using? 2.18.x - in the about
dialogue you can find this, including the exact github version
string</p>
<p>- if we can't help you further, it may help to see your create
table statements (including all indexes)</p>
<p>Andreas<br>
</p>
<br>
<div class="moz-cite-prefix">On 03.08.2017 11:47, Jakob Miksch
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:14bca8c06ba04816912ec38f8923605e@NINSRV23.nina.no">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
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]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I have a (rather big)
Postgres/PostGIS database that basically looks like this:
<a class="moz-txt-link-freetext" href="https://ibb.co/bK7PKv">https://ibb.co/bK7PKv</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I want to use QGIS for
editing and inserting data.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I already found these
ressources:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><a class="moz-txt-link-freetext" href="https://docs.qgis.org/2.18/en/docs/user_manual/working_with_vector/vector_properties.html#fields-properties">https://docs.qgis.org/2.18/en/docs/user_manual/working_with_vector/vector_properties.html#fields-properties</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><a class="moz-txt-link-freetext" href="https://docs.qgis.org/2.18/en/docs/user_manual/working_with_vector/attribute_table.html#creating-one-or-many-to-many-relations">https://docs.qgis.org/2.18/en/docs/user_manual/working_with_vector/attribute_table.html#creating-one-or-many-to-many-relations</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><a class="moz-txt-link-freetext" href="https://docs.qgis.org/2.18/en/docs/training_manual/create_vector_data/forms.html">https://docs.qgis.org/2.18/en/docs/training_manual/create_vector_data/forms.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I tried it: I created
the relations and built custom forms.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">However, when I want to
insert or edit something. QGIS becomes really slow and
crashes finally. But before I describe the problems in more
detail I want to read more about it. I find the
documentation (linked above) a bit too little. <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">So, my question:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Is there any
documentation I have missed?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Is there any book
(chapter) you can recommend?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Do you know of any
example where QGIS is used for entering data into many
related tables in Postgres/PostGIS at once?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I am thankful for any
hint or resource.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal">Jakob<o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
</blockquote>
<br>
</body>
</html>