[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-496754-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-496754-en":131},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","applications-of-the-ase-database-calculational-workflows-and-data-sharing","Applications of the ASE database - calculational workflows and data sharing","","Applications of the ASE database outlines how structured storage and querying enable efficient calculational workflows and reliable data sharing for increasing volumes of DFT results. It motivates the need for databases, introduces ASE database concepts, and explains local handling of atomic structures and calculations as well as server-side open databases. The material covers SQL-based querying with schema design, row tracking, parsed outputs, command-line and web-app usage, and mentions future improvements including machine-learning workflows.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/applications-of-the-ase-database-calculational-workflows-and-data-sharing/496754/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/applications-of-the-ase-database-calculational-workflows-and-data-sharing/496754.png","ImageObject",300,407,{"name":42,"@type":43},"MrHarris58","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-05","2026-10-02",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",13,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"Why is a database needed for DFT workflows?","Question",{"text":63,"@type":64},"To share and handle an increasing amount of DFT data efficiently across users and projects.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does ASE support querying of stored calculations?",{"text":68,"@type":64},"ASE uses SQL with well-defined tables, allowing commands to select, write, update, or delete data.",{"name":70,"@type":61,"acceptedAnswer":71},"What kinds of backends are mentioned for ASE databases?",{"text":72,"@type":64},"Local backends and server-side backends are discussed, including PostgreSQL and NoSQL-style approaches such as JSONB for flexible data storage.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},496754,1791284431,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,111,115,120,123,127],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":107,"doc_module":4,"doc_module_name":25,"category_name":108,"show_sort_weight":109,"slug":110},7,"Healthcare",40,"healthcare",{"id":112,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":113,"slug":114},8,30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":124,"doc_module":4,"doc_module_name":25,"category_name":125,"show_sort_weight":124,"slug":126},10,"Lifestyle","lifestyle",{"id":128,"doc_module":4,"doc_module_name":25,"category_name":129,"show_sort_weight":97,"slug":130},19,"General","general",{"code":4,"msg":82,"data":132},{"doc_id":79,"user_id":133,"nickname":42,"user_avatar":134,"doc_module":4,"category_id":112,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":140,"language":141,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":12,"update_tm":145,"read_time":146,"preview_page_count":33,"preview_urls":147},687212988360,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","Applications of the ASE database  \ncalculational workflows and data sharing  \nKirsten Winther  \nPostdoc, SLAC, Stanford University Nov 19th 2019  \nWhy do we need databases?  \n• Sharing and handling increasing amount of DFT data.  \nNumber of publications  \n“Density functional theory” on Web of  \nScience  \n18000  \n16000  \n14000  \n12000  \n100008000  \n6000  \n4000  \n2000  \n0  \nOutline  \n• Introduction to the ASE database.  \n• Application of the database  \n• Local handling of atomic structures and calculations  \n• Server side open databases – [catalysis-hub.org](catalysis-hub.org)  \n• Machine learning workflows  \n• Suggested improvements and future plans.  \nSQL?  \n• ASE uses Structured Query Language (SQL)  \n• Data is organized in well-defined tables.  \n• Commands to efficiently select, write, update or delete. sqlite > SELECT * FROM systems WHERE energy \u003C -10 AND fmax \u003C 0.01;  \n• Local backends:   \n• Server side backends:    \n• NoSQL (key value pair databases)   \n• No fixed database schema/structure- > high flexibility and scalability  \n• PostgreSQL also has NoSQL-like features (JSONB data type)  \nDatabase structure (schema)  \nRow tracking  \nAtoms object  \nCalculator settings  \nCalculator outputs  \nParsed outputs used for querying  \nsystems   \n id INTEGER   unique_id TEXT  ctime REAL mtime REAL   username TEXT   numbers Array(BLOB)   positions Array(BLOB)  cell Array(BLOB)  pbc INTEGER   initial_magmoms Array(BLOB)  initial_charges Array(BLOB)  masses Array(BLOB)  tags Array(BLOB)  momenta Array(BLOB)  constraints TEXT   calculator TEXT  calculator_parameters JSONB(TEXT)  energy REAL   free_energy REAL   forces Array(BLOB)  stress Array(BLOB)  dipole Array(BLOB)  magmoms Array(BLOB)  \n magmom REAL   charges Array(BLOB)  key_value_pairs JSONB(TEXT)   data JSONB(BLOB)  \n natoms INTEGER   fmax REAL   smax REAL   volume REAL   mass REAL   charge REAL   \ninformation  \nname TEXT  \nvalue REAL  \nkeys  \nkey TEXT id INTEGER  \nspecies  \nZ INTEGER n INTEGER id INTEGER  \ntext_key_values  \nkey TEXT  \nvalue TEXT  \nid INTEGER  \nnumber_key_values  \nkey TEXT  \nvalue REAL  \nid INTEGER  \nTables used for querying (Not needed in PostgreSQL)  \nUser defined key value pairs.  \nExtra data  \n6  \nA simple use example  \n\\#!/ usr/bin/env python3  \nfrom ase .db import connect  \ndb = connect(’dbname.db’) . \\# SQLite3 backend db.write(atoms,  \nkey_value_pairs={‘relaxed’:1, adsorbate: ‘C’} data={‘vib ’: frequency_array})  \n\\# Select rows  \nfor row in [db.select](db.select) (‘Cu’, ‘O>3’, adsorbate=‘C’):  \nprint( [row.id](row.id) )  \nprint( [row.energy](row.energy) )  \nprint( row.forces)  \nMore examples at [https://wiki.fysik.dtu.dk/ase/tutorials/db/db.html](https://wiki.fysik.dtu.dk/ase/tutorials/db/db.html) 7  \nCommand line interface  \nView and sort calculations:  \nO  \n$ ase db AB2 .db completed=1,relaxed=1-s Ef-c formula,p_name,energy,Ef,fmax,smax  \nformula|p_name | energy| Ef | fmax | smax  \nTi2O4 |AB2_ 2_a_c_ 102 |-49.776|-8.476|0.008|0 .038 Ti2O4 |AB2_ 2_d_j_ 84 |-49.766|-8.475|0.150|0 .059 Ti4O8 |AB2_ 4_b_f_ 64 |-97.931|-8.341|0.013|0 .034 Ti4O8 |AB2_ 4_j_lk_ 131|-97.738|-8.325|0.020|0 .031 Ti4O8 |AB2_ 4_a_c_ 205 |-97.198|-8.280|0.007|0 .032 Ti2O4 |AB2_ 2_a_b_ 224 |-48.386|-8.245|0.000|0 .032 Ti4O8 |AB2_ 2_a_b_ 224 |-96.771|-8.245|0.002|0 .033  \nRun local web-app: View structures in ASE gui:  \n$ ase db AB2 .db-w $ ase gui name .db@id=30  \nServer side databases using ASE db  \n• Computational Materials Repository: [http://cmr.fysik.dtu.dk](http://cmr.fysik.dtu.dk)  \n• Katladb:  [https://nano.ku.dk/english/research/theoretical](https://nano.ku.dk/english/research/theoretical)electrocatalysis/katladb/  \n•  Catalysis-hub: [http://www.catalysis-hub.org](http://www.catalysis-hub.org)  \n[www.catalysis](www.catalysis)[hub.org](hub.org)  \nWinther, K.T. , Hoffmann, M. J. , Mamun, O. , Boes, J. R, Bajdich, M, Bliggaard, T. Scientific Data (2019)","cbCaik6ery0dyQZk","https://ap.wps.com/l/cbCaik6ery0dyQZk","pdf",9176910,27,"English","# Why do we need databases?\n# Outline\n## Introduction to the ASE database\n## Application of the database\n## Local handling of atomic structures and calculations\n## Server side open databases\n## Machine learning workflows\n## Suggested improvements and future plans\n# SQL?\n# Database structure (schema)\n# Tables used for querying\n# A simple use example\n# Command line interface\n# Server side databases using ASE db","[{\"question\":\"Why is a database needed for DFT workflows?\",\"answer\":\"To share and handle an increasing amount of DFT data efficiently across users and projects.\"},{\"question\":\"How does ASE support querying of stored calculations?\",\"answer\":\"ASE uses SQL with well-defined tables, allowing commands to select, write, update, or delete data.\"},{\"question\":\"What kinds of backends are mentioned for ASE databases?\",\"answer\":\"Local backends and server-side backends are discussed, including PostgreSQL and NoSQL-style approaches such as JSONB for flexible data storage.\"}]","Applications of the ASE database - calculational workflows and data sharing | PDF",1790939505,68,[148,152,155,159],{"page_no":22,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/6cbfe54a54f38f9663baa1a0b91f0954.webp",983,736,{"page_no":26,"url":153,"width":154,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/04b55a25e91f097b0e8a1a81ac6a4150.webp",982,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/3e7449ddd3c57ea661f8895af8cc231c.webp",981,735,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/c387df222150575735aff86b13f698f6.webp",980,734]