From mark.steben at drivedominion.com Thu Apr 28 18:09:24 2016 From: mark.steben at drivedominion.com (Mark Steben) Date: Thu, 28 Apr 2016 21:09:24 -0400 Subject: [Slony1-general] moving sl_log_1 and sl_log_2 tables Message-ID: Good evening, We run slony 2.2.3 on a postgres 9.2 platform. We would like to move the sl_log_1 and sl_log_2 off the primary lun where the rest of the sl% tables and the rest of the database. The reason being is that we run processes that bloat these tables. We'd like to move them to a less full lun if possible. Could it be as simple as copying the tables to the new lun and creating a synonym on the old lun pointing to the copied table? Any suggestions/recommendations welcome. Thanks -- *Mark Steben* Database Administrator @utoRevenue | Autobase CRM division of Dominion Dealer Solutions 95D Ashley Ave. West Springfield, MA 01089 t: 413.327-3045 f: 413.383-9567 www.fb.com/DominionDealerSolutions www.twitter.com/DominionDealer www.drivedominion.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.slony.info/pipermail/slony1-general/attachments/20160428/4030ad27/attachment.htm From glynastill at yahoo.co.uk Fri Apr 29 03:07:23 2016 From: glynastill at yahoo.co.uk (Glyn Astill) Date: Fri, 29 Apr 2016 10:07:23 +0000 (UTC) Subject: [Slony1-general] moving sl_log_1 and sl_log_2 tables In-Reply-To: References: Message-ID: <783258855.7128846.1461924443454.JavaMail.yahoo@mail.yahoo.com> > From: Mark Steben >To: slony >Sent: Friday, 29 April 2016, 2:09 >Subject: [Slony1-general] moving sl_log_1 and sl_log_2 tables > > > >Good evening, > > >We run slony 2.2.3 on a postgres 9.2 platform. We would like to move the sl_log_1 and sl_log_2 off the primary lun where the rest of the sl% tables and the rest of the database. >The reason being is that we run processes that bloat these tables. We'd like to move them to a less full lun if possible. Could it be as simple as copying the tables to the new lun and creating a synonym on the old lun pointing to the copied table? > > >Any suggestions/recommendations welcome. Thanks > If I'm understanding right, you probably want to create a tablespace on your new lun and then just move the tables over with ALTER TABLE SET TABLESPACE. See: http://www.postgresql.org/docs/current/static/sql-createtablespace.html http://www.postgresql.org/docs/current/static/sql-altertable.html Glyn