DB2 Viper 2 beta - compatibility features Feedback needed

DATABASE

    Next

  • 1. Q Replication trouble
    Hi, I'm trying to establish unidirectional q replication between to db2 instances (ver 8.1.12.99). First of all, I installed WebSphere MQ (ver. 530.4 csd04) on both mashines, then created queue managers with all corresponding objects, tested them. They just work out fine. Then, according to steb-by-step manual (ibm redbook High Availability and Scalability Guide for DB2 on Linux, UNIX, and Windows) i started to configure previously created MQ objects, but when i press "validate WebSphere MQ objects" I always get the following error: ASN2261E An operating system error occurred while executing the command "" on the host "DBSVR" by the stored procedure "ASN.ADMINIF" in database "IASGISS". The operating system error message is "mqm.dll : Cannot load the specified librarymqm.dll : Cannot load the specified library". Can anybody help me out with it? I'll be grateful for any advice. Thanks in advance.
  • 2. inter-partition? intra-partition?
    Hi folks, As I konw: database partition (aka data partition?), the database can span multiple machines; table partition, the data within a table can seperate by certain condition. How about inter-partition and intra-partition? Is inter-partition database partition...? Laurence
  • 3. REORG TABLE INPLACE - what is NOTRUNCATE TABLE for?
    DB2 LUW v8.2 FP 14 RHAS 2.1 I'm confused about the NOTRUNCATE TABLE option of the REORG TABLE INPLACE command. In my mind, truncating the table means that you delete all rows that it has - why would you not use this option as part of the reorg? If you want to truncate, why not just delete the table and recreate it w/ DDL? I deleted a great many rows from a wide table yesterday, then did an online/inplace REORG against it, using the NOTRUNCATE TABLE option. To my surprise, no pages were freed up in the tablespace. Is this because I used the NOTRUNCATE option? Yes, I have RTFM - but all it says about the option is "Do not truncate the table after inplace reorganization. During truncation, the table is S-locked." Any explanation appreciated... aj
  • 4. Delete explain plan question - DB2 V8 and V9
    Here's the statement: delete from table a where id1=4; Table a is a parent to table b,c,d,e,f,g,h,i,j,k,l Table a key is id1,id2 table b,c,d,e,f,g,h,i,j,k,l key is id2,id3. I delete all the rows from b,c,d,e,f,g,i,j,k,l before deleting the rows from table a. The explain plan shows the following: table a delete timerons 5,862,065 fetch timerons 49,609 ridscan timerons 26,354 sort timerons 26,354 ixscan 25,824 index on table a - then for table b,c,d,e,f,g,h,i,j,k,l - and ixscan for each table with low timerons. table timeron a 11 b 17 c .01 d .01 e .01 f .01 g .01 h 11 i .01 j .01 k 11 l 11 Statictics are up to date. Why are the timerons on table a so high ? I deleting a million rows of data but I wouldn't expect to take so long as it is.
  • 5. Exception Table
    Good afternoon: A little question about Exception table: I want to create an excetion table for rows deleted but only want to store few rows, 20 for example. I have searched a lot of documentation but coul not find anything about it. Is this possible in DB2 UDB 8.2? Thanks in advance for your answers.

DB2 Viper 2 beta - compatibility features Feedback needed

Postby Serge Rielau » Sun, 17 Jun 2007 02:36:07 GMT

Hi folks,

My fellow team mates had some extra time on their hands so we decided to 
  spice up DB2 with a grab-bag of compatibility features.
We wouldn't mind help validating the semantics match....
So for those of you blessed or cursed with a competitive DBMS here is a 
list of what we've added:

1. ** DUAL
    Always works without prefixing a schema
2. ** ROWNUM
3. ** (+) outer join syntax
4. LEAST/GREATEST/NVL/DECODE
5. TO_DATE/TO_CHAR improvement
    DB2 supports most common patterns except those requiring language
    awareness
6. ** CONNECT BY
    This is a function drop, performance drop will follow
7. A slew of syntactic sugar like:
    Seq.NEXTVAL and seq.CURRVAL notation
    UNIQUE instead of DISTINCT
    MINUS instead of EXCEPT
    Unnamed nested subqueries (aka inline views)
    "SELECT * FROM (SELECT * FROM T)"
    CROSSJOIN
8. BITAND/BITOR/.....

The features marked with ** require a registry setting:
db2set DB2_COMPATIBILITY_VECTOR=3F
should switch everything on.

There are other features those porting apps will value:
GLOBAL VARIABLES
A new ARRAY data type
A new RID() function can be used to map ROWID

Docs: https://publib.boulder.ibm.com/infocenter/db2luw/v9r5/index.jsp

Enjoy
Serge

-- 
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

-- 
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

Re: DB2 Viper 2 beta - compatibility features Feedback needed

Postby Lennart » Sun, 17 Jun 2007 04:38:06 GMT


[...]

Any chance NATURAL JOIN will be implemented in a near future?


/Lennart

[...]


Re: DB2 Viper 2 beta - compatibility features Feedback needed

Postby Serge Rielau » Sun, 17 Jun 2007 05:32:13 GMT




I toyed with it. But it took more than a day to prototype,
so I bailed ;-)
If we find that NATURAL JOIN becomes popular then it is quite possible. 
Not exactly an engineering feat to line up columns by name... ;-)

So far I haven't seen it in the field much though.
Cheers
Serge

-- 
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

Re: DB2 Viper 2 beta - compatibility features Feedback needed

Postby Lennart » Sun, 17 Jun 2007 14:07:46 GMT







Just tell me where to vote :-). Seriously though it would save me (and I 
guess others) a tremendous amount of typing. As a bonus the sql will 
become less cluttered with the obvious. As an example I would prefer:

select ... from NYA.COURSE_OFFERING co NATURAL JOIN 
NYA.PICKED_COURSE_OFFERING pco where ...

over:

select ... from NYA.COURSE_OFFERING co INNER JOIN 
NYA.PICKED_COURSE_OFFERING pco ON 
(co.ADMISSIONROUND_ID,co.EDUCATIONORG_ID,co.COURSEOFFERING_ID) = 
(pco.ADMISSIONROUND_ID,pco.EDUCATIONORG_ID,pco.COURSEOFFERING_ID)
where ...

Anyhow, thanks for the info regarding the beta. If I get the time I'll 
probably participate.



Re: DB2 Viper 2 beta - compatibility features Feedback needed

Postby Serge Rielau » Sun, 17 Jun 2007 21:03:05 GMT








Lennard,
are you attached to some company/ISV? Drop me an email with the info and 
I'll log the request.
That has more pull than: "Lennart from usenet wants it" :-)

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

Re: DB2 Viper 2 beta - compatibility features Feedback needed

Postby Lennart » Sun, 17 Jun 2007 21:34:28 GMT


[...]

You've got mail ;-)

/Lennart


Re: DB2 Viper 2 beta - compatibility features Feedback needed

Postby Bernard Dhooghe » Wed, 20 Jun 2007 23:37:05 GMT



What about:

"Row-comparisons (Bernard's favorite)
   CREATE TABLE T1(c1 int, c2 int);
   SELECT * FROM T1 WHERE (c1, c2) > (?, ?)
"

Bernard (Dhooghe)


Re: DB2 Viper 2 beta - compatibility features Feedback needed

Postby Serge Rielau » Thu, 21 Jun 2007 02:07:17 GMT


Well, I have to admit you preach a consistent story.
However, I dare say that this is off-topic.
None of DB2's major competitors supports this feature to the best of my 
knowledge.

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

Re: DB2 Viper 2 beta - compatibility features Feedback needed

Postby Bernard Dhooghe » Thu, 21 Jun 2007 03:19:32 GMT

1. Functional indexes could help (temporary workarond).







     2. So what?

Bernard (Dhooghe)



2.


Re: DB2 Viper 2 beta - compatibility features Feedback needed

Postby Gregor S292YcSN » Thu, 21 Jun 2007 13:27:12 GMT

Hi!

In my company we had a project that would do joins like you do. It was on
about 30 tables. Each table has a natural key for its primary key and when
you got three levels dows the foreign key tree your joins were
humungus. :))
Imagine doing that on a 2000 tables database. :) We couldn't so we went for
one primary key (from a sequence generated column) and a unique key as a
natural key. So joins are now simpler and MUCH easier to read. :))

Best regards,
        Kovi












-- 
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
|  In A World Without Fences Who Needs Gates?   |
|              Experience Linux.                |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-

Re: DB2 Viper 2 beta - compatibility features Feedback needed

Postby Serge Rielau » Thu, 21 Jun 2007 20:41:27 GMT

Hihi, Kovi wants "self-check out" for joins.
Duly noted.

Cheers
Serge

-- 
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

Re: DB2 Viper 2 beta - compatibility features Feedback needed

Postby Lennart » Fri, 22 Jun 2007 01:17:18 GMT


 > We couldn't so we went for

You seem very enthusiastic about surrogate keys, have you concidered 
it's drawbacks?

/Lennart



Re: DB2 Viper 2 beta - compatibility features Feedback needed

Postby janman » Fri, 22 Jun 2007 04:01:53 GMT





Sergi,
          Is it possible to have another authentication other than OS
auth...the reason being that auditors don't allow remote logins for
common accounts.

This stops DB2 from autheticating.


Re: DB2 Viper 2 beta - compatibility features Feedback needed

Postby Serge Rielau » Fri, 22 Jun 2007 04:49:28 GMT


DB2 supports so called "security-plugins".
There is a multipart series explaining security in DB2 9:
 http://www.**--****.com/ 

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

Re: DB2 Viper 2 beta - compatibility features Feedback needed

Postby Gregor S292YcSN » Fri, 22 Jun 2007 23:19:39 GMT






Hi!

Drawbacks? We have been working like this for about 7 years now and they
have served us well.

Best regards,
        Kovi

-- 
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
|  In A World Without Fences Who Needs Gates?   |
|              Experience Linux.                |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-

Similar Threads:

1.DB2 Viper 2 compatibility features

2.DB2 Viper 2 Open Beta - Enjoy

3.Interested in feedback on DB2 UDB autonomic computing features

I'm soliciting feedback from our users about our autonomic computing
features in DB2 UDB LUW. If you have used any of the following
features, and would like to share positive or negative experiences,
please contact me in confidence. We are interested in both your success
stories, and constructive feedback. (please see contact intructions
below).

Also, if you have a positive experience to share and would like us to
use your experience in our marketing material (i.e. free advertising
for you and your company) please indicate that we have your permission
to do so. Otherwise, I will assume that whatever you send me is shared
in confidence.

Features:
1. Design Advisor (db2advis, for indexes, MQT, MDC, partitioning)
2. Configuration Advisor (AUTOCONFIGURE)
3. Health Monitor
4. Utility Throttling
5. Self tuning BACKUP (enabled by default since v8.2)
6. Self tuning LOAD (enabled by default since v5.0)
7. Automatic Maintenance (automatic statistics, backup etc)
8. Automatic Storage


Please contact me directly at " XXXX@XXXXX.COM ", and entitle your
e-mail "Autonomic Feedback".

Looking forward to hearing from you.

Sam Lightstone
DB2 Autonomic Computing Development
DB2 Universal Database
IBM Canada

4.DB2 Compatibility Features Oracle

As I understand when you set the DB2_COMPABILITY_VECTOR registry
variable it allows execution of PL/SQL in DB2, but this only affects
databases created after the registry cariable is set.

Is there any way to enable all these features for existing databases?

Regards
Odd Bjn
ErgoGroup AS, Oslo, Norway

5.db2 viper

6. DB2 Viper Testdrive

7. Compatibility of DB2 Express C V9.0 backup to be restored on DB2 ExpressEdition 8.2

8. Compatibility of DB2 Express C V9.0 backup to be restored on DB2 ExpressEdition 8.2



Return to DATABASE

 

Who is online

Users browsing this forum: No registered users and 9 guest