Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

DB2 | Forum profile

Forum profile page for DB2 on http://www.dbforums.com. This report page is the aggregated overview from a single forum: DB2, located on the Message Board at http://www.dbforums.com. This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period. Additional forum profile information for "DB2" on the Message Board at http://www.dbforums.com is also shown in the following ways:

1) Latest Active Threads
2) Hot Threads for Last Week

Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.

Site: dBforums - Database Support Community - DB2 (site profile, domain info dbforums.com)
Title: DB2
Url: http://www.dbforums.com/db2/
Users activity: 32 posts per thread
Forum activity: 85 active threads during last week
 

Posting activity on DB2:

  Week Month 3 Months
Threads: 85 342 1,008
Post: 365 1,176 3,263
 

DB2 Posting activity graph:

Posts by:  day  week  month 

Top authors during last week:

Name
Posts
Lenny77
51
user's latest post:
Absolute SUDOKU Solver - Page 4...
Published (2009-11-06 17:07:00)
11/06/09 "Metro" NY, page 29 HARD --> 1 sec <-- Code: Source (line, sudoku_str) as ( select 1, '020090800' from sysibm.sysdummy1 union all select 2, '600270003' from sysibm.sysdummy1 union all select 3, '000006210' from sysibm.sysdummy1 union all select 4, '000700008' from sysibm.sysdummy1 union all select 5, '702804109' from sysibm.sysdummy1 union all select 6,...
db2girl
38
user's latest post:
Where I can get the DUMPS of...
Published (2009-11-07 21:04:00)
Quote: Originally Posted by prashantopel Thanks How to create dummy database for practice in DB2 9.7? From DB2 Command Window, enter: db2 create db db2dummy I'd have suggested to create a db called db2dummy1 if db2 allowed the db name to be more than 8 char.
sathyaram_s
28
user's latest post:
Order of picking data mismatch...
Published (2009-11-06 12:49:00)
Quote: Originally Posted by Satish K Can you please let me know how to use the functions :- ASCII_STR and EBCDIC_STR in this case? Thx, Satish http://bit.ly/4o3Ykb
stolze
24
user's latest post:
How to convert INT 0 or 10 to 001
Published (2009-11-06 10:55:00)
Well, it returns a string with 3 characters where the first 2 are blanks. So you have to replace those blacks with 0's.
n_i
23
user's latest post:
Primary Key on GUID/UUID column...
Published (2009-11-06 17:38:00)
INSERTing 25 million rows is just asking for trouble. I think it is obvious that the problem is in having to update the index for each inserted record. If you cannot eliminate that by using LOAD or dropping and re-creating the index, I'd say your only other option is to try and speed that up. Minimize page splits by setting both PCTFREE values to something like 90 (the maximum is 99). May be put the PK index into a separate tablespace...
db2dummy1
23
user's latest post:
Profiling Database
Published (2009-11-06 00:23:00)
Use SYSIBM tables in good health. SYSCAT views are for those who moved to DB2 from "Query Manager", OS/2, Windows, etc. and have not the capacity to remember SYSIBM names. When you grow up and migrate to DB2 on z/OS, you will not find any SYSCAT there. So get ahead of the game and learn SYSIBM names. P.S. Where is Marcus today? I miss him
Tonkuma
17
user's latest post:
simple xml extraction
Published (2009-11-07 06:36:00)
Here is an example. Note(1): Tested on DB2 9.7 for LUW. So, some modifications may be necessary to run on earlier DB2 version. Note(2): Add WHERE clause or use subquery, to select first 10 rows only. Code: ------------------------------ Commands Entered ------------------------------ WITH tbload(acct_no, rec_no, tran_date) AS ( VALUES ( 1, 1, '2009-10-01') ,( 1, 2, '2009-10-02') ,( 1, 3, '2009-10-05') ,( 1, 4,...
ARWinner
13
user's latest post:
db2syscs memory keeps increasing...
Published (2009-11-06 11:49:00)
Are these 32 or 64 bit machines? What are the DBM and DB parameter settings? Andy
LD_Bronstein
9
user's latest post:
Simple specs - Page 6 - dBforums
Published (2009-11-05 20:01:00)
Quote: Originally Posted by Lenny77 blank remains blank No problem! Assuming the shift amount remains +19 ... values(translate('gxp rhkd ihlm mhwtr', substr(lower('ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJ KLMNOPQRSTUVWXYZ'), mod(26000001+19,26),26)||' ',lower('ABCDEFGHIJKLMNOPQRSTUVWXYZ '))) 1 ------------------- zqi kadw baef fapmk 1 record(s) selected.
DBFinder
9
user's latest post:
How to use m switch in SQL script ?
Published (2009-11-06 05:25:00)
Seems that no body paid much attention on that. Any way, I am splitting script in sections. Code: db2 -tvf script1.sql db2 -mtvf script2.sql db2 -tvf script3.sql That works already. My point to share was to find if anybody had any better workaround. I still need another workaround for Task Center Schedules. Thanks for your attention. DBFinder
 

Latest active threads on DB2::

dBforums - Database Support Community
Started 2 days, 15 hours ago (2009-11-07 06:36:00)  by Tonkuma
Here is an example. Note(1): Tested on DB2 9.7 for LUW. So, some modifications may be necessary to run on earlier DB2 version. Note(2): Add WHERE clause or use subquery, to select first 10 rows only. Code: ------------------------------ Commands Entered ------------------------------ WITH tbload(acct_no, rec_no, tran_date) AS ( VALUES ( 1, 1, '2009-10-01') ,( 1, 2, ...
Thread:  Show this thread (5 posts)   Thread info: simple xml extraction Size: 4,925 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Here is an example.

Note(1): Tested on DB2 9.7 for LUW. So, some modifications may be necessary
to run... :: DB2 :: dBforums - Database Support Community"
dBforums - Database Support Community
Started 4 days, 11 hours ago (2009-11-05 10:37:00)  by sathyaram_s
700 is obsolete. I suggest you take 730. IBM developerWorks : DB2 9 Fundamentals certification 730 prep series Download these tutorials and I am sure you can pass (and learn too)!
Thread:  Show this thread (12 posts)   Thread info: Where I can get the DUMPS of Paper 700. Size: 348 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: 700 is obsolete. I suggest you take 730.

IBM developerWorks : DB2 9 Fundamentals certification 730 prep series

Download... :: DB2 :: dBforums - Database Support Community"
dBforums - Database Support Community
Started 4 days, 10 hours ago (2009-11-05 11:44:00)  by ARWinner
No, it does not exist for DB2 for LUW. You will have to as IBM if it will ever be implemented. Andy
Thread:  Show this thread (10 posts)   Thread info: Multiple row insert Size: 117 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: No, it does not exist for DB2 for LUW. You will have to as IBM if it will
ever... :: DB2 :: dBforums - Database Support Community"
dBforums - Database Support Community
Started 1 week ago (2009-11-02 18:45:00)  by stolze
You need the aggregation of strings. XMLAGG or recursive queries are the standard answer for that.
Thread:  Show this thread (88 posts)   Thread info: Simple specs Size: 98 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: You need the aggregation of strings. XMLAGG or recursive queries are the
standard answer for that. :: DB2 :: dBforums - Database Support Community"
dBforums - Database Support Community
Started 4 days, 12 hours ago (2009-11-05 09:39:00)  by sathyaram_s
Looks like your Windows drive ( C:\ drive, probably) is filling up... Cheers Sathyaram Quote: Originally Posted by Partha.Baidya I using DB2 9.1.3 in Windows XP. It is a PC and I am getting the following error in the Windows event viewer. Instance: DB2 Node:000 PID:1024(db2fmp.exe) TID:4224 Appid:none Health ...
Thread:  Show this thread (8 posts)   Thread info: ADM10501W error with db.auto_storage_util Size: 2,101 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Looks like your Windows drive ( C:\ drive, probably) is filling up...

Cheers
Sathyaram

Quote:

	Originally Posted by Partha.Baidya... :: DB2 :: dBforums - Database Support Community"
dBforums - Database Support Community
Started 3 days, 13 hours ago (2009-11-06 08:27:00)  by Tonkuma
How about concatenating shorter strings. Like this: INSERT INTO .... VALUES ('abcd...' || 'efgh....' || 'xyz....' , .... )
Thread:  Show this thread (6 posts)   Thread info: Column length Exceeds 72 characters Size: 188 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: How about concatenating shorter strings.
Like this:
INSERT INTO ....
VALUES
('abcd...' ||
'efgh....' ||
'xyz....'
, ....
) :: DB2 :: dBforums - Database Support Community"
dBforums - Database Support Community
Started 4 days, 1 hour ago (2009-11-05 20:27:00)  by db2dummy1
It has been a while, but I believe that APPLY will go to sleep only when it believes it processed everything in CD/CCD tables and is completely caught up. There were some bugs around this early on but they should all have been taken care of by now. I also recall that there is a way to make APPLY more aggressive by reducing sleep time in config somewhere.
Thread:  Show this thread (4 posts)   Thread info: db2 apply processes sleeps for 60 minutes Size: 357 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: It has been a while, but I believe that APPLY will go to sleep only when it
believes it... :: DB2 :: dBforums - Database Support Community"
dBforums - Database Support Community
Started 3 days, 6 hours ago (2009-11-06 15:19:00)  by n_i
I guess there are some reasons that prevent you from using LOAD instead... If the new PK values are increasing and not random, I don't think increasing PCTFREE will do much good. If they keys are random, try increasing both LEVEL2 PCTFREE and leaf level PCTFREE as much as possible. Also, you may want to try pausing the insert process from time to time and updating the PK index statistics. ...
Thread:  Show this thread (4 posts)   Thread info: Primary Key on GUID/UUID column in MDC table Size: 489 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: I guess there are some reasons that prevent you from using LOAD instead...

If the new PK values are... :: DB2 :: dBforums - Database Support Community"
dBforums - Database Support Community
Started 1 month, 2 weeks ago (2009-09-23 02:06:00)  by db2dummy1
this is great! spasibo Leonid! can you do the same for chess? a chess-solver?
Thread:  Show this thread (52 posts)   Thread info: Absolute SUDOKU Solver Size: 211 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: this is great! spasibo Leonid! can you do the same for chess? a
chess-solver? :: DB2 :: dBforums - Database Support Community"
 

Hot threads for last week on DB2::

DB2
Started 1 week ago (2009-11-02 18:45:00)  by stolze
You need the aggregation of strings. XMLAGG or recursive queries are the standard answer for that.
Thread:  Show this thread (88 posts)   Thread info: Simple specs Size: 98 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: You need the aggregation of strings. XMLAGG or recursive queries are the
standard answer for that. :: DB2 :: dBforums - Database Support Community"
DB2
Started 6 days, 8 hours ago (2009-11-03 14:05:00)  by ARWinner
My guess is that your configuration is based on 16GB of memory, but 32 bit can only access 4GB. Anything over that is wasted. Andy
Thread:  Show this thread (29 posts)   Thread info: DB2 V9.5 - STMM errors Size: 148 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: My guess is that your configuration is based on 16GB of memory, but 32 bit
can only access 4GB.... :: DB2 :: dBforums - Database Support Community"
DB2
RE: Any ideas !!!! - 22 new posts
Started 1 week ago (2009-11-02 18:06:00)  by koganti
Any ideas !!!!
Thread:  Show this thread (22 posts)   Thread info: db2_all $N Size: 14 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Any ideas !!!! :: DB2 :: dBforums - Database Support Community"
DB2
Started 4 days, 11 hours ago (2009-11-05 10:21:00)  by sathyaram_s
Not clear! Please give an example or if possible, the same code and query that is not 'working' What version of DB2 are you using ?
Thread:  Show this thread (18 posts)   Thread info: Order of picking data mismatch in Mainframes DB2 and AIX DB2 Size: 147 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Not clear! Please give an example or if possible, the same code and query
that is not 'working'

What... :: DB2 :: dBforums - Database Support Community"
DB2
Started 5 months, 3 weeks ago (2009-05-20 04:30:00)  by przytula_guy
when the backup is started, the log file name is retained while running the backup log files can get closed and archived at end of backup logs need to be included in image and log file has been archived; at that time we retrieve a log from archive location. if log file has been renamed in mean time by other procedure, the log file is not available anymore and backup will fail
Thread:  Show this thread (19 posts)   Thread info: "Backup .. include logs" requires archived logs ? Size: 392 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: "Backup .. include logs" requires archived logs ? :: DB2 :: dBforums - Database Support Community"
DB2
Started 4 days, 11 hours ago (2009-11-05 10:37:00)  by sathyaram_s
700 is obsolete. I suggest you take 730. IBM developerWorks : DB2 9 Fundamentals certification 730 prep series Download these tutorials and I am sure you can pass (and learn too)!
Thread:  Show this thread (12 posts)   Thread info: Where I can get the DUMPS of Paper 700. Size: 348 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: 700 is obsolete. I suggest you take 730.

IBM developerWorks : DB2 9 Fundamentals certification 730 prep series

Download... :: DB2 :: dBforums - Database Support Community"
DB2
Started 4 days, 9 hours ago (2009-11-05 12:15:00)  by Lenny77
Right ( Digits (your_number), 3) .... Lenny
Thread:  Show this thread (11 posts)   Thread info: How to convert INT 0 or 10 to 001 Size: 93 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Right(Digits(your_number), 3) ....

Lenny :: DB2 :: dBforums - Database Support Community"
DB2
Started 4 days, 10 hours ago (2009-11-05 11:44:00)  by ARWinner
No, it does not exist for DB2 for LUW. You will have to as IBM if it will ever be implemented. Andy
Thread:  Show this thread (10 posts)   Thread info: Multiple row insert Size: 117 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: No, it does not exist for DB2 for LUW. You will have to as IBM if it will
ever... :: DB2 :: dBforums - Database Support Community"
DB2
Started 4 days, 11 hours ago (2009-11-05 10:21:00)  by ARWinner
Try adding the precision and scale to the cast as decimal. e.g. CAST(AMOUNT as DECIMAL(31,8)). Andy
Thread:  Show this thread (9 posts)   Thread info: SQL to convert Char to Decimal Size: 117 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Try adding the precision and scale to the cast as decimal. e.g. CAST(AMOUNT
as DECIMAL(31,8)).

Andy :: DB2 :: dBforums - Database Support Community"
DB2
Started 5 days, 10 hours ago (2009-11-04 11:27:00)  by przytula_guy
name - columns and type can be retrieved from systables - syscolumns info about the data - only by executing some sql like select count(*) : nbr of rows select count(distinct... for unique values.... max(xx) min(xx)
Thread:  Show this thread (8 posts)   Thread info: Profiling Database Size: 262 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: name - columns and type can be retrieved from systables - syscolumns
info about the data - only by... :: DB2 :: dBforums - Database Support Community"