A question sir : suppose we modify a LOCKRULE rule for a Tablespace which has 1 table from PAGE to ROW , do I need to recompile program accessing view of that table or do a rebind of package-plan
@shubhamshahane65322 жыл бұрын
Hello Sir, Very usefull information about reorg. I have one question : During offline reorg system get down or get crashed what happen will we able to access table ? Or we have to restore from tempspace1 (mostly this will not happend but senario asking in interview question)
@martinesse48303 жыл бұрын
why is the install very different on Windows? I can't seem to find a window like that.
@gfunkonthecheesetree3 жыл бұрын
This is a great example, thank you!
@IntothewestOkotoks3 жыл бұрын
Great overview - very well explained!
@poojanlimbachiya23263 жыл бұрын
I am having a hardtime creating anew instance how do I do that
@craigsmullins3 жыл бұрын
The Tuning Best Practices PDF link is not correct... probably because IBM migrated the developerWorks stuff.
@brickcausingunexpired3 жыл бұрын
These are great points, thank you for sharing !
@d.taufiq37263 жыл бұрын
U just give the explanation of how to generate ddl file. But how to restore it to the target DB2??
@kalpanamanoj84953 жыл бұрын
Good Explanation .. Thank you very much ..
@venitr33604 жыл бұрын
This was very useful
@narayanvj17094 жыл бұрын
Your git repo link please?
@CHANDANDCMS4 жыл бұрын
Thank you So much .
@dariuszpekala18784 жыл бұрын
Man you are great. This is obvious that you are administrator with great approach. You show a lots of cool commands but instead of the others specialist you also remember to show undo commands. I'm impress, really.
@moneerrifai27644 жыл бұрын
This was an epic video! thank you to your kiddos for helping us understand database locking!
@vmohakrish4 жыл бұрын
Hi ,Which is the right application to connect and manage the db2 database on bluemix cloud platform
@monishpatil34204 жыл бұрын
Hey Nice explanatory video on reorg, i had one doubt, what if i accidentally perform an offline reorg in Prod environment during working hours, and what if i abort it in between without waiting for it to complete... Will database crash in such scenario?? if yes how do i get back the database running in Prod.
@jonathantp34 жыл бұрын
hi, great video!, I have a problem like this a time ago, but in that time the bufferpools went down automatically, because the server was running out of memory, in that case we need to do a restart of de the database and reduce the size of the bufferpools
@utkarshyeolekar43974 жыл бұрын
Hello, We are using the DB2 in production, and from recent times, we are getting the couple of errors 1. FUNCTION: DB2 UDB, buffer pool services, sqlbWritePageSync, probe:4782 MESSAGE : ZRC=0x850F000C=-2062614516=SQLO_DISK "Disk full."DIA8312C Disk was full. DATA #1 : Page key, PD_TYPE_SQLB_PAGE_KEY, 16 bytes Pagekey: {pool:1;obj:19;type:128} PPNum:17388586 2nd: 2019-12-21-01.10.18.679134-300 E623145E610 LEVEL: Error PID : 19758 TID : 139797087643392 PROC : db2sysc 0 INSTANCE: db2inst1 NODE : 000 DB : ccdb HOSTNAME: DB2 EDUID : 488 EDUNAME: db2pclnr (ccdb) 0 FUNCTION: DB2 UDB, buffer pool services, sqlbClnrAsyncWriteCompletion, probe:0 MESSAGE : ADM6017E The following table space is full. Table space name: "TEMPSPACE1". Table space identifier: "1". Container path: "/data/db2inst1/NODE0000/CAMPDB/T0000001/C0000000.TMP". Container identifier: "0". 2019-12-21-01.10.18.687662-300 E626709E778 LEVEL: Error (OS) PID : 19758 TID : 139796995368704 PROC : db2sysc 0 INSTANCE: db2inst1 NODE : 000 DB : ccdb HOSTNAME: DB2 EDUID : 487 EDUNAME: db2pclnr (ccdb) 0 FUNCTION: DB2 UDB, oper system services, sqloLioAIOCollect, probe:100 MESSAGE : ZRC=0x850F000C=-2062614516=SQLO_DISK "Disk full." DIA8312C Disk was full. CALLED : OS, -, aio_return OSERR: ENOSPC (28) DATA #1 : File descriptor, 4 bytes 53 DATA #2 : unsigned integer, 8 bytes 32768 DATA #3 : signed integer, 8 bytes 565541961728 DATA #4 : String, 105 bytes Search for ossError*Analysis probe point after this log entry for further self-diagnosis of this problem. And after this error, db2 instance was crashed.. And after restarting the instance, everything seems to be working fine.. My concern is: 1 how to monitor the table Space size continuously ? Or is there any way to identify which query has made it full during processing ? 2. We have looked into the logs around the same time, but didn't find any queries. Also the table is using the default buffer pool(IBMDEFAULTBP) with Npages value set to -2 and no "Buffpage" value set in the db2 config for that specific db. BPNAME NPAGES PAGESIZE --------------- ----------- ----------- IBMDEFAULTBP -2 32768
@hanurao80784 жыл бұрын
Please do session on deadlock,lock waits,lock escalation,lock timeout with practical
@hanurao80784 жыл бұрын
Hi Mike.can you please do videos on troubleshooting steps for query is slow and db is slow.
@hanurao80784 жыл бұрын
Good info.Please clarify me at what phase we can interrupt online/offline reorg without impacting to table and db
@hemanthkakulamarri6604 жыл бұрын
Can you please please make a video on Redirect Restore?.
@swapneshify4 жыл бұрын
one more also for db2 upgradation and installation in command line .
@swapneshify4 жыл бұрын
one more video on architecture bit more description in detail , so that we can enlighten by the knowledge.
@swapneshify4 жыл бұрын
excellent!!! can u bring some more videos on performance tuning.
@patrickeddy5 жыл бұрын
Hi, thanks for this great video :) I have an issue at minute 44:50, when i try to execute a db2 command, the system didn't recognize (-bash: db2: command not found ), is like no db2 where created. And in my log, it's indicated that the DB is created, but the logfile is very short, only indicates that the DB2 is installed, New DB created etc very shortly. It's more simple to use the way of docker installation :) that i follow in your video (EP. 17)
@vikramrathore81585 жыл бұрын
This is very nice.. can you make a video on Tablepspaces like SMS and DMS?? I am having troubles
@shubhamshahane65325 жыл бұрын
Hi can we restore db2 structure from backup image ?
@ajaygupta48485 жыл бұрын
Krafick I went through your video and tried to install DB2 11.1 on RHEL7.6 . DB2 TSA is giving issue saying module 'softdog' is not found and whole DB2 installation is going for loop in docker build . V11.1 installed perfectly on a RHEl7.6 VM but is not working on rhel7.6 container . Just checking if you came across with this issue . pre-prequisite check for TSA , output as below [root@58f86cb390c1 tsamp]# ./prereqSAM prereqSAM: Warning: Module 'softdog' could not be found. It is required to automate critical resources, like IP or file systems. prereqSAM: All prerequisites for the ITSAMP installation are met on operating system: Red Hat Enterprise Linux Server release 7.6 (Maipo) Regards Ajay
@vandanasinha22555 жыл бұрын
Hi Mike, Technical conferences like IDUG are a must and should be encouraged.
@zanekeeler99553 жыл бұрын
IBM ISO 9004 Standards is forward gold standard roadmap paved in TAR. the single threaded program embedded has alraeady many chained events unfolding. good luck.
@ikromfayzuloev88015 жыл бұрын
Amazing catch! The last week I had the same issue and fixed that, posting the error code here for ease of googling: "SQL1218N There are no pages currently available in bufferpool "4096". SQLSTATE=57011". Same as in your case I was surprised why this happens when I have a lot of space and a table with just a couple of thousands rows. DB2 Version: DB2/LINUXX8664 11.1.3.3 Thanks for the video Mike!
@DISCOVERDB25 жыл бұрын
Same root cause? Was defaulting to a smaller Bufferpool? How ironic.
@ikromfayzuloev88015 жыл бұрын
@@DISCOVERDB2 The same issue, the same resolution and in the same month :). In my case I did deactivate/activate twice (right after the first one, where there was not any connection yet), cause the first one did not help. Very good explanation Mike, thanks again for the video! Some additional tips here .... This command was very helpful to verify whether the BPs are presented and Active: db2pd -db <db_name> -bufferpools The command's output Before the fix: Bufferpools: First Active Pool ID 1 Max Bufferpool ID 0 "===> zero BPs were active from the 7 existed ones." Max Bufferpool ID on Disk 7 Num Bufferpools 11 The command's output After the fix: Bufferpools: First Active Pool ID 1 Max Bufferpool ID 7 "===> Now 7 BPs are active" Max Bufferpool ID on Disk 7 Num Bufferpools 11
@ruhido5 жыл бұрын
Thanks Mike for your video. Could you do a small video regarding the comment you said "converted this query in a hook for dynatrace". I read a bit about dynatrace but can't figure out how can it be used with Db2. Thanks always!.
@DISCOVERDB25 жыл бұрын
Issac, hit me up via email. [email protected]. This would better be done via email. Not enough for a video. But I can guide you through some of the explanation.
@i.f.77885 жыл бұрын
Thanks Mike!
@aravindachalla43985 жыл бұрын
What if offline reorg interrupt ?
@DISCOVERDB25 жыл бұрын
I’m not sure I understand your question? If the offline reorg was interrupted and stopped abnormally, you can just issue the same reorg command again and it should start over from the beginning.
@ikromfayzuloev88015 жыл бұрын
Great! Thank you!
@i.f.77885 жыл бұрын
Really good explanation! Thank you!
@jamestroutman74965 жыл бұрын
great material, missing episodes?
@Luigi_SG5 жыл бұрын
Hello there. I came across this video while i was trying to deploy Db2 as a docker container. I don't understand how to persist data on local storage for ever.Let me explain, when you destroy the container you lose everything! This doesn't work for me! How can I retain my data apart the containers? I want to destroy and restart a new container whenever i want and obtain the DB2 data inside too. Is it possible? Thanks.
@DISCOVERDB25 жыл бұрын
You may want to watch my video on writing a dockerfile, it will talk about VOLUME and data persistence.
@myunderstanding99045 жыл бұрын
Awesome content... good explanation... recommended for professionals
@kiddshellac5 жыл бұрын
i'm out refreshing my memory on 'commit' logic, and came across your 'lock' video. Cute kids, and good fun. imagine little sister's response if she were forced to 'backout' her changes? haha.. Nice job!
@andreigiubleanu5 жыл бұрын
Very useful ! Awaiting for part 2 and for future valuable tips.
@wolfgangahrens36215 жыл бұрын
Thanks a lot. The tutorial was extremly worthful for me and everything you showed works on my installation.