Hi
I am having a requirement to create a db in 2 out of 8 partitiones.
I have the following doubts.
1. should I create a new instance in 2 partitions alone (the present
instance spans 8 nodes)
2. or is there a way to create the db in 2 out of 8.
If I have to create a new instance, (its a BCU from IBM)
I;d be happy if someone would link a material (1st time I am working
in a partitioned env)
Should I execute db2icrt in each of the nodes??
Please help. 8 1628
On Apr 10, 8:50 pm, arunro...@gmail.com wrote:
Hi
I am having a requirement to create a db in 2 out of 8 partitiones.
I have the following doubts.
1. should I create a new instance in 2 partitions alone (the present
instance spans 8 nodes)
2. or is there a way to create the db in 2 out of 8.
If I have to create a new instance, (its a BCU from IBM)
I;d be happy if someone would link a material (1st time I am working
in a partitioned env)
Should I execute db2icrt in each of the nodes??
Please help.
Hi,
AFAIK with version 8 (LUW);
only option to address your requirement is the first option as already
mentioned by you.
Should I execute db2icrt in each of the nodes??
It depends if you are using single servers or multiple servers;
for a multipartitioned database on a single machine: you only have to
create a single instance (db2icrt) with the relevant entries in $HOME/
sqllib/db2nodes.cfg
Following is a good link to start with: http://www-128.ibm.com/developerwork.../dm-0507desai/
Cheers
Prakash Gautam
Thanks Prakash. This is a fresh start in new direction for me. ar*******@gmail.com wrote:
Hi
I am having a requirement to create a db in 2 out of 8 partitiones.
I have the following doubts.
1. should I create a new instance in 2 partitions alone (the present
instance spans 8 nodes)
2. or is there a way to create the db in 2 out of 8.
If I have to create a new instance, (its a BCU from IBM)
I;d be happy if someone would link a material (1st time I am working
in a partitioned env)
You could create the database on all 8 partitions, then adjust the partition
groups to include only the two partitions you want.
--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
On Apr 11, 10:10 am, Knut Stolze <sto...@de.ibm.comwrote:
arunro...@gmail.com wrote:
Hi
I am having a requirement to create a db in 2 out of 8 partitiones.
I have the following doubts.
1. should I create a new instance in 2 partitions alone (the present
instance spans 8 nodes)
2. or is there a way to create the db in 2 out of 8.
If I have to create a new instance, (its a BCU from IBM)
I;d be happy if someone would link a material (1st time I am working
in a partitioned env)
You could create the database on all 8 partitions, then adjust the partition
groups to include only the two partitions you want.
--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
This is what I am doing now. thank you
Knut Stolze wrote:
ar*******@gmail.com wrote:
>Hi I am having a requirement to create a db in 2 out of 8 partitiones. I have the following doubts. 1. should I create a new instance in 2 partitions alone (the present instance spans 8 nodes) 2. or is there a way to create the db in 2 out of 8. If I have to create a new instance, (its a BCU from IBM) I;d be happy if someone would link a material (1st time I am working in a partitioned env)
You could create the database on all 8 partitions, then adjust the partition
groups to include only the two partitions you want.
The problem is that you can't really do this. IBMTEMPGROUP is a
"hidden" (in the sense that it doesn't appear in syscat.nodegroups)
database partition group that includes ALL partitions in your instance.
All system temporary tablespaces exist in IBMTEMPGROUP (you can't get
away from this).
So, while you can restrict the data in a database to a single (or pair)
of partitions, your database still spans all partitions in the instance.
And you still need to back up all partitions.
So, your best option is to create a second instance that has only 2
partitions.
Hi All
Thank you for advising me onthis. I have did what you guys told,
put data in a partition map spanning 2 nodes. Now I have different
doubt.
In windows, if I change a db cfg and it needs me to restart - SQL1363W
msg, I can go into control center and actually see if the changes are
'Done' or are 'PENDING'.
Is there a way in linux to do the same?
Thank you
Arun ar*******@gmail.com wrote:
[...]
In windows, if I change a db cfg and it needs me to restart - SQL1363W
msg, I can go into control center and actually see if the changes are
'Done' or are 'PENDING'.
Is there a way in linux to do the same?
I assume you can do the same with the control center in linux (dont know
though). But here is how you can do it from the shell:
db2 connect to <db>
db2 get db cfg show detail | less -S
You'll get one column for "Current Value", and one for "Delayed Value"
/Lennart ar*******@gmail.com wrote:
Hi All
Thank you for advising me onthis. I have did what you guys told,
put data in a partition map spanning 2 nodes. Now I have different
doubt.
In windows, if I change a db cfg and it needs me to restart - SQL1363W
msg, I can go into control center and actually see if the changes are
'Done' or are 'PENDING'.
Is there a way in linux to do the same?
Connect to the database, and
db2 get db cfg for <yourdbshow detail
This will show "current" and "delayed" values. Delayed = value for next
restart.
Or use db2pd -db <yourdb-dbcfg, and compare memory value (active) and
disk value (config file - next restart).
Also, in a partitioned database, remember that the database
configuration is unique for each partition. So make sure you update the
config on all partitions (when applicable). This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Steve |
last post by:
This post has two parts. First is my feedback on sets. (Hello? Last
summer called, they want their discussion thread back...) Second is some
questions about my implementation of a partition...
|
by: Nick J Chackowsky |
last post by:
Wrote a python script to find the partitions of an integer (a list of
all the ways you can express n as a sum of integers). For example, the
partitions of 5 are
5
4+1
3+2
2+2+1
3+1+1
2+1+1+1...
|
by: RunLevelZero |
last post by:
I need a way to detect hard drives and their partitions... labels would
be nice too... I did some googling but did not find anything all too
useful. This will strictly be on Linux / Unix so any...
|
by: cantabile |
last post by:
Hi, I'd like to get drives and partitions (and their size too) with
python under Linux. So far, I thought of reading /proc/partitions but
maybe i could use fdsik also ?
How would I do that in...
|
by: Jack Li |
last post by:
Hi All,
I have DB2 EEE 7.2 12 db partitions running on AIX 5.1ML5 P690( one
server). The AIX workload manager is on. I started the same peoplesoft
job on all 12 nodes at the same time. But some...
|
by: Claude Henchoz |
last post by:
Hi
Is there any way of listing partitions on a (win32) computer without
using WMI?
Cheers, Claude
|
by: Gladiator |
last post by:
Hai all,
I have Db2 installed in a partition environment . There are 4 partitons
on which i created the instance. can any one tell me if i can create a
database on the required partitons .........
|
by: Madhu Harchandani |
last post by:
Hello
i am working in a project in which i am using xnat technology in that data is entered through xml files only i need to enter 1000 records .so it is very cumbersome to create...
|
by: Nepomuk |
last post by:
In most modern distributions of Linux and Unix (at least ones with graphical environments like KDE, Gnome or XFCE), you get to mount your partitions easily from the desktop. In some cases however, it...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
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...
|
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...
|
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,...
|
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...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
|
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...
|
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...
| |