dbTalk Databases Forums  

Nested MQT's(Materialized view in DB2)

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss Nested MQT's(Materialized view in DB2) in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
karthic
 
Posts: n/a

Default Nested MQT's(Materialized view in DB2) - 03-05-2010 , 03:50 AM






Hi,
here i have given my requirement details please give me some
idea..........

i have created a new user(user2) in db2 database.now In that database
i have 2 users(user1,user2). in user1 we have more than 700 tables. i
want to move data with structure from user1 to user2.

how to move data with sructure from user1 to user2?
if i want to move data from one database to another what is the
solution for that?
what is MQT(materialized view)?
i want to create MQT based on base table. and i want to refresh it in
particar time every day. is it possible in DB2? then explain me with
example(emp table)
is it possible to create MQT based on another one MQT(like nested MQT)
in DB2?


these are my queries please let me know

Thanks&Regards
karthic M

Reply With Quote
  #2  
Old   
Ian
 
Posts: n/a

Default Re: Nested MQT's(Materialized view in DB2) - 03-05-2010 , 11:10 AM






On 3/5/10 2:50 AM, karthic wrote:
Quote:
Hi,
here i have given my requirement details please give me some
idea..........
These are nearly all questions you can answer by reading the
documentation. Here is a link:

http://publib.boulder.ibm.com/infoce...v9r7/index.jsp

I've given you hints below.

Quote:
i have created a new user(user2) in db2 database.now In that database
i have 2 users(user1,user2). in user1 we have more than 700 tables. i
want to move data with structure from user1 to user2.

how to move data with sructure from user1 to user2?
See ADMIN_COPY_SCHEMA, or, if you won't want to duplicate all of the
data consider using aliases.

Quote:
if i want to move data from one database to another what is the
solution for that?
See db2move

Quote:
what is MQT(materialized view)?
Read the documentation.

Quote:
i want to create MQT based on base table. and i want to refresh it in
particar time every day. is it possible in DB2? then explain me with
example(emp table)
If you're on 9.7, read the documentation on the administrative task
scheduler. On previous versions look at Task Center.

Alternatively, use an external scheduling tool like cron.

Quote:
is it possible to create MQT based on another one MQT(like nested MQT)
in DB2?
Not for system-maintained MQTs. User-maintained MQTs will allow this,
though.

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.