Skip to content
Snippets Groups Projects
  1. Apr 23, 2005
  2. Apr 22, 2005
  3. Apr 21, 2005
    • Tom Lane's avatar
      Rethink original decision to use AND/OR Expr nodes to represent bitmap · 14c7fba3
      Tom Lane authored
      logic operations during planning.  Seems cleaner to create two new Path
      node types, instead --- this avoids duplication of cost-estimation code.
      Also, create an enable_bitmapscan GUC parameter to control use of bitmap
      plans.
      14c7fba3
    • Bruce Momjian's avatar
      Updated text for bitmaps: · c6221db3
      Bruce Momjian authored
      <   Bitmap indexes index single columns that can be combined with other bitmap
      <   indexes to dynamically create a composite index to match a specific query.
      <   Each index is a bitmap, and the bitmaps are bitwise AND'ed or OR'ed to be
      <   combined.  They can index by tid or can be lossy requiring a scan of the
      <   heap page to find matching rows, or perhaps use a mixed solution where
      <   tids are recorded for pages with only a few matches and per-page bitmaps
      <   are used for more dense pages.  Another idea is to use a 32-bit bitmap
      <   for every page and set a bit based on the item number mod(32).
      
      >   This feature allows separate indexes to be ANDed or ORed together.  This
      >   is particularly useful for data warehousing applications that need to
      >   query the database in an many permutations.  This feature scans an index
      >   and creates an in-memory bitmap, and allows that bitmap to be combined
      >   with other bitmap created in a similar way.  The bitmap can either index
      >   all TIDs, or be lossy, meaning it records just page numbers and each
      >   page tuple has to be checked for validity in a separate pass.
      c6221db3
    • Bruce Momjian's avatar
      Done: · 631e0314
      Bruce Momjian authored
      < * Add tool to query pg_stat_* tables and report indexes that aren't needed
      <   or tables that might need indexes
      631e0314
    • Tom Lane's avatar
      Add note clarifying that indexes that support ordered scans had better · 1c155c8d
      Tom Lane authored
      allow clauseless scans.
      1c155c8d
  4. Apr 20, 2005
    • Bruce Momjian's avatar
      Add: · de4fbfad
      Bruce Momjian authored
      > * Add tool to query pg_stat_* tables and report indexes that aren't needed
      >   or tables that might need indexes
      de4fbfad
    • Bruce Momjian's avatar
      Add: · e5c7c051
      Bruce Momjian authored
      > * Log queries where the optimizer row estimates were dramatically
      >   different from the number of rows actually found (?)
      e5c7c051
    • Bruce Momjian's avatar
      Add: · 047b8a71
      Bruce Momjian authored
      > * All ability to monitor the use of temporary sort files
      047b8a71
  5. Apr 19, 2005
    • Bruce Momjian's avatar
      >>>>Luckily, PG 8 is available for this. Do you have a short example? · fa66de98
      Bruce Momjian authored
      >>>
      >>>No, and I think it should be in the manual as an example.
      >>>
      >>>You will need to enter a loop that uses exception handling to detect
      >>>unique_violation.
      >>
      >>Pursuant to an IRC discussion to which Dennis Bjorklund and
      >>Christopher Kings-Lynne made most of the contributions, please find
      >>enclosed an example patch demonstrating an UPSERT-like capability.
      >>
      
      David Fetter
      fa66de98
    • Bruce Momjian's avatar
      > >Luckily, PG 8 is available for this. Do you have a short example? · bd32a255
      Bruce Momjian authored
      >
      > No, and I think it should be in the manual as an example.
      >
      > You will need to enter a loop that uses exception handling to detect
      > unique_violation.
      
      Pursuant to an IRC discussion to which Dennis Bjorklund and
      Christopher Kings-Lynne made most of the contributions, please find
      enclosed an example patch demonstrating an UPSERT-like capability.
      
      David Fetter
      bd32a255
    • Bruce Momjian's avatar
      Update PITR wording, per Simon. · dd39dd23
      Bruce Momjian authored
      dd39dd23
  6. Apr 18, 2005
  7. Apr 17, 2005
  8. Apr 16, 2005
  9. Apr 14, 2005
    • Tom Lane's avatar
      First phase of project to use fixed OIDs for all system catalogs and · 7c13781e
      Tom Lane authored
      indexes.  Extend the macros in include/catalog/*.h to carry the info
      about hand-assigned OIDs, and adjust the genbki script and bootstrap
      code to make the relations actually get those OIDs.  Remove the small
      number of RelOid_pg_foo macros that we had in favor of a complete
      set named like the catname.h and indexing.h macros.  Next phase will
      get rid of internal use of names for looking up catalogs and indexes;
      but this completes the changes forcing an initdb, so it looks like a
      good place to commit.
      Along the way, I made the shared relations (pg_database etc) not be
      'bootstrap' relations any more, so as to reduce the number of hardwired
      entries and simplify changing those relations in future.  I'm not
      sure whether they ever really needed to be handled as bootstrap
      relations, but it seems to work fine to not do so now.
      7c13781e
  10. Apr 13, 2005
  11. Apr 12, 2005
  12. Apr 09, 2005
  13. Apr 08, 2005
  14. Apr 07, 2005
Loading