Unix Technical Forum

Moigration from Oracle 10g to Db2 8.2

This is a discussion on Moigration from Oracle 10g to Db2 8.2 within the DB2 forums, part of the Database Server Software category; --> Serge Rielau wrote: > > DROP COLUMN btw is in DB2 Viper. So get the best mileage out of ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #21 (permalink)  
Old 02-27-2008, 07:16 AM
Mark Townsend
 
Posts: n/a
Default Re: Moigration from Oracle 10g to Db2 8.2

Serge Rielau wrote:

>
> DROP COLUMN btw is in DB2 Viper. So get the best mileage out of the
> deficiency while you can ;-)
>



From what I can see we will still be enjoying the deficiency (albeit in
a different form) for quite awhile longer
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #22 (permalink)  
Old 02-27-2008, 07:16 AM
Mark Townsend
 
Posts: n/a
Default Re: Moigration from Oracle 10g to Db2 8.2

Brian Tkatch wrote:
>> I fail to see the value of separating index and data table spaces in general.

>
> I thought it was so the tablespaces could be a separate physical disks,
> allowing for sumultaneous reads of index and data. And that this gave a
> speed increase.
>
> I'm very interested in hearing more on this topic. I know very little
> about it.
>
> B.
>

One of the more popular discussion points on the Oracle forum - see
http://groups.google.com/groups?lnk=...espaces+oracle
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #23 (permalink)  
Old 02-27-2008, 07:16 AM
Serge Rielau
 
Posts: n/a
Default Re: Moigration from Oracle 10g to Db2 8.2

Brian Tkatch wrote:
>> I fail to see the value of separating index and data table spaces in general.

>
> I thought it was so the tablespaces could be a separate physical disks,
> allowing for sumultaneous reads of index and data. And that this gave a
> speed increase.
>
> I'm very interested in hearing more on this topic. I know very little
> about it.

The trend is that you don't have much say in the placement of the data
on that SAN anyway.
You create your database with automatic storage (in fact that's the
default in DB2 Viper if I'm not mistaken).
For your tablespaces you say absolutely nothing anymore. Just name and
page size. DB2 will take care of it.
Talking of which. With large RID's tablespace limits are a thing of the
past and there is little incentive for multiple page sizes either.
For a run of the mill application using DB2 V8.2 or DB2 Viper I'd create
the data base with a 16k or even 32k page size form the get go. I would
not worry about creating any extra buffer pools (self tuning memory in
Viper) or table spaces.
Will it be as fast as an expertly tuned DB2? No, but define expert. If
it gets within 90% of maximum you're better off buying memory than
hiring that expert to create a dedicated bufferpool to pin that hot
table in a separate tablespace and eek out and extra teeny% by going DMS
RAW...

Now, the "experts" will complain and cry foul of course, but leave them
to deal with that 40TB warehouse of a credit card company Y and the 100
node DPF system that ensures you get your customized, pre-approved
credit card from Y.
There are those who need experts and those who don't. Most don't.

We have long since given up on writing assembler in the industry outside
of niche areas. Data placement IMHO falls into that category.

Cheers
Serge

PS: Keep your logs on separate disks of course. ;-)

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #24 (permalink)  
Old 02-27-2008, 07:16 AM
Serge Rielau
 
Posts: n/a
Default Re: Moigration from Oracle 10g to Db2 8.2

Mark Townsend wrote:
>
>>>> Oracle implements implements partitioning and online rebuild (of
>>>> what, indices?) in packages? *gosh* No wonder they need so many
>>>> packages.
>>>
>>> Oracle does not implement paritioning or online rebuild of indices
>>> via packages.

>> I know that :-) Daniel is sloppy in is allegations and claims, and he
>> deserves to be called upon it.

> You reasonably called him on it. But you also inreasonably responded
> with allegations of your own. Pot. Kettle. Black

It's called sarcasm Mark. You know that one well, as long as you serve it.
Now be a good sport and take it.

Serge

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #25 (permalink)  
Old 02-27-2008, 07:16 AM
Serge Rielau
 
Posts: n/a
Default Re: Moigration from Oracle 10g to Db2 8.2

Mark Townsend wrote:
> One of the more popular discussion points on the Oracle forum - see
> http://groups.google.com/groups?lnk=...espaces+oracle

I actually liked that game:
http://www.amiga.hu/amigos/ancientoy...lemming1_1.jpg

Cheers
Serge

PS: And no, I'm not off topic.
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #26 (permalink)  
Old 02-27-2008, 07:16 AM
Brian Tkatch
 
Posts: n/a
Default Re: Moigration from Oracle 10g to Db2 8.2


Mark Townsend wrote:
> Brian Tkatch wrote:
> >> I fail to see the value of separating index and data table spaces in general.

> >
> > I thought it was so the tablespaces could be a separate physical disks,
> > allowing for sumultaneous reads of index and data. And that this gave a
> > speed increase.
> >
> > I'm very interested in hearing more on this topic. I know very little
> > about it.
> >
> > B.
> >

> One of the more popular discussion points on the Oracle forum - see
> http://groups.google.com/groups?lnk=...espaces+oracle


I remember it somewhat. But, it's been a few years since i've treaded
there. Got to follow the database i'm told to work with.

B.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #27 (permalink)  
Old 02-27-2008, 07:16 AM
Brian Tkatch
 
Posts: n/a
Default Re: Moigration from Oracle 10g to Db2 8.2


Serge Rielau wrote:
> Brian Tkatch wrote:
> >> I fail to see the value of separating index and data table spaces in general.

> >
> > I thought it was so the tablespaces could be a separate physical disks,
> > allowing for sumultaneous reads of index and data. And that this gave a
> > speed increase.
> >
> > I'm very interested in hearing more on this topic. I know very little
> > about it.

> The trend is that you don't have much say in the placement of the data
> on that SAN anyway.
> You create your database with automatic storage (in fact that's the
> default in DB2 Viper if I'm not mistaken).
> For your tablespaces you say absolutely nothing anymore. Just name and
> page size. DB2 will take care of it.
> Talking of which. With large RID's tablespace limits are a thing of the
> past and there is little incentive for multiple page sizes either.
> For a run of the mill application using DB2 V8.2 or DB2 Viper I'd create
> the data base with a 16k or even 32k page size form the get go. I would
> not worry about creating any extra buffer pools (self tuning memory in
> Viper) or table spaces.
> Will it be as fast as an expertly tuned DB2? No, but define expert. If
> it gets within 90% of maximum you're better off buying memory than
> hiring that expert to create a dedicated bufferpool to pin that hot
> table in a separate tablespace and eek out and extra teeny% by going DMS
> RAW...
>
> Now, the "experts" will complain and cry foul of course, but leave them
> to deal with that 40TB warehouse of a credit card company Y and the 100
> node DPF system that ensures you get your customized, pre-approved
> credit card from Y.
> There are those who need experts and those who don't. Most don't.
>
> We have long since given up on writing assembler in the industry outside
> of niche areas. Data placement IMHO falls into that category.
>
> Cheers
> Serge
>
> PS: Keep your logs on separate disks of course. ;-)
>
> --
> Serge Rielau
> DB2 Solutions Development
> IBM Toronto Lab
>
> IOD Conference
> http://www.ibm.com/software/data/ond...ness/conf2006/


Good points, thanx Serge.

> We have long since given up on writing assembler in the industry outside
> of niche areas. Data placement IMHO falls into that category.


It is called "Assembly" which is "assembled" by the "Assembler".
"Assembler" code would be some form of meta-language that doesn't
exist.

One of my many pet pieves.

B.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #28 (permalink)  
Old 02-27-2008, 07:16 AM
Ian
 
Posts: n/a
Default Re: Moigration from Oracle 10g to Db2 8.2

Brian Tkatch wrote:
>
> It is called "Assembly" which is "assembled" by the "Assembler".
> "Assembler" code would be some form of meta-language that doesn't
> exist.
>
> One of my many pet pieves.


You mean peeves. Couldn't resist.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #29 (permalink)  
Old 02-27-2008, 07:16 AM
Ian
 
Posts: n/a
Default Re: Moigration from Oracle 10g to Db2 8.2

Serge Rielau wrote:

> Data placement IMHO falls into that category.


This is true, up to a limit. Spending time to try and isolate I/O
from tables/indexes/temp/etc. is one thing. But understanding how
your data is laid out on a SAN is still very relevant.

I have seen small data warehouses absolutely CRAWL (constant 95%
I/O wait) when no one bothered to pay attention to how tablespaces,
filesystems and LUNs map to physical disks in a SAN. And this
happens a LOT.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #30 (permalink)  
Old 02-27-2008, 07:16 AM
Serge Rielau
 
Posts: n/a
Default Re: Moigration from Oracle 10g to Db2 8.2

Ian wrote:
> Serge Rielau wrote:
>
>> Data placement IMHO falls into that category.

>
> This is true, up to a limit. Spending time to try and isolate I/O
> from tables/indexes/temp/etc. is one thing. But understanding how
> your data is laid out on a SAN is still very relevant.
>
> I have seen small data warehouses absolutely CRAWL (constant 95%
> I/O wait) when no one bothered to pay attention to how tablespaces,
> filesystems and LUNs map to physical disks in a SAN. And this
> happens a LOT.

The rule of thumb is: strip everything across everything.
If your storage admin dedicates 2 disks to DB2 then there isn't much
help to be had. ;-)

BTW, I got, after posting my "proclamation", a tad scared and consulted
with our DMS (Data management services) folks and got the content confirmed.
I paraphrase wat I was told:
"A good(!) DBA may be able to boost performance by 10% compared to DB2's
built in algorithms, but that same DBA is likely to gain a lot more by
tuning the schema itself (create/drop indices, etc...) rather than
wasting his/her time on data placement."

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
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 09:19 PM.


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