![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
From RTFM, I found that I have to first use extenddb to make this a known work location for the database and then I can relocate to it...which is unlike moving the checkpoint, dump or journal. |
#2
| |||
| |||
|
|
Hi All, I've defined an alternate work location (ii_work_2). I'd like to alter a database to use just that work location and not the standard under II_WORK. So having defined the work location to the installation, I thought a simple relocatedb would work… relocatedb bowtest -new_work_location=ii_work_2 Wed May 27 15:26:27 2009 E_DM1503_RELOC_NEWLOC_NOTFOUND New location not found. Wed May 27 15:26:27 2009 E_DM1507_RELOC_ERR Error occurred while processing the WORK relocation request. From RTFM, I found that I have to first use extenddb to make this a known work location for the database and then I can relocate to it…which is unlike moving the checkpoint, dump or journal. So… extenddb bowtest -Uwork -lii_work_2 relocatedb bowtest -new_work_location=ii_work_2 Which works without error, but when I check with infodb the database has both work locations defined. Am I doing something wrong, or have I misinterpretted what relocatedb -new_work_location does? Ingres Version is: II 9.0.4 (a64.lnx/105)NPTL + p12707 Martin Bowes _______________________________________________ Info-Ingres mailing list Info-Ingres (AT) kettleriverconsulting (DOT) com http://www.kettleriverconsulting.com...fo/info-ingres |
#3
| |||
| |||
|
|
Hi Guys, I was just about to try unextendb and see what happens…and it does the trick without any need to use relocatedb… So there is probably a doc bug…maybe. Also when I have more than one work location for a database and they are of radically different sizes. And then I try to modify a large table. Will the system work in both locations simultaneously and not bitch when it fills the first location up? I might have to try that to find out for sure. Marty *From:* info-ingres-bounces (AT) kettleriver...ting (DOT) com [mailto: info-ingres-bounces (AT) kettleriver...ting (DOT) com] *On Behalf Of *Peter Gale *Sent:* 27 May 2009 15:49 *To:* Ingres and related product discussion forum *Subject:* Re: [Info-Ingres] relocating a work location Marty, There may be a doc issue there. My understanding was that -new_work_location was only used when using relocatedb to create a new database. I have not tried this but you may be able to use unextenddb to remove the old work location. Failing that you could make it an Auxillary Work location for that database in accessdb so that it is not used by default. Peter Gale Ingres Corp. 2009/5/27 Martin Bowes <martin.bowes (AT) ctsu (DOT) ox.ac.uk Hi All, I've defined an alternate work location (ii_work_2). I'd like to alter a database to use just that work location and not the standard under II_WORK. So having defined the work location to the installation, I thought a simple relocatedb would work… relocatedb bowtest -new_work_location=ii_work_2 Wed May 27 15:26:27 2009 E_DM1503_RELOC_NEWLOC_NOTFOUND New location not found. Wed May 27 15:26:27 2009 E_DM1507_RELOC_ERR Error occurred while processing the WORK relocation request. From RTFM, I found that I have to first use extenddb to make this a known work location for the database and then I can relocate to it…which is unlike moving the checkpoint, dump or journal. So… extenddb bowtest -Uwork -lii_work_2 relocatedb bowtest -new_work_location=ii_work_2 Which works without error, but when I check with infodb the database has both work locations defined. Am I doing something wrong, or have I misinterpretted what relocatedb -new_work_location does? Ingres Version is: II 9.0.4 (a64.lnx/105)NPTL + p12707 Martin Bowes _______________________________________________ Info-Ingres mailing list Info-Ingres (AT) kettleriverconsulting (DOT) com http://www.kettleriverconsulting.com...fo/info-ingres -- Peter Gale pgale61 (AT) gmail (DOT) com |
#4
| |||
| |||
|
|
From RTFM, I found that I have to first use extenddb to make this a known work location for the database and then I can relocate to it...which is unlike moving the checkpoint, dump or journal. |
![]() |
| Thread Tools | |
| Display Modes | |
| |