473,466 Members | 1,367 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to find the nodes of a partitioned database?

11 New Member
As we know ,we can add a partition to instance without adding it to the database by editing the "db2nodes.cfg" when the instance is down and bringing up the instance. At this point the new partition is only added to the instance and it is not added to the databases in the instance.

My Question:
How to find the current nodes of a partitioned database?
Feb 25 '11 #1

✓ answered by Venkat G

$db2 list dbpartitionnums

The above command should work fine, it lists all the db partitions in the the output.

3 8026
victor deng
11 New Member
I will look into the syscat views:
select "DBPARTITIONNUM", "TYPE", "PATH"
from "SYSIBMADM"."DBPATHS" where type='DBPATH';
Mar 3 '11 #2
Venkat G
11 New Member
select "DBPARTITIONNUM", "TYPE", "PATH"
from "SYSIBMADM"."DBPATHS" where type='DBPATH';

The above command works fine if database is already created on all the nodes defined in db2nodes.cfg. But it gives the following error if database doesnot belong to any of the nodes in db2nodes.cfg.

SQL1031N The database directory cannot be found on the indicated file system.
SQLSTATE=58031
Mar 3 '11 #3
Venkat G
11 New Member
$db2 list dbpartitionnums

The above command should work fine, it lists all the db partitions in the the output.
Mar 6 '11 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: stabbert | last post by:
We are running DB2 UDB 8.1.6 in a partitioned environment where we have 8 physical nodes. We have a process that remotely connects to each individual node and loads some data. By setting the...
0
by: JK | last post by:
Hi all, if I use RECOVER to END OF LOGS on a partitioned database, will the necessary RESTORE#s for the non-catalog partitions run in parallel or one after the other ? Haven't found anything and...
1
by: joe | last post by:
how to find nodes at xml file without complete load the xml file since the file is very big!!
10
by: shsandeep | last post by:
The ETL application loaded around 3000 rows in 14 seconds in a Development database while it took 2 hours to load in a UAT database. UAT db is partitioned. Dev db is not partitioned. the...
0
by: JPrichard | last post by:
I searched for this topic and already read this article: http://www.thescripts.com/forum/thread183687.html However while I wait for the DBA's here to respond to my e-mail, I wanted to make a...
3
by: Henrootje | last post by:
I have a database in which regurlarily tables are being created or deleted. This causes a lot of bloating. I set the property that causes the db to compress and repair at close but my users...
0
by: Muhammad Intikhab Qaiser | last post by:
Hi I need to find dependency information on procedures and functions, if this function is called from some other procedure or is dependent on a table What I need is 1.Which views...
1
by: plantem | last post by:
The database I have inherited contains comma's in some of it's data values, and I want to find all User tables/ columns with commas in the values. Other than writing long and painful T-Sql of ...
5
by: milecimm | last post by:
Hi I have a textbox that people would need to use to search a xml file. If a record is found with that worrd as keyword then the item is returned. I need to return ID, for example, but I dont seem...
1
by: fuadmab | last post by:
When i try to open the MS access program i get this message the microsoft jet database engine could not find objects database eventhou i opened in different computer thanks
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.