YouTube2Text

Deduplication (DDB) – Interview-Focused #commvault #interview #cloudcomputing #backup #technology — Transcript

by TechVault by abhi · 2,558 words · 499 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Hi everyone, welcome back to our YouTube
  2. 0:02channel. Today we are going to discuss
  3. 0:04uh some more questions of Commvault
  4. 0:07interview. If you're going for the
  5. 0:09interview, especially for the Commvault
  6. 0:10and backup, then uh the interview will
  7. 0:12definitely will
  8. 0:14ask a question from this part, that is
  9. 0:16uh DDB, okay?
  10. 0:18Deduplication database. What is DDB?
  11. 0:21Deduplication
  12. 0:24database.
  13. 0:27Okay?
  14. 0:27So uh interview will generally ask a
  15. 0:30multiple questions from this section,
  16. 0:32that is uh
  17. 0:33I mean, what is the role of
  18. 0:34deduplication database in Commvault?
  19. 0:37Explain the difference between client
  20. 0:39side and media agent side deduplication.
  21. 0:42How does Commvault identify the
  22. 0:43duplicate data blocks or the chunks?
  23. 0:46Okay? How does DDB pruning work? What
  24. 0:48are the best practices if the DDB layout
  25. 0:51or the performance optimization? I mean,
  26. 0:53if you're facing some uh performance
  27. 0:55issues, okay? And uh
  28. 0:58how do you monitor DDB health and growth
  29. 1:00over the time?
  30. 1:02And the most important questions, if you
  31. 1:04face any uh challenges, if you face any
  32. 1:07issues on DDB, then what logs or the
  33. 1:09tools do you use to troubleshoot DDB
  34. 1:12performance issues? So, there is a
  35. 1:14multiple questions interview will be
  36. 1:15asked in your interview. So, we must
  37. 1:18know the what is a DDB and how it works
  38. 1:20in Commvault, okay? First, we are uh
  39. 1:25Okay.
  40. 1:26Deduplication database. So, it is stand
  41. 1:29for the deduplication
  42. 1:32database.
  43. 1:34If you break this point, that is the
  44. 1:38duplicate.
  45. 1:41Okay? That means
  46. 1:43it
  47. 1:44remove the duplicate data, remove the
  48. 1:47duplicate chunks, remove the duplicate
  49. 1:49blocks
  50. 1:50during the backup operation, okay? So,
  51. 1:53if anyone ask what is the deduplication
  52. 1:55in database, I mean, what is the
  53. 1:56duplicate What is the D D B in
  54. 1:58Commvault? Then
  55. 2:00you can you can tell them deduplication
  56. 2:03is the process of identifying and
  57. 2:06removing duplicate chunks or blocks of
  58. 2:09data. Kiska? Of data during the backup
  59. 2:13operation.
  60. 2:14That means during the backup operation,
  61. 2:16what D D B will do, D D B identify and
  62. 2:19remove the duplicate chunks or blocks of
  63. 2:22data during the backup operation.
  64. 2:24Okay? So,
  65. 2:26why we need it?
  66. 2:28Then
  67. 2:29interview will ask, why we need to
  68. 2:31enable the D D B?
  69. 2:33Then you tell them for the storage
  70. 2:36optimization.
  71. 2:38Storage optimization. Let's an example.
  72. 2:42There's a
  73. 2:43lemon language. There's a two storage
  74. 2:45policy.
  75. 2:47I will cover this part as well. There's
  76. 2:49a two storage policy. There's a S1
  77. 2:51storage policy and there's a S2 storage
  78. 2:53policy.
  79. 2:55Okay?
  80. 2:57And here we enable the deduplication.
  81. 3:01Here we not enable the D D B.
  82. 3:04Hm?
  83. 3:05And
  84. 3:06uh there's a environment where we are
  85. 3:08taking the backup of
  86. 3:10um where we taking the backup of 100
  87. 3:13virtual machines, 100 VMs.
  88. 3:17And in 100 VMs, each VMs have the size
  89. 3:20of 50
  90. 3:22GB.
  91. 3:23So, that means you need
  92. 3:25you need 5 TB.
  93. 3:29Okay? You need 5 TB.
  94. 3:33What happen when this
  95. 3:36is attached to S1?
  96. 3:39Let's an example, it's
  97. 3:40saving the 80% and somehow 70%.
  98. 3:45Okay?
  99. 3:46So, there's a some I mean, if you are
  100. 3:48going to end up create a D D B and
  101. 3:50there's some percentage all seen your
  102. 3:52lab. Okay? So, so let's an example, it's
  103. 3:56saving an 80%
  104. 3:59after deduplication. I mean, after
  105. 4:00removing the old chunks, old data
  106. 4:03from the
  107. 4:05from from the I mean, at the time of
  108. 4:08backup operation,
  109. 4:10then you need only 1 TB.
  110. 4:13And here we need 5 TB.
  111. 4:16There is a lot of difference.
  112. 4:18Okay? That's why we need to
  113. 4:21DDB enabled.
  114. 4:23Okay?
  115. 4:24So,
  116. 4:25if it's not, I mean, at the time of DDB,
  117. 4:28they only retain the
  118. 4:30unique value,
  119. 4:32okay? Then, what about the modified
  120. 4:33value? They
  121. 4:35the this this is the next part.
  122. 4:37Deduplication database store the
  123. 4:38metadata about these unique data chunks
  124. 4:42and allowing the Commvault to reference
  125. 4:44previously stored block instead of
  126. 4:47saving them again and again.
  127. 4:50Okay?
  128. 4:51So, this dramatically
  129. 4:53reduce the storage consumption and
  130. 4:55improve the backup efficiency as well
  131. 4:56because there is a multiple factors in
  132. 4:58which the in which the backups are
  133. 5:01dependent, okay?
  134. 5:04What are the components we are
  135. 5:06we are going to use in
  136. 5:08DDB? So, there is a multiple component,
  137. 5:11but
  138. 5:12uh how they are managed, how DDB are
  139. 5:14managed. So, there is a multiple things,
  140. 5:16so, okay? So, if you're talking about
  141. 5:18the uh
  142. 5:20how did we deduplication are managed?
  143. 5:22So, it is generally managed by the
  144. 5:23storage policy.
  145. 5:26In the storage policy, we have the data
  146. 5:28paths.
  147. 5:30We have data paths.
  148. 5:32We define the retention period.
  149. 5:35The okay, there is a one question. What
  150. 5:37is retention period?
  151. 5:39How What is retention period? So,
  152. 5:42retention period is nothing but how data
  153. 5:44long you kept in your environment, your
  154. 5:47storage.
  155. 5:48Okay? Before it deleted automatically. I
  156. 5:51mean, before it deleted
  157. 5:53uh deleted automatically. Okay? Before
  158. 5:55their complete retention period.
  159. 5:56Something.
  160. 5:59Okay, let's jump to the duplication
  161. 6:00part.
  162. 6:01So,
  163. 6:02uh how do There is one question for you
  164. 6:06when the interviewer ask
  165. 6:08how duplication manage through is
  166. 6:09through duplication centrally manage
  167. 6:12through the storage policy.
  168. 6:14There's a multiple component SIDB store.
  169. 6:17You can Google it as well. SIDB engine.
  170. 6:23Okay.
  171. 6:24DDB.
  172. 6:26If you known as the SIDB database,
  173. 6:29DDB partition. There's a multiple.
  174. 6:32Why we use partition? I will explain in
  175. 6:34coming lecture.
  176. 6:36Okay.
  177. 6:38Duplication centrally manage through the
  178. 6:39storage policy.
  179. 6:41And each storage policy can maintain own
  180. 6:44deduplication setting can associate with
  181. 6:46the global deduplication.
  182. 6:49Okay, there is a two
  183. 6:50uh independent and the global. Global
  184. 6:52deduplication storage policy depending
  185. 6:54upon the type of the data and the
  186. 6:55production size. This depends upon
  187. 6:57generally depends upon the product size.
  188. 6:59Production size.
  189. 7:01Okay.
  190. 7:02If you want to uh use the dedicated
  191. 7:03storage policy for the duplication, it
  192. 7:05create automatically. Let me Let me
  193. 7:07explain. A dedicated A dedicated
  194. 7:10deduplication storage policy consists of
  195. 7:12one library.
  196. 7:13This is the main part. One deduplication
  197. 7:15database, one or more media agents.
  198. 7:19For scalability and purpose using a
  199. 7:20dedicated deduplication policies allows
  200. 7:23for the
  201. 7:24efficient movement of very large amount
  202. 7:25of data. Actually, depends upon the uh
  203. 7:28environment. In which environment you
  204. 7:29have worked or in
  205. 7:31uh or which environment you want to
  206. 7:32create a DDP.
  207. 7:33Okay. When backing up the large amount
  208. 7:36of data
  209. 7:37with separate data types that do not
  210. 7:39duplicate
  211. 7:41well against each other. I mean, it's
  212. 7:44a war between
  213. 7:46within a family, you can say that. Such
  214. 7:48as database are the file system.
  215. 7:51If you are enable the horizontal scaling
  216. 7:53for applications, it
  217. 7:56This is the important part. The
  218. 7:58dedicated policies are created
  219. 7:59automatically. You do not create you
  220. 8:02know you did not I mean you did not want
  221. 8:04to create anything and any click on the
  222. 8:07console level.
  223. 8:08Okay?
  224. 8:10Global deduplication,
  225. 8:12if you
  226. 8:13recall them global
  227. 8:16then it is that means is will imply it
  228. 8:18will apply on the entire.
  229. 8:21Okay? So, global deduplication is
  230. 8:23storage policy provides a one large
  231. 8:25global deduplication database which can
  232. 8:27be shared by the multiple deduplication
  233. 8:29storage policies.
  234. 8:32Keep in mind that deduplication managed
  235. 8:34by the storage policy always.
  236. 8:36Okay?
  237. 8:38Each storage policy can manage the
  238. 8:39specific content with with own retention
  239. 8:42rules. Why
  240. 8:44I explained the retention?
  241. 8:46Here you can correlate this one. Okay?
  242. 8:49However, all participating storage
  243. 8:51policies copies share the same
  244. 8:53uh data paths.
  245. 8:56Which consists of media agent, disk
  246. 8:57library, and the global deduplication
  247. 8:59database. I hope you
  248. 9:02uh you are able to correlate everything.
  249. 9:05Okay? If interview ask you interview
  250. 9:08that can you explain the
  251. 9:10key features and key difference between
  252. 9:13the DDB policies and global DDB
  253. 9:16policies, then you can explain
  254. 9:19two or three points here. Apply to the
  255. 9:22specific storage policy or the media
  256. 9:23agent if you talk about the DDB
  257. 9:25policies.
  258. 9:26And if you talk about the global DDB
  259. 9:27policies, then it's shared across the
  260. 9:29multiple storage policy and the media
  261. 9:31agent. There's a key difference.
  262. 9:33Request individual configuration per
  263. 9:34policy. Centralized management for the
  264. 9:37duplication is through across the
  265. 9:38policies. Ideal for isolated isolated
  266. 9:41workloads are dedicated backup targets.
  267. 9:44It is isolated is a it will work for the
  268. 9:46larger environment.
  269. 9:48Okay. Best for the large environment
  270. 9:50needing the unified applications. This
  271. 9:52is spelling mistake.
  272. 9:54Okay.
  273. 9:56Got it?
  274. 9:58So, how it works?
  275. 10:01I mean,
  276. 10:03if backup I mean, if for the backup
  277. 10:06operation started, then what is the
  278. 10:08workflow of DDP?
  279. 10:10Okay. Client backup the data.
  280. 10:13Data injection is here.
  281. 10:15Breaks the data into the small blocks
  282. 10:18and hashing. So, there is a one bonus
  283. 10:21point for you.
  284. 10:24Interview will ask
  285. 10:26to you that which algorithm
  286. 10:30DDB used to identify the chunks or
  287. 10:33blocks? So, so this is the hash
  288. 10:35algorithm.
  289. 10:37Okay. Hash algorithm are using by the
  290. 10:40DDB to identify or removing the data
  291. 10:43from
  292. 10:44from I mean, at the time of backup
  293. 10:46operation from the data itself.
  294. 10:49Check the DDB for hash match. New hash.
  295. 10:53It stored the blocks and index metadata.
  296. 10:56For the matching one, update the
  297. 10:57metadata only.
  298. 10:59That means update the metadata only.
  299. 11:01That means let's an example,
  300. 11:03this is the data one which is created on
  301. 11:07Monday
  302. 11:08and on Tuesday
  303. 11:11someone modified this D1.
  304. 11:14D1
  305. 11:15dash.
  306. 11:16So, it only update the metadata only.
  307. 11:19Not update
  308. 11:20the all data. I mean, it's a let's
  309. 11:23assume it's 2 GB.
  310. 11:25And the changes will happen only 0.5 GB.
  311. 11:28The final size is 2.5.
  312. 11:31So, it's only make the changes about the
  313. 11:332.5 Sorry, 0.5 not for the all two to
  314. 11:37zero.
  315. 11:39I hope you are
  316. 11:41understand my point.
  317. 11:43There's a two word, burning and ceiling.
  318. 11:45So, I will cover the burning Burning is
  319. 11:47not itself a
  320. 11:495 to 10 minutes lecture. I will explain
  321. 11:51the next coming video.
  322. 11:53Okay, ceiling you can
  323. 11:54I will explain, but you if you able to
  324. 11:57identify what is the DDB ceiling, then
  325. 11:59it's So,
  326. 12:01helpful for your learning purpose as
  327. 12:02well.
  328. 12:04Okay, the next slide.
  329. 12:07What is that?
  330. 12:10Data chunk and hashing. Backup data into
  331. 12:13the split into the fixed size block.
  332. 12:15Okay, there's one more question for you.
  333. 12:17What is the fixed size block in DDB for
  334. 12:21I mean in DDB. So,
  335. 12:24fixed that is 128 KB. And
  336. 12:27this is a default one. If interview ask
  337. 12:29you what is the default value of
  338. 12:31um blocks in DDB,
  339. 12:34then you can tell them that 128 KB.
  340. 12:38You can check for the
  341. 12:40512
  342. 12:41KB as well.
  343. 12:43Each blocks is hashed using the
  344. 12:45fingerprint algorithm.
  345. 12:47Hashed
  346. 12:49using a fingerprint algorithm SHA-256.
  347. 12:51You can easily if you are working in the
  348. 12:53company environment, then you can easily
  349. 12:55check which algorithm are using.
  350. 12:56Generally it's using hash.
  351. 12:58The hash represent the blocks uniquely
  352. 12:59identify.
  353. 13:01The second step is the hash comparison.
  354. 13:03The hash is checked against the DDB.
  355. 13:06That is in this DDB
  356. 13:09DDB one, DDB two.
  357. 13:12I mean, the data is present in there or
  358. 13:15not. If it's present, then it's update
  359. 13:17only the metadata. If it not present,
  360. 13:19then it's
  361. 13:21put it. Block is stored in the disk
  362. 13:23library and index in the DDB.
  363. 13:26If duplicate, only metadata is updated.
  364. 13:30If there isn't duplication,
  365. 13:32then
  366. 13:33only metadata is updated. No data is
  367. 13:35stored again and again.
  368. 13:37If it is stored again and again, then
  369. 13:39the storage capacity is
  370. 13:41increasingly very bad. I mean,
  371. 13:43increasingly very high.
  372. 13:44DDB indexing.
  373. 13:46DDB maintains the mapping of hash values
  374. 13:48to the physical storage locations.
  375. 13:51Okay, there's a your It's talking It's
  376. 13:54talking about your storage location.
  377. 13:56Metadata is stored in a SID files. You
  378. 13:59can remember these files index cache
  379. 14:01folder.
  380. 14:02This enables a fast lookup and efficient
  381. 14:05space uses. I hope you come to the next
  382. 14:08one. Deduplication modes. Okay. Maybe
  383. 14:11the interview will ask in the your
  384. 14:13interview.
  385. 14:14Okay, tell me what are the modes
  386. 14:17available in our Commvault if you're
  387. 14:19using the DDB. So, there's a two client
  388. 14:22side deduplication, media agent side
  389. 14:24deduplication. So, from the name itself,
  390. 14:27all the work on done on the client side.
  391. 14:30Client side, that means before sending
  392. 14:31the data to the media agent. Okay, let's
  393. 14:35an example, the client C1.
  394. 14:37And here's the media agent.
  395. 14:40So, all the work done on the client
  396. 14:43That means before
  397. 14:46sending the data
  398. 14:48before sending the data
  399. 14:53to media agent.
  400. 14:55Before sending the data to the media
  401. 14:56agent.
  402. 14:58All the works, hash and comparison
  403. 15:00happen on the client before sending the
  404. 15:02data.
  405. 15:03And what is the media agent side?
  406. 15:05That means DDB is enabled on the client
  407. 15:08side.
  408. 15:10It enabled on the client side.
  409. 15:12Data is sent to the media agent which
  410. 15:15perform the deduplication.
  411. 15:17Where data is sent to the media agent. I
  412. 15:20mean,
  413. 15:21if you call if you recall in one word
  414. 15:24before sending the data and after
  415. 15:26sending the data. Okay?
  416. 15:29Before and after sending the data.
  417. 15:32Okay.
  418. 15:33Let's jump to the next part that is a
  419. 15:35pruning. I will
  420. 15:36cover the little part only here.
  421. 15:39Periodic cleanup of unused are the age
  422. 15:41out has entries. I mean, it will delete
  423. 15:44the unused data after age out. Let's
  424. 15:48example seven. There's a seven days
  425. 15:50retention period. So, data will delete
  426. 15:52after seven days.
  427. 15:54Free of the space and keep the DDB
  428. 15:56efficiency efficient trigger the
  429. 15:58retention policies as and the space
  430. 16:00threshold as well.
  431. 16:03Okay. This is
  432. 16:04There's a little about the DDB. I will
  433. 16:06cover
  434. 16:07pruning, sealing of DDB, what are the
  435. 16:09steps to create the DDB
  436. 16:12in the coming lecture, in the coming
  437. 16:14video. Okay, let's jump to the next
  438. 16:16slide
  439. 16:17and go through
  440. 16:19the questions which may be asked your
  441. 16:21interview. Okay? Your comment as well. I
  442. 16:24will reply your comment.
  443. 16:26Okay? So, there's multiple questions may
  444. 16:29be asked by the interviewer. That is
  445. 16:32What is DDB partition? Why it is used?
  446. 16:36Explain the the the first question
  447. 16:39generally asked. I mean, not included
  448. 16:41this one that is What is
  449. 16:43DDB?
  450. 16:46Okay? What is DDB?
  451. 16:49Explain the difference between client
  452. 16:50side and media agent side applications.
  453. 16:52I already explained how does a Commvault
  454. 16:54identify the duplicate data blocks
  455. 16:56during the backup operation, during the
  456. 16:57backup or the backup operation. I
  457. 16:59already explained.
  458. 17:01How do you size DDB for many media
  459. 17:03agents? You can work on it.
  460. 17:05What steps you would take if the DDB
  461. 17:07goes offline or corrupted? Okay, let me
  462. 17:10explain this one.
  463. 17:11If you
  464. 17:12If you're going for the troubleshooting,
  465. 17:13then first you need to check the logs.
  466. 17:17Okay? You can comment me which logs we
  467. 17:19need to
  468. 17:21check. Which logs we need to check.
  469. 17:25We need to
  470. 17:27check.
  471. 17:29Okay?
  472. 17:30What happens during the DDB migration
  473. 17:33and how do you prepare for it?
  474. 17:36Okay? What are the components of a DDB
  475. 17:39and how they stored? I already
  476. 17:40explained. How does Commvault handle DDB
  477. 17:43replication across the site? This is
  478. 17:45that technical level question. What logs
  479. 17:47or tools to use to troubleshoot DDB
  480. 17:50performance issues?
  481. 17:53What are the risk of running multiple
  482. 17:55DDBs in a single media agent? This is a
  483. 17:58very important questions.
  484. 17:59It is It is This is the license level
  485. 18:01question, okay? What are the risk of
  486. 18:03running multiple DDBs on a single media
  487. 18:05agent? So, there's a multiple issues.
  488. 18:07There's a multiple If you you can clear
  489. 18:09correlate that is the load balancer.
  490. 18:13Okay?
  491. 18:14Okay, guys? If you have any questions,
  492. 18:16if you have any doubts, then please ping
  493. 18:17me in the comment. I will I try I will
  494. 18:19try to explain your queries as well as
  495. 18:22soon as possible. Okay? If you have any
  496. 18:24questions, any questions regarding the
  497. 18:26DDB.
  498. 18:27Thanks for watching. Let's meet in the
  499. 18:30upcoming videos. Thank you again.

About this transcript

This page contains the full transcript of Deduplication (DDB) – Interview-Focused #commvault #interview #cloudcomputing #backup #technology by TechVault by abhi , generated from the public captions YouTube serves with the video. The transcript has 2,558 words across 499 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.