1. 18 12月, 2005 2 次提交
    • B
      Add mention of possible patent problems with star joins, per Joshua · 16843ba3
      Bruce Momjian 提交于
      Drake:
      
      <   and merge the bitmaps to perform the join on the fact table.
      >   and merge the bitmaps to perform the join on the fact table.  Some
      >   of these algorithms might be patented.
      16843ba3
    • B
      Add: · 9e9a844f
      Bruce Momjian 提交于
      * Allow star join optimizations
      
        While our bitmap scan allows multiple indexes to be joined to get
        to heap rows, a star joins allows multiple dimension _tables_ to
        be joined to index into a larger main fact table.  The join is
        usually performed by either creating a cartesian product of all
        the dimmension tables and doing a single join on that product or
        using subselects to create bitmaps of each dimmension table match
        and merge the bitmaps to perform the join on the fact table.
      9e9a844f
  2. 17 12月, 2005 10 次提交
  3. 16 12月, 2005 1 次提交
    • T
      Rethink prior patch to filter out dead backend entries from the pgstats · fb3dbdf9
      Tom Lane 提交于
      file.  The original code probed the PGPROC array separately for each PID,
      which was not good for large numbers of backends: not only is the runtime
      O(N^2) but most of it is spent holding ProcArrayLock.  Instead, take the
      lock just once and copy the active PIDs into an array, then use qsort
      and bsearch so that the lookup time is more like O(N log N).
      fb3dbdf9
  4. 15 12月, 2005 2 次提交
  5. 12 12月, 2005 5 次提交
    • B
      Use a proper enum for tri-valued variables. · f82e2bae
      Bruce Momjian 提交于
      f82e2bae
    • B
      Document tri-valued variables in createdb, +1, -1, 0. · 59b89e9c
      Bruce Momjian 提交于
      59b89e9c
    • B
      Update wording, query -> statement: · baf4e187
      Bruce Momjian 提交于
      < * %Allow pooled connections to list all prepared queries
      > * %Allow pooled connections to list all prepared statements
      28c28
      <   the queries prepared in the current session.
      >   the statements prepared in the current session.
      143c143
      < 	  o Allow a warm standby system to also allow read-only queries
      > 	  o Allow a warm standby system to also allow read-only statements
      404c404
      < * Add GUC to issue notice about queries that use unjoined tables
      > * Add GUC to issue notice about statements that use unjoined tables
      490c490
      < 	  Another idea would be to allow actual SELECT queries in a COPY.
      > 	  Another idea would be to allow actual SELECT statements in a COPY.
      554c554
      < 	o Allow function argument names to be queries from PL/PgSQL
      > 	o Allow function argument names to be statements from PL/PgSQL
      591c591
      < 	o Improve psql's handling of multi-line queries
      > 	o Improve psql's handling of multi-line statements
      < 	  Currently, while \e saves a single query as one entry, interactive
      < 	  queries are saved one line at a time.  Ideally all queries
      > 	  Currently, while \e saves a single statement as one entry, interactive
      > 	  statements are saved one line at a time.  Ideally all statements
      665c665
      < 	o Allow query results to be automatically batched to the client
      > 	o Allow statement results to be automatically batched to the client
      667c667
      < 	  Currently, all query results are transfered to the libpq
      > 	  Currently, all statement results are transfered to the libpq
      672c672
      < 	  One complexity is that a query like SELECT 1/col could error
      > 	  One complexity is that a statement like SELECT 1/col could error
      739c739
      < * Allow queries across databases or servers with transaction
      > * Allow statements across databases or servers with transaction
      <   inheritance, allow it to work for UPDATE and DELETE queries, and allow
      <   it to be used for all queries with little performance impact
      >   inheritance, allow it to work for UPDATE and DELETE statements, and allow
      >   it to be used for all statements with little performance impact
      876c876
      < * Consider automatic caching of queries at various levels:
      > * Consider automatic caching of statements at various levels:
      947c947
      <   a single session using multiple threads to execute a query faster.
      >   a single session using multiple threads to execute a statement faster.
      1025c1025
      < * Log queries where the optimizer row estimates were dramatically
      > * Log statements where the optimizer row estimates were dramatically
      1146c1146
      < 	  of result sets using new query protocol
      > 	  of result sets using new statement protocol
      baf4e187
    • T
      Improve support of multibyte encoding: · cb4ea994
      Teodor Sigaev 提交于
      - tsvector_(in|out)
      - tsquery_(in|out)
      - to_tsvector
      - to_tsquery, plainto_tsquery
      - 'simple' dictionary
      cb4ea994
    • T
      Divide the lock manager's shared state into 'partitions', so as to · ec0baf94
      Tom Lane 提交于
      reduce contention for the former single LockMgrLock.  Per my recent
      proposal.  I set it up for 16 partitions, but on a pgbench test this
      gives only a marginal further improvement over 4 partitions --- we need
      to test more scenarios to choose the number of partitions.
      ec0baf94
  6. 11 12月, 2005 3 次提交
  7. 10 12月, 2005 9 次提交
  8. 09 12月, 2005 8 次提交