Unix Technical Forum

Copy chunk to another drive

This is a discussion on Copy chunk to another drive within the Informix forums, part of the Database Server Software category; --> Hi everybody, We have a client with a 500GB IDS 7.3 DB. The client needs to move some dbspaces ...


Go Back   Unix Technical Forum > Database Server Software > Informix

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 07:17 PM
Manuel Daponte
 
Posts: n/a
Default Copy chunk to another drive

Hi everybody,

We have a client with a 500GB IDS 7.3 DB. The client needs to move some dbspaces (about 40GB) to a new set of drives. Which options
of the following do you prefer:

1- Can I create the new devices and then use "dd" with the DB off-line to copy the chunks to the new devices?

2- Can I create the new devices, perform a full backup, change the links of the chunks to the new devices and the restore ONLY the
dbspaces that I want to move?

3-Or should I use the traditional method: perform a full backup, change the links of the chunks to the new devices and the restore
the bull backup? (My last option, due to the size of the DB and the time required)

Thanks in advance for your help !!!

--
Manuel A. Daponte Santiago
--------------------------
Systems Consultant
GM Group



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-19-2008, 07:17 PM
Obnoxio The Clown
 
Posts: n/a
Default Re: Copy chunk to another drive

Manuel Daponte wrote:

> Hi everybody,
>
> We have a client with a 500GB IDS 7.3 DB. The client needs to move some
> dbspaces (about 40GB) to a new set of drives. Which options of the
> following do you prefer:
>
> 1- Can I create the new devices and then use "dd" with the DB off-line to
> copy the chunks to the new devices?
>
> 2- Can I create the new devices, perform a full backup, change the links
> of the chunks to the new devices and the restore ONLY the dbspaces that I
> want to move?
>
> 3-Or should I use the traditional method: perform a full backup, change
> the links of the chunks to the new devices and the restore the bull
> backup? (My last option, due to the size of the DB and the time required)


Create the new dbspaces.
Use ALTER FRAGMENT to move the data.
Drop the old dbspaces.
Or do you want to keep the same dbspace names?

--
Ciao,
The Obnoxious One

"Ogni uomo mi guarda come se fossi una testa di cazzo"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-19-2008, 07:17 PM
Manuel Daponte
 
Posts: n/a
Default Re: Copy chunk to another drive


It's a SAP installation. I think that the client wants to keep the same names for the dbspaces. Anyway, Timothy Brown sent me an
e-mail with a good idea:

Provided that you have links to the raw devices, you might want to use
Informix mirroring to do the trick:
1. mirror the dbspace with the mirror on the new devices
2. after mirror is setup, during maintenance, shutdown the system
3. switch the links
4. startup the db and drop the mirror

--
Manuel A. Daponte Santiago
--------------------------
Systems Consultant
GM Group


"Obnoxio The Clown" <obnoxio@hotmail.com> wrote in message news:bo656a$17ul2n$2@ID-64669.news.uni-berlin.de...
Manuel Daponte wrote:

> Hi everybody,
>
> We have a client with a 500GB IDS 7.3 DB. The client needs to move some
> dbspaces (about 40GB) to a new set of drives. Which options of the
> following do you prefer:
>
> 1- Can I create the new devices and then use "dd" with the DB off-line to
> copy the chunks to the new devices?
>
> 2- Can I create the new devices, perform a full backup, change the links
> of the chunks to the new devices and the restore ONLY the dbspaces that I
> want to move?
>
> 3-Or should I use the traditional method: perform a full backup, change
> the links of the chunks to the new devices and the restore the bull
> backup? (My last option, due to the size of the DB and the time required)


Create the new dbspaces.
Use ALTER FRAGMENT to move the data.
Drop the old dbspaces.
Or do you want to keep the same dbspace names?

--
Ciao,
The Obnoxious One

"Ogni uomo mi guarda come se fossi una testa di cazzo"



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:27 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com