Project

General

Profile

« Previous | Next » 

Revision 11694

web/links/index.htm: updated to Firefox bookmarks. upgrading to PostgreSQL 9.3: added Linux pg_upgrade steps and install instructions. added Mac PostGIS, psycopg2 install steps. added note that after installing, you need to restore config values that the upgrade reset: in pgAdmin > Preferences > Query tool > Query editor, set Max characters per column back to -1 (to avoid cells being truncated). (this is not a bug in PostgreSQL, only in pgAdmin, and does not signal a need to downgrade.)

View differences:

index.htm
176 176
            </DL><p>
177 177
            <DT><a name="GBIF" href="#GBIF"><H3 ADD_DATE="1384332216">GBIF</H3></a>
178 178
            <DL><p>
179
                <DT><a name="licenses" href="#licenses"><H3 ADD_DATE="1384772538">licenses</H3></a>
180
                <DL><p>
181
                    <DT><A HREF="https://raw.github.com/Datafable/gbif-data-licenses/master/data/licenses.csv" name="https://raw.github.com/Datafable/gbif-data-licenses/master/data/licenses.csv" ADD_DATE="1384772508" ICON_URI="https://raw.github.com/favicon.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="https://raw.github.com/favicon.ico" style="margin-right: 0.5em;"/>licenses.csv</A><a name="licenses.csv" href="#licenses.csv" style="margin-left: 0.5em;">&para;</a>
182
                    <DT><A HREF="https://github.com/Datafable/gbif-data-licenses/blob/master/guidelines.md" name="https://github.com/Datafable/gbif-data-licenses/blob/master/guidelines.md" ADD_DATE="1384772513" ICON_URI="https://github.com/favicon.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="https://github.com/favicon.ico" style="margin-right: 0.5em;"/>guidelines</A><a name="guidelines" href="#guidelines" style="margin-left: 0.5em;">&para;</a>
183
<DD>page's description: gbif-data-licenses - Standardizing licenses of GBIF mediated data
184
                </DL><p>
179 185
                <DT><A HREF="http://www.gbif.org/disclaimer/datasharing" name="http://www.gbif.org/disclaimer/datasharing" ADD_DATE="1384397131" ICON_URI="http://cdn.gbif.org/img/favicon/favicon_32x32.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="http://cdn.gbif.org/img/favicon/favicon_32x32.ico" style="margin-right: 0.5em;"/>Disclaimers and agreements ‐ Terms relating to information and data accessed, used and shared through GBIF: Data sharing</A><a name="Disclaimers and agreements ‐ Terms relating to information and data accessed, used and shared through GBIF: Data sharing" href="#Disclaimers and agreements ‐ Terms relating to information and data accessed, used and shared through GBIF: Data sharing" style="margin-left: 0.5em;">&para;</a>
180 186
<DD>&quot;Responsibility regarding the restriction of access to sensitive data resides with the Data Publisher.&quot;
181 187

  
......
262 268
            <DT><A HREF="http://brunalab.org/apps/" name="http://brunalab.org/apps/" ADD_DATE="1370068544" LAST_CHARSET="UTF-8"><img width="16" height="16" src="blank.gif" style="margin-right: 0.5em;"/>smartphone apps for field biologists</A><a name="smartphone apps for field biologists" href="#smartphone apps for field biologists" style="margin-left: 0.5em;">&para;</a>
263 269
            <DT><A HREF="http://www.ctfs.si.edu/" name="http://www.ctfs.si.edu/" ADD_DATE="1317753678" ICON_URI="http://biogeodb.stri.si.edu/codelibrary/images/icons/favicon.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="http://biogeodb.stri.si.edu/codelibrary/images/icons/favicon.ico" style="margin-right: 0.5em;"/>Smithsonian Tropical Research Institute-Center for Tropical Forest Science</A><a name="Smithsonian Tropical Research Institute-Center for Tropical Forest Science" href="#Smithsonian Tropical Research Institute-Center for Tropical Forest Science" style="margin-left: 0.5em;">&para;</a>
264 270
            <DT><A HREF="http://splink.cria.org.br/manager/index?setlang=en" name="http://splink.cria.org.br/manager/index?setlang=en" ADD_DATE="1352227957" ICON_URI="http://splink.cria.org.br/favicon.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="http://splink.cria.org.br/favicon.ico" style="margin-right: 0.5em;"/>speciesLink: networkManager</A><a name="speciesLink: networkManager" href="#speciesLink: networkManager" style="margin-left: 0.5em;">&para;</a>
271
            <DT><A HREF="https://utk.co1.qualtrics.com/SE/?SID=SV_aWxuyT94cZBsBb7" name="https://utk.co1.qualtrics.com/SE/?SID=SV_aWxuyT94cZBsBb7" ADD_DATE="1384453000" ICON_URI="https://utk.co1.qualtrics.com/WRQualtricsShared/Brands/utk/favicon.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="https://utk.co1.qualtrics.com/WRQualtricsShared/Brands/utk/favicon.ico" style="margin-right: 0.5em;"/>Survey | Qualtrics Survey Software | Current Progress 21%</A><a name="Survey | Qualtrics Survey Software | Current Progress 21%" href="#Survey | Qualtrics Survey Software | Current Progress 21%" style="margin-left: 0.5em;">&para;</a>
272
<DD>page's description: Survey Software, Enterprise Survey software for enterprise feedback management and CRM solutions. Enables high-quality data collection, panel management and results analysis. Perfect for market research or CRM solution (Customer Relationship Management) integration. Free trial and consultation.
273

  
274
&quot;Which of the following do you use to access or submit data? (Choose all that apply.)
275

  
276
    DAAC (A Distributed Active-Archive Center)
277
    DataONE (Data Observation Network for Earth)
278
    Dryad
279
    ESA (Ecological Society of America)
280
    GBIF (A Global Biodiversity Information Facility)
281
    ILTER (International Long-term Ecological Research Network)
282
    KNB (Knowledge Network of Biocomplexity)
283
    LTER (Long-term Ecological Research Network)
284
    NEON (National Ecological Observatory Network)
285
    ORNL DAAC (Oak Ridge National Laboratory Distributed Active Archive Center)
286
    PISCO (Partnership for Interdisciplinary Study of Coastal Oceans)
287
    SAEON (South African Environmental Observation Network)
288
    SanParks (South Africa National Parks)
289
    TERN (Taiwan Ecological Research Network)
290
    UC3 (University of California Curation Center)
291
    USGS CSC (USGS Core Sciences Clearinghouse)
292
&quot;
265 293
            <DT><A HREF="http://www.tdwg.org/standards/117/" name="http://www.tdwg.org/standards/117/" ADD_DATE="1350088728" ICON_URI="http://www.tdwg.org/favicon.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="http://www.tdwg.org/favicon.ico" style="margin-right: 0.5em;"/>TDWG: Taxonomic Concept Transfer Schema</A><a name="TDWG: Taxonomic Concept Transfer Schema" href="#TDWG: Taxonomic Concept Transfer Schema" style="margin-left: 0.5em;">&para;</a>
266 294
            <DT><A HREF="http://www.synbiosys.alterra.nl/turboveg/" name="http://www.synbiosys.alterra.nl/turboveg/" ADD_DATE="1317769861" LAST_CHARSET="ISO-8859-1"><img width="16" height="16" src="blank.gif" style="margin-right: 0.5em;"/>Turboveg for Windows</A><a name="Turboveg for Windows" href="#Turboveg for Windows" style="margin-left: 0.5em;">&para;</a>
267 295
            <DT><A HREF="http://wiki.tdwg.org/Vegetation/" name="http://wiki.tdwg.org/Vegetation/" ADD_DATE="1317755270" ICON_URI="http://wiki.tdwg.org/twiki/pub/Vegetation/WebPreferences/favicon.ico"><img width="16" height="16" src="http://wiki.tdwg.org/twiki/pub/Vegetation/WebPreferences/favicon.ico" style="margin-right: 0.5em;"/>Veg-X</A><a name="Veg-X" href="#Veg-X" style="margin-left: 0.5em;">&para;</a>
......
576 604
<DD>page's description: (33 replies) Greetings, We are working on speeding up the queries by creating indexes. We have queries with searching criteria such as &quot;select ... where *col1=&#39;...&#39;*&quot;. This is a simple query with only &quot;=&quot; operation. As a result I setup hash index on column &quot;col1&quot;. While, in postgreSQL 8 doc, it is wirttern: *Note: * Testing has shown PostgreSQL&#39;s hash indexes to perform no better than B-tree indexes, and the index size and build time for hash indexes is much worse. For these reasons, hash index use is
577 605
                            </DL><p>
578 606
                            <DT><a name="installing 9.3" href="#installing 9.3"><H3 ADD_DATE="1384429280">installing 9.3</H3></a>
607
<DD>after installing, you need to restore config values that the upgrade reset:
608
- in pgAdmin &gt; Preferences &gt; Query tool &gt; Query editor, set Max characters per column back to -1 (to avoid cells being truncated). this is *not* a bug in PostgreSQL, only in pgAdmin, and does *not* signal a need to downgrade.
609
</DD>
579 610
                            <DL><p>
611
                                <DT><A HREF="http://postgresql.1045698.n5.nabble.com/9-3beta2-unrecognized-node-type-in-join-alias-vars-when-retrieving-view-definition-td5764616.html" name="http://postgresql.1045698.n5.nabble.com/9-3beta2-unrecognized-node-type-in-join-alias-vars-when-retrieving-view-definition-td5764616.html" ADD_DATE="1384528374" ICON_URI="http://postgresql.1045698.n5.nabble.com/favicon.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="http://postgresql.1045698.n5.nabble.com/favicon.ico" style="margin-right: 0.5em;"/>PostgreSQL - bugs - 9.3beta2 unrecognized node type in join alias vars when retrieving view definition</A><a name="PostgreSQL - bugs - 9.3beta2 unrecognized node type in join alias vars when retrieving view definition" href="#PostgreSQL - bugs - 9.3beta2 unrecognized node type in join alias vars when retrieving view definition" style="margin-left: 0.5em;">&para;</a>
612
<DD>page's description: 9.3beta2 unrecognized node type in join alias vars when retrieving view definition. Hi all, While testing the 9.3 beta I am unable to get the view definition for some views. Because of this I...
580 613
                                <DT><A HREF="http://www.postgresql.org/message-id/20130508192711.GA9243@msgid.df7cb.de" name="http://www.postgresql.org/message-id/20130508192711.GA9243@msgid.df7cb.de" ADD_DATE="1384429717" ICON_URI="http://www.postgresql.org/favicon.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="http://www.postgresql.org/favicon.ico" style="margin-right: 0.5em;"/>Re: Problems with apt.postgresql.org and precise</A><a name="Re: Problems with apt.postgresql.org and precise" href="#Re: Problems with apt.postgresql.org and precise" style="margin-left: 0.5em;">&para;</a>
581 614
                                <DT><A HREF="https://wiki.postgresql.org/wiki/Apt" name="https://wiki.postgresql.org/wiki/Apt" ADD_DATE="1384429170" ICON_URI="https://wiki.postgresql.org/favicon.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="https://wiki.postgresql.org/favicon.ico" style="margin-right: 0.5em;"/>Apt - PostgreSQL wiki</A><a name="Apt - PostgreSQL wiki" href="#Apt - PostgreSQL wiki" style="margin-left: 0.5em;">&para;</a>
615
<DD>-
616
on Linux:
617
$ sudo apt-get --yes install postgresql-9.3 postgresql-contrib-9.3 postgresql-plpython-9.3 postgresql-plpython3-9.3 libpq-dev postgresql-9.3-postgis phppgadmin
582 618
                                <DT><a name="upgrading DB to 9.3" href="#upgrading DB to 9.3"><H3 ADD_DATE="1384438805">upgrading DB to 9.3</H3></a>
583 619
                                <DL><p>
584 620
                                    <DT><A HREF="http://www.postgresql.org/message-id/514F545C.7020302@gmail.com" name="http://www.postgresql.org/message-id/514F545C.7020302@gmail.com" ADD_DATE="1384438709" ICON_URI="http://www.postgresql.org/favicon.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="http://www.postgresql.org/favicon.ico" style="margin-right: 0.5em;"/>Re: Problem with data migration from 9.1 to 9.2</A><a name="Re: Problem with data migration from 9.1 to 9.2" href="#Re: Problem with data migration from 9.1 to 9.2" style="margin-left: 0.5em;">&para;</a>
585 621
<DD>-
622
on Linux:
623
$ sudo -u postgres /usr/lib/postgresql/9.3/bin/initdb -D /var/lib/postgresql/9.3/main/ -E UTF8 --lc-collate=en_US.UTF-8
586 624

  
587 625
on Mac:
588 626
$ sudo chmod go+w /Library/PostgreSQL/9.3/
589
$ sudo -u postgres initdb -U postgres -D /Library/PostgreSQL/9.3/data/ -E UTF8 --lc-collate=en_US.UTF-8
627
$ sudo -u postgres initdb -D /Library/PostgreSQL/9.3/data/ -E UTF8 --lc-collate=en_US.UTF-8
590 628
$ sudo chmod go-w /Library/PostgreSQL/9.3/
629
                                    <DT><A HREF="http://stackoverflow.com/questions/19271219/ubuntu-12-04-postgresql-9-1-cant-access-libdir-postgis-2-0" name="http://stackoverflow.com/questions/19271219/ubuntu-12-04-postgresql-9-1-cant-access-libdir-postgis-2-0" ADD_DATE="1384519712" ICON_URI="http://cdn.sstatic.net/stackoverflow/img/favicon.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="http://cdn.sstatic.net/stackoverflow/img/favicon.ico" style="margin-right: 0.5em;"/>Ubuntu 12.04, PostgreSQL-9.1 - Can&#39;t access $libdir/postgis-2.0 - Stack Overflow</A><a name="Ubuntu 12.04, PostgreSQL-9.1 - Can&#39;t access $libdir/postgis-2.0 - Stack Overflow" href="#Ubuntu 12.04, PostgreSQL-9.1 - Can&#39;t access $libdir/postgis-2.0 - Stack Overflow" style="margin-left: 0.5em;">&para;</a>
630
<DD>-
631
on Linux:
632
$ sd ln -s postgis-2.1.so /usr/lib/postgresql/9.3/lib/postgis-2.0.so
591 633
                                    <DT><A HREF="http://www.postgresql.org/docs/9.3/static/pgupgrade.html" name="http://www.postgresql.org/docs/9.3/static/pgupgrade.html" ADD_DATE="1384429194" ICON_URI="http://www.postgresql.org/favicon.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="http://www.postgresql.org/favicon.ico" style="margin-right: 0.5em;"/>PostgreSQL: Documentation: 9.3: pg_upgrade</A><a name="PostgreSQL: Documentation: 9.3: pg_upgrade" href="#PostgreSQL: Documentation: 9.3: pg_upgrade" style="margin-left: 0.5em;">&para;</a>
592 634
<DD>-
635
on Linux:
636
$ sudo service postgresql stop
637
$ for i in /etc/postgresql/9.1/main/*.conf*; do sudo ln -sf &quot;$i&quot; /var/lib/postgresql/9.1/main/; done
638
$ for i in /etc/postgresql/9.3/main/*.conf*; do sudo ln -sf &quot;$i&quot; /var/lib/postgresql/9.3/main/; done
639
$ sudo -u postgres -s
640
$ mkdir /tmp/postgres_install
641
$ cd /tmp/postgres_install
642
$ /usr/lib/postgresql/9.3/bin/pg_upgrade --user=postgres -b /usr/lib/postgresql/9.1/bin/ -B /usr/lib/postgresql/9.3/bin/ -d /var/lib/postgresql/9.1/main/ -D /var/lib/postgresql/9.3/main/ # runtime: 1 h (&quot;04:47:01&quot; - ~&quot;05:50&quot;) for a 312 GB cluster (staging tables+import)
643
$ sudo service postgresql start
644
$ sudo -u postgres psql -p 5433 # try connecting to the new DB
645
$ sudo apt-get remove postgresql-9.1
646
$ ./delete_old_cluster.sh
647
$ ./analyze_new_cluster.sh # runtime: 30 min (&quot;31m6.298s&quot;)
593 648

  
594 649
on Mac:
650
# stop the PostgreSQL server
595 651
$ sudo -u postgres -s
596 652
$ mkdir /tmp/postgres_install
597 653
$ cd /tmp/postgres_install
598
$ pg_upgrade --user=postgres -b /Library/PostgreSQL/9.1/bin/ -B /Library/PostgreSQL/9.3/bin/ -d /Library/PostgreSQL/9.1/data/ -D /Library/PostgreSQL/9.3/data/ # runtime: 15 min (&quot;06:28:35&quot; - &quot;06:14:41&quot;) for a 30 GB cluster
599
$ ./analyze_new_cluster.sh
600
# try connecting to the DB
654
$ pg_upgrade --user=postgres -b /Library/PostgreSQL/9.1/bin/ -B /Library/PostgreSQL/9.3/bin/ -d /Library/PostgreSQL/9.1/data/ -D /Library/PostgreSQL/9.3/data/ # runtime: 15 min (&quot;06:28:35&quot; - &quot;06:14:41&quot;) for a 30 GB cluster (staging tables only)
655
# start the PostgreSQL server
656
# try connecting to the new DB
601 657
$ ./delete_old_cluster.sh
658
$ ./analyze_new_cluster.sh # runtime: 30 min (&quot;07:10:59&quot; - &quot;06:40:23&quot;) for a 30 GB cluster (staging tables only)
602 659
                                </DL><p>
660
                                <DT><A HREF="https://groups.google.com/forum/#!msg/django-users/Bv63_job__w/b5ylXGwVW8kJ" name="https://groups.google.com/forum/#!msg/django-users/Bv63_job__w/b5ylXGwVW8kJ" ADD_DATE="1384765320" ICON_URI="https://groups.google.com/forum/favicon.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="https://groups.google.com/forum/favicon.ico" style="margin-right: 0.5em;"/>Psycopg2 on Mac OS X (Snow Leopard) - Google Groups</A><a name="Psycopg2 on Mac OS X (Snow Leopard) - Google Groups" href="#Psycopg2 on Mac OS X (Snow Leopard) - Google Groups" style="margin-left: 0.5em;">&para;</a>
661
<DD>page's description: Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
662

  
663
on Mac:
664
&#39;(2) Create symbolic links in /usr/lib :
665

  
666
sudo ln -s /Library/PostgreSQL/9.3/lib/libpq.5.dylib /usr/lib/libpq.5.dylib
667
sudo ln -s /Library/PostgreSQL/9.3/lib/libssl.1.0.0.dylib /usr/lib/libssl.1.0.0.dylib
668
sudo ln -s /Library/PostgreSQL/9.3/lib/libcrypto.1.0.0.dylib /usr/lib/libcrypto.1.0.0.dylib
669
&#39;
603 670
                            </DL><p>
604 671
                            <DT><a name="invalid byte sequence errors" href="#invalid byte sequence errors"><H3 ADD_DATE="1366909936">invalid byte sequence errors</H3></a>
605 672
                            <DL><p>

Also available in: Unified diff