You should add an index on the uri col of the db schema