Vous êtes sur la page 1sur 6

DB2 questions

1.What are the way to generate DDL statements in db2


2.What are the default tablespaces created when a database is created?
3.Difference between SMS and DMS?
. !an we change password of a user without re"uesting the #S team$ if we remember
the old password?
%. &ow can we determine number of containers and their names for a tablespace
'. Why should you do a runstats on a table?
(. What is minimum re"uirement for connecting to database residing on mainframe ?
). * new user is trying to connect to a database .+here are no connections pre,iously. &e
is complaining that there is delay in the connecti,ity? What will u do being an
administrator?
-. What will u do after loading bul. data into a table?
1/. 0resently a database is in circular logging? &ow will u change it into archi,al
logging?
11. Difference between incremental and delta bac.up?
12.While ta.ing an incremental bac.up a db2 is throwing an error1
S2L22'3 +he database has not been configured to allow the incremental bac.up
operation. 4eason code 5 616.
13. &ow will u determine the prefetchsi7e for better performance 8 consider there are
three containers and the e9tentsi7e is 32 pages and page si7e is . :
1.What are the possible alteration u can do to a tablespace?
1%. &ow will u list the bac.ups for a particular database?
1'. &ow will u chec. the integrity of a bac.up image?
1(. What is meant by log mirroring?
1).*pplication is facing fre"uent deadloc.s$ how to a,oid that?
1-. D; is in archi,al log mode and pre,ious night an online bac.up of the database was
ta.en$ the ne9t day one of containers was corrupted .&ow can we reco,er the database.
2/. &ow can we reco,er db if in db is circular log mode in abo,e scenario.
1. What is ur pro<ect?
2. Which #S and ,ersions of D;2 *re u wor.ing with?
3. What are ur day to day acti,ities?
. &ow will u see that ur instances are running?$how to see databases are acti,e are not?
%. Where are the error messages stored? if so specify the particular path in
linu9=Windows?
'. what are the types of inde9es?
(. What is a trigger and types of +riggers?
). What are the types of tunning u ha,e been in,ol,ed in? &ow did u do ur S"l tunning?
-. &ow do u perform >=# tunning? What parameters do u need to concentrate while
performing >=# tuninng?
1/. Steps for Memory tunning?Which part will u concentrate more?
11. *re there any D;*?s who assist u while performing ur day to day acti,ities = or other
acti,ities?
12.Scenario1
@ ha,e a ser,er in which many instances are there.
@ log on to a instance$&ow will u acess all other instances and databases present in
them.Steps.
13.&ow will u find mounts in ur Linu9 An,iorment?
1.What is the command to find +he authori7ed user?s to access a particular Database?
1%.&ow will u find the authorisations for a current user?
1'. What is the command to find the dis. space a,ailable?
1(. !ommand to find memory space a,ailable in Linu9?
1). Scenario1
>n Db2 , ).1 > need to install the new Bi9pac. a,ailable.&ow to do?Steps .
+hen the further steps for instances and databases *nd D; ob<ects?
1-.&ow do > find the 4egistry ,ariables and how do i set them?
2/.Scenario1
> ta.e a bac.up for a particular database.>ts a huge Database$but when i want ot restore
that > find my file si7e is not sufficient$So what to do.!an i place them in different
locations.83#+A1My Database is not a partitioned one:.
21.What is a instance and Data;ase?
22.Scenario1
> ha,e a instance$*t a same time many applications are trying to connect to a database in
it$but they are not$What migth be the reason$>f so how do u sol,e it?
23.W&at will u find the deadlocl situation and a,oid it?>s there any parameter to do so?
Scenario1
*m suppose to ta.e bac.up of my database.>t consumes nearly 3/ minutes for it$;ut my
client wants it to be done in 1% minutes?&ow can i do that?
2.What are necessary re"uirements for cataloging?&ow many ways catalogging can be
done?
2%.&ow will u find the 0ortnumber$Ser,icename in linu9 both in C@> and command
prompt?
2'.>nstallation steps for D;2 in Linu9 in command prompt?What ,ersion in L>nu9 ur
familiar with?
2(.
Scenario1
> am ha,ing two tables in Data;ase1.;y using A9port=>mport how can > tranfer the tables
to Data;ase2. Steps1
2).
Scenario1
+here is +able in Data;ase1$they are ha,ing autogenerated ,alues.So what i do is e9port
to a file.Specific steps for importing.> do not ha,e the table$&ow to do?
2-.Steps to perform Load and what are phases in Load A9plain?
3/.What type of bac.up do u perform?ha,e u wor.ed with productional Databases...@r
4esume states that u ha,e done e9port=import with testing and 0roductional databases?
31.What is D; &eap si7e and *pplication &eap si7e?What are these parameters?
32.&ow will u chec. ur Data;ase si7e?
>f ur woring on C@> how do u get it?
33.What do u go for 4A#4C?&ow will u find the tables to be reorganised?
3.What does 4unstats perform?When do u go for it?
3%.
Scenario1
!ommand for ta.ing snapshots on bufferpool? > get it$so what are the parameters to
impro,e bufferpol performance?Does pages7 parameters play ,ital role in impro,ing
;0....
3'.what are the *gents acti,ated when an instance is started?What command is used to
list the *gents?
3(.Scenario1
> ha,e a table of 1/// rows.+he table loc. has been applied on )// rows.&ow do i release
it so other applications can access it? What is Loc. Ascalation...?
3).Scenario1
@ are cataloging with the ser,er$ and it shows error messge of !ommunication..which is
"uiet common one.&ow do u rectify that?
>f by D;2D>*C.L#C how will u do it?
3-.@ find that ur >nstance le,el is down.&ow will u !hec. it...What steps to impro,e it?
/.What is ;ufferpool &it 4atio ?What are Logical 4eads and physical reads?
1.> ha,e a ,iew generated from two tables?!an i modify that ,iew?
2.What do u do with *scential DataStage?What type of wor. do u perform related?
What is the ,ersion ur wor.ing with?

Vous aimerez peut-être aussi