Shared Memory/Shared Buffers

Ask a Question related to PostgreSQL / PGSQL, Design and Development.

  1. #1

    Default Shared Memory/Shared Buffers

    I have noticed that I can't set the shared buffers above 15512 which
    is exactly 128MB of RAM. Even if I set /proc/sys/kernel/shmmax above
    that, postgres refuses to start with a setting over 128MB.

    Anyone have any ideas about this?

    I guess there are a couple of questions - would I ever need a shared
    buffers setting over 128MB? And if I do, how can I set it? The
    database performs a lot of searches that are very heavy on seq scans
    on a couple of tables, one with 35k rows that joins agains one with 2m
    rows. The results are always sorted.

    The system is Running SuSe 9.2 with kernel 2.6.8 on 2xAMD Opteron with 4GB RAM

    Alex Turner
    NetEconomist

    ---------------------------(end of broadcast)---------------------------
    TIP 5: Have you checked our extensive FAQ?

    [url]http://www.postgresql.org/docs/faq[/url]

    Alex Turner Guest

  2. Similar Questions and Discussions

    1. Shared memory and Mac OS X
      The problem with not being able to set shmmax and shmall in a startup script in Mac OS X is not that you are setting them too late in the boot...
    2. Shared video memory
      Hello. I want to buy a new notebook and I'm going to install FH MX & PS 8(phtoshop8) in it.I wonder if you can direct me.I want to buy Toshiba...
    3. Shared memory. Error.
      Hi, - When starting informix the following error appears: 12:52:14 Informix Dynamic Server 2000 Initialized -- Shared Memory Initialized....
    4. Shared memory in OS X?
      I am porting an app from Classic to OS X...and the biggest problem I've run into is how to get live notification of changes to prefs. The app...
    5. I think I need a DB with no shared memory
      Whilst installing DBD::Informix, I encountered the following problem bash-2.03# esql -o esqlbasic esqlbasic.ec bash-2.03# ./esqlbasic...
  3. #2

    Default Re: Shared Memory/Shared Buffers

    Alex Turner <armtuk@gmail.com> writes:
    > I have noticed that I can't set the shared buffers above 15512 which
    > is exactly 128MB of RAM. Even if I set /proc/sys/kernel/shmmax above
    > that, postgres refuses to start with a setting over 128MB.
    Check your shmall setting, too.

    regards, tom lane

    ---------------------------(end of broadcast)---------------------------
    TIP 6: Have you searched our list archives?

    [url]http://archives.postgresql.org[/url]

    Tom Lane Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139