Patent attributes
Described herein are methods, systems, and computer-readable storage media for automatic and efficient updating of databases and database schemas. Techniques include generating an identification of a task of an application associated with a database through a machine learning process for monitoring database activity. Further, patterns of the application's access to data stored in the database may be observed and provided along with the identified task to a feedback loop to identify changes in the application's access to data in a database. Techniques further include automatically updating a schema of the database based on the identified changes in the application's access to data stored in the database.