4

I'm using HTML 5 Web SQL database in Safari. I'm setting the database size to 5 MB. After creating database the size increased, but I can't find out the new size of the database. Where can I find the size of the database after creation?

phs
  • 10,687
  • 4
  • 58
  • 84
Ramasamy Kanna
  • 794
  • 3
  • 11
  • 32

1 Answers1

6

The database is stored on the client in different places:

  • Windows: /Users/{user}/AppData/Apple Computer/Safari/Databases
  • Safari: ~/Library/Safari/Databases

There is a master database file in this folder that points to your database in the relevant subfolder. You can see the size of the database in Explorer/Finder. I find, however, that the size of the database is dependent on the platform (and the database size varies greatly between Safari and Chrome).

Chuck Han
  • 594
  • 1
  • 6
  • 12