Need to load the whole postgreSQL database into the RAM

后端 未结 5 1027
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-29 05:08

How do I put my whole PostgreSql database into the RAM for a faster access?? I have 8GB memory and I want to dedicate 2 GB for the DB. I have read about the shared buffers s

5条回答
  •  孤城傲影
    2020-12-29 05:44

    With only an 8GB database, if you've already optimized all the SQL activity and you're ready solve query problems with hardware, I suggest you're in trouble. This is just not a scalable solution in the long term. Are you sure there is nothing you can do to make substantial differences on the software and database design side?

提交回复
热议问题