database - Postgresql pagination -


i came know postgresql pagination (using limit , offset) damn slow, unfortunately, late me understand this, because 1 of small web app project uses db , development over.

i have seen few workarounds in , other sites, of them uses indexes , things that. not suit me because have create many indexes (there few dozens of tables) tables , have rewrite queries. question :

  1. is there way can avoid without spending more time (creating indexes , rewriting query, etc) ? mean, simple workaround ?

  2. i have not felt slow mysql (and guess, oracle), hence, postgresql people improving in future versions ? or won't @ ? (if have plan, keep on postgresql, if not go mysql, because typical web app/erp have lot of pagination requirements, , not wise work basic need)

pagination?.. if mean limit offset quite fast. comparing limit rownum of oracle, limit n,o in mysql... quite same in aspects

so answers be:

  1. without spending time - nothing happen
  2. things being improved in every version. some.

nb


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -