Indexed Database API

The Indexed Database API, or IndexedDB (formerly WebSimpleDB), is a World Wide Web Consortium (W3C) recommended[1] web browser standard interface for a transactional local database of JSON objects collections with indices. Websites can collect and save permanent (more) data in a database. W3C issued its final recommendation for the IndexedDB interface on January 8, 2015.[2]

Browser support

Preliminary support for IndexedDB is included by Firefox (since version 4[3]), Google Chrome (since version 11[4]), and by Internet Explorer 10 Consumer Preview and Metro style apps.[5] Apple announced support in Safari 8 for both iOS 8 and OS X at their WWDC 2014 Keynote on June 2, 2014.[6]

Safari, Chrome 4, and Opera support[7] an alternative mechanism for client-side database storage called Web SQL Database.[8] On November 18, 2010, the W3C announced that the Web SQL database specification has reached an impasse and is no longer being actively worked on.[9] Firefox developers have publicly stated that the lack of WebSQL Database support in Firefox is on purpose, as they believe it is a problematic standard which requires an alternative (hence IndexedDB).[10]

Use cases

IndexedDB can be used for browser implemented functions, such as bookmarks, as well as web applications, such as email. An open-source reference implementation of the Indexed Database API exists for testing and experimentation purposes.[11]


IndexedDB is a transactional database embedded in the browser. The database is organized around the concept of collections of JSON objects similarly to NoSQL databases MongoDB or CouchDB. Each object is identified with a key generated during insert. An indexing system optimizes access to stored objects.[12]

See also


  1. "Indexed Database API". Retrieved 2011-02-18.
  2. "IndexedDB API". Retrieved 2015-12-04.
  3. "IndexedDB - MDC Doc Center". Retrieved 2011-02-18.
  4. "Web Platform Status". The Chromium Projects. 2012-05-21. Retrieved 2012-05-24.
  5. IndexedDB, MSDN, 2012-03-14, retrieved 2012-05-24
  6. "What's New in macOS". Apple. Retrieved 2017-07-09.
  7. Shankland, Stephen (2010-03-12). "Consensus emerges for key Web app standard | Deep Tech - CNET News". Retrieved 2011-02-18.
  8. "Web SQL Database". 2010-11-18. Retrieved 2011-02-18.
  9. "W3C Working Group Note 18 November 2010".
  10. "Well, I'm Back: Not Implementing Features Is Hard". Retrieved 2011-02-18.
  11. "indexeddb - Project Hosting on Google Code". Retrieved 2011-02-18.
  12. Nelson, Anne Fulcher, and Nelson, William Harris Morehead. (2001). Building Electronic Commerce with Web Database Constructions. Boston, MA: Addison Wesley.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.