Skip to content
Snippets Groups Projects
  1. Dec 29, 2000
    • Bruce Momjian's avatar
      Attached are patches for two fixes to reduce memory usage by the JDBC · 49740c5f
      Bruce Momjian authored
      drivers.
      
      The first fix fixes the PreparedStatement object to not allocate
      unnecessary objects when converting native types to Stings.  The old
      code used the following format:
              (new Integer(x)).toString()
      whereas this can more efficiently be occompilshed by:
              Integer.toString(x);
      avoiding the unnecessary object creation.
      
      The second fix is to release some resources on the close() of a
      ResultSet.  Currently the close() method on ResultSet is a noop.  The
      purpose of the close() method is to release resources when the ResultSet
      is no longer needed.  The fix is to free the tuples cached by the
      ResultSet when it is closed (by clearing out the Vector object that
      stores the tuples).  This is important for my application, as I have a
      cache of Statement objects that I reuse.  Since the Statement object
      maintains a reference to the ResultSet and the ResultSet kept references
      to the old tuples, my cache was holding on to a lot of memory.
      
      Barry Lind
      49740c5f
  2. Dec 28, 2000
  3. Dec 27, 2000
    • Bruce Momjian's avatar
      Update TODO list. · 97799fc4
      Bruce Momjian authored
      Index: TODO
      ===================================================================
      RCS file: /home/projects/pgsql/cvsroot/pgsql/doc/TODO,v
      retrieving revision 1.309
      diff -r1.309 TODO
      3c3
      < Last updated:		Sat Dec 23 09:48:47 EST 2000
      ---
      > Last updated:		Wed Dec 27 00:44:44 EST 2000
      60a61,70
      > * Add replication of distributed databases [replication]
      > 	o automatic fallover
      > 	o load balancing
      > 	o master/slave replication
      > 	o multi-master replication
      > 	o partition data across servers
      > 	o sample implementation in contrib/rserv
      > 	o queries across databases or servers (two-phase commit)
      > * Point-in-time data recovery using backup and write-ahead log
      > * Allow row re-use without vacuum(Vadim)
      112c122
      < * Make file in/out interface to TOAST columns
      ---
      > * Make binary/file in/out interface for TOAST columns
      122a133
      > * Automatically create rules on views so they are updateable, per SQL92
      173c184
      < * allow psql \d to show temporary table schema
      ---
      > * allow psql \d to show temporary table structure
      195d205
      < * Add replication of distributed databases [replication]
      200a211,212
      > * Incremental backups
      > * Allow SQL92 schemas
      205d216
      < * Allow row re-use without vacuum(Vadim)
      229a241
      > * Allow Java server-side programming
      278a291
      > * Automatically keep clustering on a table
      329d341
      < ›5~
      97799fc4
  4. Dec 26, 2000
  5. Dec 23, 2000
  6. Dec 22, 2000
  7. Dec 21, 2000
Loading