| Thread | Last Post | Replies |
|
| Add a partition to a table that already has partitions | 20 Oct 2008 21:14 GMT | 3 |
Is there a way to attach a partition to an existing table that already has partitions (without loading data)? For example, the syntax of the attach partition is documented below: alter table <tablename> attach partition P_data_2009Q1 STARTING FROM
|
| CTE is not supported by db2advis | 20 Oct 2008 18:30 GMT | 3 |
I am using a query into db2advis for index recommendation. this query is having a CTE (with clause). when I run db2advis it returned some error like Database is reporting the following error:
|
| Supress SQL0347 (CTE may contain infite loop) | 20 Oct 2008 17:08 GMT | 1 |
we have a perfectly working recursive CTE which gives us SLQ0347 (The recursive common table expression "<name>" may contain an infinite loop.) The CTE parses a string ("This,is,a,string"), removes word by word and
|
| update from select | 20 Oct 2008 17:03 GMT | 2 |
I need to do an update by taking data from another table. Can I do that in some nice way or do I have to make a number of selects into variables and then do the update? Thanks,
|
| actual/estimated cost/cardinality of query plan | 18 Oct 2008 14:01 GMT | 2 |
is there a way to see the actual (not just estimated) cost and cardinality at each plan operator? SQL Server and Oracle has such feature but I failed to find a way in DB2 yet (up to V9.5)
|
| reset monitor switches while capturing snapshots with sql functions or views | 18 Oct 2008 13:54 GMT | 1 |
I am interested in capturing snapshot information using SQL functions or views but i can not reset monitor switches when i use following command. db2 "reset monitor for database <database name>"
|
| query help | 18 Oct 2008 02:21 GMT | 4 |
I have another complicated query I could use help on. Here is what the tables look like: Table1 col1 col2
|
| All about memory | 17 Oct 2008 18:46 GMT | 5 |
I am on db2 (64 bit) v8.1.1.112 FixPak "12" 0n AIX. Is there any limitation for bufferpool size. what should be the RAM size and for a given RAM size how much we can allocate to bufferpools if it is a dedicated server.
|
| progress bar for runstat? | 16 Oct 2008 18:20 GMT | 1 |
my runstat runs too slow. Moreover, it is not using lots of available resources (cpu is 94% idle, iostat shows really small intermittened IO) is there a way to speed up runstat? or is there a way to query
|
| calling stored procedure from Perl code | 16 Oct 2008 10:46 GMT | 1 |
Environment: Solaris (client + server) db2 version 7.2 latest fixpak (DB2 v7.1.0.111", "s050516" and "U803330") Compiler: gcc
|
| Syntax error when creating user mapping in DB2 (Data Federation) | 16 Oct 2008 08:41 GMT | 1 |
- Federation Server (DB2) - Solaris 10 Fed Server db2 "create user mapping for USER123 server SRV1 options (remote_authid ‘AAA_USER’, remote_password ‘PWD’)"
|
| HADR Status | 15 Oct 2008 12:25 GMT | 3 |
If i have HADR setup with data synch setting of NEAR-SYNC and i have congestion on the line. Do my transactions block until the my HADR_STATE goes to PEER. In the instances that sometimes i have congestion,i have not noticed
|
| DSNL013I & DDF, DB2 9.1 | 14 Oct 2008 14:23 GMT | 2 |
I’m trying to set up DDF on DB2 9.1 and am getting the following error – DSNL013I -DB9G VTAM OPEN ACB FAILED ERROR='24'X
|
| truncate tables in stored procs? | 14 Oct 2008 11:23 GMT | 3 |
I know that we can use import or load to truncate tables without filling up trans log in DB2. Is it possible to do this in a stored procedure? How about in CLI/C++? My impression is that import/load are not SQL statements, hence may not be included in stored procs or
|
| How to Give Operating System Security in db2 if not configured during install ? | 13 Oct 2008 20:48 GMT | 1 |
How to Give Operating System Security in db2 if the check box is not checked during installation but planned for later. Thx in advance
|