diff --git a/backend/metagenedb/apps/catalog/admin/taxonomy.py b/backend/metagenedb/apps/catalog/admin/taxonomy.py
index 79090d33522e6487f19714f3f769881205ca9d2b..633f57b0c94b4556ae0e747b57a16c6479356ef0 100644
--- a/backend/metagenedb/apps/catalog/admin/taxonomy.py
+++ b/backend/metagenedb/apps/catalog/admin/taxonomy.py
@@ -7,7 +7,7 @@ from metagenedb.apps.catalog.models import Taxonomy
 class TaxonomyAdmin(admin.ModelAdmin):
 
     list_display = (
-        'tax_id', 'name', 'rank',
+        'tax_id', 'name', 'rank', 'superkingdom',
         'kingdom', 'phylum', 'class_rank', 'order', 'family', 'genus', 'species',
     )
     search_fields = ('tax_id', 'name')
diff --git a/backend/metagenedb/apps/catalog/migrations/0004_taxonomy_superkingdom.py b/backend/metagenedb/apps/catalog/migrations/0004_taxonomy_superkingdom.py
new file mode 100644
index 0000000000000000000000000000000000000000..4e7649b39d513257f3c009d11abc4436c0c4b36a
--- /dev/null
+++ b/backend/metagenedb/apps/catalog/migrations/0004_taxonomy_superkingdom.py
@@ -0,0 +1,19 @@
+# Generated by Django 2.2.1 on 2019-07-18 09:34
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('catalog', '0003_auto_20190717_1551'),
+    ]
+
+    operations = [
+        migrations.AddField(
+            model_name='taxonomy',
+            name='superkingdom',
+            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='superkingdom_children', to='catalog.Taxonomy'),
+        ),
+    ]
diff --git a/backend/metagenedb/apps/catalog/models/taxonomy.py b/backend/metagenedb/apps/catalog/models/taxonomy.py
index ccd113596bbfcbcd3c3068331afe3d54ebd933ab..fa3a096d762fa3d2e1ecef514c695f92c0d4d106 100644
--- a/backend/metagenedb/apps/catalog/models/taxonomy.py
+++ b/backend/metagenedb/apps/catalog/models/taxonomy.py
@@ -52,6 +52,11 @@ class Taxonomy(models.Model):
         null=True, blank=True,
     )
 
+    superkingdom = models.ForeignKey(
+        'Taxonomy', related_name='superkingdom_children',
+        on_delete=models.SET_NULL,
+        null=True, blank=True,
+    )
     kingdom = models.ForeignKey(
         'Taxonomy', related_name='kingdom_children',
         on_delete=models.SET_NULL,
@@ -74,7 +79,7 @@ class Taxonomy(models.Model):
         null=True, blank=True,
     )
     family = models.ForeignKey(
-        'Taxonomy', related_name='familyphy_children',
+        'Taxonomy', related_name='family_children',
         on_delete=models.SET_NULL,
         null=True, blank=True,
     )
diff --git a/backend/metagenedb/apps/catalog/serializers/taxonomy.py b/backend/metagenedb/apps/catalog/serializers/taxonomy.py
index 87816c32c8b34c1ad5b90c524830e91799efe8e4..32c230c91f5fb0ae0f016574df16cfbdf70e37e7 100644
--- a/backend/metagenedb/apps/catalog/serializers/taxonomy.py
+++ b/backend/metagenedb/apps/catalog/serializers/taxonomy.py
@@ -10,6 +10,11 @@ class TaxonomySerializer(serializers.ModelSerializer):
         source='parent',
         required=False,
     )
+    superkingdom = serializers.SlugRelatedField(
+        queryset=Taxonomy.objects.all(),
+        slug_field='tax_id',
+        required=False
+    )
     kingdom = serializers.SlugRelatedField(
         queryset=Taxonomy.objects.all(),
         slug_field='tax_id',
@@ -49,6 +54,6 @@ class TaxonomySerializer(serializers.ModelSerializer):
     class Meta:
         model = Taxonomy
         fields = (
-            'tax_id', 'name', 'rank', 'parent_tax_id',
+            'tax_id', 'name', 'rank', 'parent_tax_id', 'superkingdom',
             'kingdom', 'phylum', 'class_rank', 'order', 'family', 'genus', 'species',
         )
diff --git a/backend/scripts/populate_db/import_ncbi_taxonomy.py b/backend/scripts/populate_db/import_ncbi_taxonomy.py
index 3206c02fd85e41e39435f261de36e4852e25ab37..cc8b8ebc5749aaab0e2bbde85cac8f216df30173 100755
--- a/backend/scripts/populate_db/import_ncbi_taxonomy.py
+++ b/backend/scripts/populate_db/import_ncbi_taxonomy.py
@@ -18,6 +18,8 @@ from metagenedb.apps.catalog.serializers import TaxonomySerializer  # noqa
 logging.basicConfig(level=logging.INFO)
 _LOGGER = logging.getLogger(__name__)
 
+SELECT_RELATED_PARENT = "parent{}".format("__parent" * 40)
+
 
 def import_names(taxonomy_names_file, select_class="scientific name"):
     """
@@ -62,21 +64,30 @@ def update_taxo_nodes(taxonomy_nodes_file):
                 _LOGGER.warning(f"Invalid data: {serializer.errors}. Link to parent skipped. Data: {serializer.data}")
 
 
-def build_hierarchy():
+def _build_hierarchy(taxo):
+    hierarchy = taxo.build_parental_hierarchy()
+    if 'class' in hierarchy.keys():
+        hierarchy['class_rank'] = hierarchy.pop('class')
+    serializer = TaxonomySerializer(taxo, hierarchy)
+    if serializer.is_valid():
+        serializer.save()
+    else:
+        _LOGGER.warning(f"Invalid data: {serializer.errors}. Building hierarchy skipped. Data: {serializer.data}")
+
+
+def build_all_hierarchy(chunk_size=8000):
     """
     Uses class method from Taxonomy model to retrieve the parental hierarchy and
     assign corresponding attribute to each entry.
     """
     _LOGGER.info(f"Linking taxonomy objects to parental nodes from direct parental nodes...")
-    for taxo in Taxonomy.objects.all():
-        hierarchy = taxo.build_parental_hierarchy()
-        if 'class' in hierarchy.keys():
-            hierarchy['class_rank'] = hierarchy.pop('class')
-        serializer = TaxonomySerializer(taxo, hierarchy)
-        if serializer.is_valid():
-            serializer.save()
-        else:
-            _LOGGER.warning(f"Invalid data: {serializer.errors}. Building hierarchy skipped. Data: {serializer.data}")
+    all_taxo = Taxonomy.objects.select_related(SELECT_RELATED_PARENT).all()
+    cpt = 0
+    for taxo in all_taxo.iterator(chunk_size=chunk_size):
+        _build_hierarchy(taxo)
+        cpt += 1
+        if cpt % 10000 == 0:
+            _LOGGER.info(f"{cpt}/{all_taxo.count()} hierachies built...")
 
 
 def parse_arguments():
@@ -99,7 +110,7 @@ def run():
     taxonomy_names = import_names(args.names)
     create_taxo_nodes(args.nodes, taxonomy_names)
     update_taxo_nodes(args.nodes)
-    build_hierarchy()
+    build_all_hierarchy()
 
 
 if __name__ == "__main__":
diff --git a/docker-compose.yaml b/docker-compose.yaml
index 40ead5c03b73e8a0fc44624ced682970d6ec77a5..c07eb43b79423345c6c72ad5ac12683017f8bf8a 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -20,6 +20,7 @@ services:
       - main
 
   db:
+    shm_size: '2gb'
     container_name: db
     image: postgres:latest
     ports: