473,412 Members | 3,015 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

ESE parallel db - how to drop a node from nodegroup

Dear all
I want to drop a node from a nodegroup. Can someone confirm if its
enough to redistribute a node group with a partition map which doesn't
include the node to be dropped?

I can't see any other way to drop node 3 from my setup of 5 nodes than
to make a partmap file, DNODE_tmap, formatted so
1
2
4
5
.... for 4096 lines, then do
db2 "redistribute database partition group DNODE using targetmap
DNODE_tmap "

This seems to work, but what is the "drop database partition" option
for? Is there, as I suspect a better way to do this? After I have done
the above command, the "alter database partition" command with drop
option isn't necessary.

thx for any help
Charles
Nov 12 '05 #1
1 4532
I think you are heading the in the right direction ... the redistribute command can be used not only to move the data, but also can be used to drop the partition from the system. You can also use the ALTER DATABASE PARTITION GROUP command to drop the partition once the data is moved. You can use the DROP DBPARTITIONNUM VERIFY command to ensure the partition can now be removed. For more details I refer you to the DB2 UDB V8.1 Command Reference.

Good luck!

--

Bob
Consulting I/T Specialist
IBM Toronto Lab
IBM Software Services for Data Management
[My comments are solely my own and are not meant to represent an official IBM position - ask my cat!]
"riehe" <cw***@europe.com> wrote in message news:21**************************@posting.google.c om...
Dear all
I want to drop a node from a nodegroup. Can someone confirm if its
enough to redistribute a node group with a partition map which doesn't
include the node to be dropped?

I can't see any other way to drop node 3 from my setup of 5 nodes than
to make a partmap file, DNODE_tmap, formatted so
1
2
4
5
... for 4096 lines, then do
db2 "redistribute database partition group DNODE using targetmap
DNODE_tmap "

This seems to work, but what is the "drop database partition" option
for? Is there, as I suspect a better way to do this? After I have done
the above command, the "alter database partition" command with drop
option isn't necessary.

thx for any help
Charles
Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: EggHead | last post by:
Hi all, I am trying to implement Drag and Drop with my TreeView Control. The problem is, when I click on a node, drag it, and drop it to other node. The dropped node does not hold the drop...
9
by: Wang, Jay | last post by:
Hello, all, I would like to enable some text between <SPAN url="http://www.testserver.com/">WORD TO BE DRAGGED </SPAN>. I put some javascript and it will extract http://www.testserver.com/ from...
0
by: Norbert Heidbüchel | last post by:
Hi all, I have read a lot of postings and web pages about drag and drop and treeviews, but could not find an answer to my problem. Sorry, if I missed something. I am trying to drag and drop...
126
by: ramyach | last post by:
Hi friends, I need to write a parallel code in 'C' on the server that is running SGI Irix 6.5. This server supports MIPS Pro C compiler. I don't have any idea of parallel C languages. I looked...
1
by: Terry Olsen | last post by:
My first time using TreeViews. I have TreeView1 set up to display my directory structure just like Windows Explorer. I can drag & drop files and folders over to TreeView2. I can re-arrange the...
4
by: Visu | last post by:
DB2 v7.2 EEE on AIX I am trying to redistribute the data for a table that is skewed and wondering if the output of db2gpmap is optimized or is it just displaying the current information? I also...
1
by: kidelectric | last post by:
The issue I am having is that I would like to be able to drag-and-drop div elements that have rounded corners.* Since these elements will be dynamically created (including background color), I could...
22
by: Archanak | last post by:
Hi, I am using 2-level CSS Drop Down Menu in my perl/CGI program. here is the code. #!c:/perl/bin/perl.exe use CGI qw(:standard);
1
by: mjm2114 | last post by:
Hi there, I have a question on a naive implementation of a parallel MT that I've done using the fortran version of MT19937ar.f posted in Prof. Matsumoto's website....
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.