PostgreSQL locking mode
问题 From this doc http://www.postgresql.org/docs/current/static/explicit-locking.html I knew PostgreSQL provides various lock modes to control concurrent access to data in tables. My problem is I have many sessions will accessing my DB , but I'm confuse should I made 1 big table with 40 column or many tables with fewer column (one to one relationship). Because when I select the data I will select all of it ---> it takes more time when I select from many tables using INNER JOIN, but it takes less