Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-3856

Import of a large polygon fails/hangs

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 5.5.25-galera
    • None
    • None
    • None
    • Linux 32-bit

    Description

      The import of a large land polygon from OpenStreetMap (http://openstreetmapdata.com/data/land-polygons) into MariaDB fails (or takes too long, I stopped after 12 hrs).

      For comparison: import into PostGIS via ogr2ogr for all polygons takes around 10 minutes.

      Server version: 5.5.28-MariaDB-debug-log Source distribution

      How to repeat:

      Gunzip the attachment and run

      mysql -uusername test < test.sql

      Attachments

        Activity

          elenst Elena Stepanova added a comment - - edited

          The problem only affects a debug build (it didn't hang or take 12 hours, but was long enough); release servers finish the job in no time (tried 5.5.25 and 5.5.28, linux x86_64).

          Alexey,
          Could you please check whether it's the expected behavior of a debug build?

          Please note that when you execute the attached test.sql for the first time, it sets the global max_allowed_packet, but not the session one, so execution ends with "server gone away". Just run it once again.

          elenst Elena Stepanova added a comment - - edited The problem only affects a debug build (it didn't hang or take 12 hours, but was long enough); release servers finish the job in no time (tried 5.5.25 and 5.5.28, linux x86_64). Alexey, Could you please check whether it's the expected behavior of a debug build? Please note that when you execute the attached test.sql for the first time, it sets the global max_allowed_packet, but not the session one, so execution ends with "server gone away". Just run it once again.
          holyfoot Alexey Botchkov added a comment - http://lists.askmonty.org/pipermail/commits/2013-October/005507.html

          People

            holyfoot Alexey Botchkov
            georg Georg Richter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.