<div dir="ltr"><div><div>Hi all,<br></div><div>I am here to share with you my Week6 report. You can also find it at [1]</div></div><div><br></div><div><h3 id="gmail-CodingWeek826thJuly-1stAugust" style="font-family:Arial,Verdana,"Bitstream Vera Sans",Helvetica,sans-serif;letter-spacing:-0.018em;break-after:avoid;font-size:14px;border-bottom:1px dashed rgb(221,221,221);padding:0.2em 0.3em 0.1em;color:rgb(0,0,0)">Coding Week 8 (26th July - 1st August)<a class="gmail-anchor" href="https://trac.osgeo.org/postgis/wiki/ImplementSortingMethodsBeforeGistIndexBuilding#CodingWeek826thJuly-1stAugust" title="链接到这一节" style="text-decoration-line:none;color:rgb(215,215,215);border:none;font-size:0.8em;vertical-align:text-top"></a></h3><p style="color:rgb(0,0,0);font-family:Verdana,Arial,"Bitstream Vera Sans",Helvetica,sans-serif;font-size:13px"><strong>Coding Phase </strong>:</p><ul style="color:rgb(0,0,0);font-family:Verdana,Arial,"Bitstream Vera Sans",Helvetica,sans-serif;font-size:13px"><li>Complete the tests of <code style="color:rgb(102,0,0);border:1px solid rgb(238,221,204);border-radius:0.25em;padding:0px 0.3em;background:rgb(250,250,250)">Buffer Hit</code> and <code style="color:rgb(102,0,0);border:1px solid rgb(238,221,204);border-radius:0.25em;padding:0px 0.3em;background:rgb(250,250,250)">Execution Time</code> of index query performance with random data</li><li>Write a document[2] with the test result</li></ul><p style="color:rgb(0,0,0);font-family:Verdana,Arial,"Bitstream Vera Sans",Helvetica,sans-serif;font-size:13px"><strong>Plans for next week</strong>:</p><ul style="color:rgb(0,0,0);font-family:Verdana,Arial,"Bitstream Vera Sans",Helvetica,sans-serif;font-size:13px"><li>Connect with mentors and the community for the decision of pre-sort methods</li><li>Check the page status of different pre-sort methods.</li></ul><div><br></div><div>I forced an index scan in a large data query scenario so the buffer hit number of the pre-sort methods is many more than a sequence scan one. More details about index scan, sequence scan and bitmap scan can be found at [3]. Now I try to query a small area in the whole table and some results are listed in the document. <br></div><div>If you have any questions, please let me know.</div><div><br></div><div>[1] <a href="https://trac.osgeo.org/postgis/wiki/ImplementSortingMethodsBeforeGistIndexBuilding" target="_blank">https://trac.osgeo.org/postgis/wiki/ImplementSortingMethodsBeforeGistIndexBuilding</a><font color="#000000" face="Verdana, Arial, Bitstream Vera Sans, Helvetica, sans-serif"><span style="font-size:13px"><br></span></font></div></div><div>[2] <a href="https://docs.google.com/document/d/1m4oxBAsKCyjAnYmkCmQ0X_ltiid5tliFwF3rtdzlKsc/edit?usp=sharing">https://docs.google.com/document/d/1m4oxBAsKCyjAnYmkCmQ0X_ltiid5tliFwF3rtdzlKsc/edit?usp=sharing</a></div><div>[3] <a href="https://www.cybertec-postgresql.com/en/postgresql-indexing-index-scan-vs-bitmap-scan-vs-sequential-scan-basics/">https://www.cybertec-postgresql.com/en/postgresql-indexing-index-scan-vs-bitmap-scan-vs-sequential-scan-basics/</a></div><div><br></div><div><div>Best regards,</div><div>Han</div></div></div>