Azure Cosmos DB Tutorial | Globally distributed NoSQL database

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

Комментарии • 221

  • @AdamMarczakYT
    @AdamMarczakYT  3 года назад +11

    At 7:32 there is a typo about partition types. Instead of "two kind od partitions", it should be "two kinds of partitions" :) Thanks Davide T. for letting me know :)

    • @RohanHazara
      @RohanHazara 3 года назад +1

      Still mentioning wrong meaning. You wrote "Two king od partitions". I dont think it does a matter because we understand your good explanation. Good work and keep it on!

    • @rakeshpanigrahi577
      @rakeshpanigrahi577 3 года назад

      @@stephenzx6312 during container creation, you can choose "Manual" instead of "Autoscale"

    • @roshanyedme8483
      @roshanyedme8483 2 года назад

      @@RohanHazara c9xcx999xx99c999c9x99c99f999x9cfcx99x9c999xfgxc99x99cg9c909c9c9

  • @NaClH2OGrl
    @NaClH2OGrl 4 года назад +27

    Thank you, Adam! It's not everyday that I watch a learning video that provides easy to understand language, content, and flow. You obviously know your stuff and, bonus for everyone, you're a natural teacher who's willing to produce and share your knowledge.

    • @AdamMarczakYT
      @AdamMarczakYT  4 года назад

      Awesome! Thanks for such nice feedback!

    • @michaziemak4808
      @michaziemak4808 3 года назад

      This is really good info!
      Thank you Adam!

  • @DebanjanBardhan
    @DebanjanBardhan 3 года назад +2

    I was so confused about the terminology of containers and documents, and you made it crystal clear for me in just a slide. Thank you so much, Adam :)

  • @abhisheksoni6012
    @abhisheksoni6012 2 года назад

    Adam you made my life so easy, I started watching your videos since last 15 days, I got impressed with the way you teach, please keep continuing.

  • @ngophuthanh
    @ngophuthanh 4 года назад +4

    Thanks a lot, Adam. Your videos are very helpful and interesting. You summarize how thing work, and then provide great demos. Well balanced and well done.

  • @selwynalexander9750
    @selwynalexander9750 4 года назад +2

    Thanks Adam. Your an Azure Certified Teacher . Its very easy to understand your videos and acquiring deep knowledge. Well done bro!

  • @belong_to_the_world
    @belong_to_the_world 7 месяцев назад

    It is always nice liearning azure with you Adam! Thank you so much!

  • @penglv1007
    @penglv1007 5 лет назад +2

    Very informative and easy to understand. Hope to watch more about the usage with demos.

    • @AdamMarczakYT
      @AdamMarczakYT  5 лет назад

      More are coming but pipeline of videos is long but definitely a hot topic to cover. Added to the list, thanks for the feedback!

  • @manishsharma9490
    @manishsharma9490 4 года назад +1

    Very nice explanation! Learning azure is very easy using your videos and demonstrations! Thanks bro!!

  • @satishseshadri
    @satishseshadri Год назад

    You've been my learning source for a while now. Thanks a lot for your videos!!

  • @elitsavr
    @elitsavr 4 года назад +3

    Your Azure videos are great! Thank you so much!

  • @patrickbrodeur7466
    @patrickbrodeur7466 Год назад

    Very good video! I'm always impressed how how much information you can teach clearly in a 31 minutes video! You know well Azure, and you are a very talented teacher! Go from almost 0 knowledge on Cosmos DB to excited beginner in 31 minutes! ;-)

  • @pawanmodi9020
    @pawanmodi9020 4 года назад +2

    Great video. Very crisp and great explanation.

  • @renjithh88
    @renjithh88 4 года назад +1

    Superb content...very crisp and to the point...helps a lot while preparing my dp-200 certification👍👍

  • @run-forrest-run
    @run-forrest-run 4 года назад +1

    Thank you @Adam Marczak. It is really nice to see you are progressing with your way of explaining things. Since this video is of last year. I can tell the difference with your latest videos. Really good work! ✌️

    • @AdamMarczakYT
      @AdamMarczakYT  4 года назад +1

      I know right! It's been a looong way. Spent hundreds of hours perfecting presentations, agenda, structure and even signed for additional English lessons with British native so I can speak more fluently with better pronunciation :) Moving on all tutorials will only get better. Every few years when there will be major changes to the service I definitely plan to do a refresher video with all the improvements :) Thanks!

  • @arthurimona5901
    @arthurimona5901 4 года назад +5

    Dzięki Adam for these insights. I totally need this for one of my projects. Great video!

  • @AnilKumarP4U
    @AnilKumarP4U 4 года назад +1

    Your video's are very helpful to understand content without any confusion. Thank you so much!

  • @murali411987
    @murali411987 4 года назад +1

    Thank you Adam for sharing these learning videos. You are making azure journey easy for everyone.

  • @belaidmabrouk29
    @belaidmabrouk29 2 года назад +1

    Adam you are really amazing ,
    keep going thanks !

  • @shantanudeshmukh4390
    @shantanudeshmukh4390 4 года назад +1

    Very nicely done. Easy to understand these complex concepts. Just subscribed to this channel. Looking forward for more knowledgeable videos. Thank you!

  • @antonistarczynowski7356
    @antonistarczynowski7356 2 года назад

    Extremely useful and well done material. Congrats Adam!

  • @vincexjx
    @vincexjx 4 года назад +1

    Great video to pick up Cosmos DB. Thank you Adam!

  • @ValentineMasina
    @ValentineMasina 3 года назад

    Lovely to see this well articulated video. Thanks

  • @gotonaren
    @gotonaren 4 года назад +1

    Very well presented. Thank you for an easy to understand information video. Just what I was looking for.

  • @brianaustin685
    @brianaustin685 2 года назад

    Great walk through Adam, appreciate the content 👍

  • @Mezmiro
    @Mezmiro 5 лет назад +5

    Great video! Hopefully MS fixes the cost issue with Cosmos, as currently it's a very expensive option.

    • @AdamMarczakYT
      @AdamMarczakYT  5 лет назад +2

      I hope so too. I like cosmos db but and I use it in my projects but I would use it more if it would cost less.

    • @stuartstead3768
      @stuartstead3768 4 года назад

      Yes, it's certainly not cheap is it?

  • @Paweaszcz
    @Paweaszcz Год назад

    Hello Adam - thanks for very nice piece of Azure knowledge !

  • @itzinfector
    @itzinfector 4 года назад +1

    your vids are the best azure tutorials thanks for your support

  • @myriampch14789
    @myriampch14789 3 года назад +2

    Very clear and useful, thank you !

  • @styleman2434
    @styleman2434 4 года назад +1

    Very nice video for basic understanding 👍

  • @gyanendramaurya2082
    @gyanendramaurya2082 2 года назад

    This was amazing, I got a new job and there they used cosmos db, just wanted to know what it is and how its works, I now have a very clear picture of how they are using the cosmos db, next step is learning azure functions, will go and check if you have any material on that, otherwise some other resource :( , anyways Thank you very much for the clean tutorial.

  • @SameeraSenarathna
    @SameeraSenarathna 3 года назад +1

    Another Good Video. Thank you for sharing the knowledge.

  • @paulowiz
    @paulowiz 7 месяцев назад

    Clear and objective! Nice video!

  • @FXK23
    @FXK23 4 года назад +2

    Shoudn't you avoid joins for cross-query over logical partitions? Isn't it a better idea to introduce some extra property in both container-docs and merge the two conatainers in order to query one logical partition?
    Great tutorials!

    • @AdamMarczakYT
      @AdamMarczakYT  4 года назад

      Partitioning and query optimization is a big topic. And in general you should avoid cross-partition queries as they consume more RUs but it's hard to design database so sometimes you might still need to do it. There is a lot of factors to consider and too many for a simple comment section to fit in. Thanks for watching :)

  • @prasadmadhasi
    @prasadmadhasi 4 года назад +3

    Perfect Session!!!!

  • @somitmitra823
    @somitmitra823 Год назад

    Adam, this is was great share. Thanks Man !

  • @bhagvandas6058
    @bhagvandas6058 3 года назад +1

    great video with nice descriptions..

  • @balanm8570
    @balanm8570 5 лет назад

    Awesome Video on Cosmos DB !!!. To the point to understand cosmos DB !!!

  • @eirikandersen9848
    @eirikandersen9848 4 года назад +1

    Really insightful video! The change feed section caught my eye and I am curious to more about it. My question is: May the change feed facilitate input into source systems, i.e. a online website?
    Let's say you have a customer that has bought a product and that information is sent to a Cosmos DB that uses SQL API for document storage. Furthermore, that information is sent to a Cosmos DB that uses the Gremlin API to uncover relationships between data, i.e. the customer has bought product A and based on the data we have in Gremlin API DB, the customer might like product B. Then this information is sent back to the website and next time the customer visit the website, the recommendation for product B is there.
    Wow, this turned out to be quite the message!

    • @AdamMarczakYT
      @AdamMarczakYT  4 года назад

      Thanks! Change feed is great, also check out samples with event grid and signalr if you want to build real time applications. Remember that cosmos can't use multiple APIs at the same time so you would need two of them. But sounds like an interesting project and good use-case. Good luck.

  • @armaanverma7026
    @armaanverma7026 2 года назад

    All videos are excellent @Adam, where can I look for more contents, how to subscribe to your portal.

  • @duladuda9891
    @duladuda9891 4 года назад +1

    Thanks so much still relevant in 2020!

  • @xelaksal6690
    @xelaksal6690 Год назад

    Great introduction!!!

  • @rsbalaji1755
    @rsbalaji1755 2 года назад

    Adam, you are awesome man

  • @abhishekchandra7606
    @abhishekchandra7606 3 года назад +1

    Great tutorial for overview

  • @leofuadjadue
    @leofuadjadue 2 года назад

    Thank you, Adam!!! 😀

  • @chandra1975
    @chandra1975 3 года назад +1

    Thank you Adam, Great Job. your videos are nice . DP 200 videos if you could share that would be helpful.

  • @ejmsp
    @ejmsp 5 лет назад +3

    Hey Adam,
    Nice video once again. Thanks for sharing the knowledge
    do you know some good courses to learn more about Azure? Am specially interested in Data factory and databricks, some recommendation? :)

    • @AdamMarczakYT
      @AdamMarczakYT  5 лет назад +1

      Hey. Glad to see you are coming back for more :) I personally like Azure Friday videos on official Microsoft Azure channel ruclips.net/user/windowsazuresearch?query=data+factory

    • @ejmsp
      @ejmsp 5 лет назад

      @@AdamMarczakYT thanks, i will check it ;)

  • @nadya6368
    @nadya6368 4 года назад

    Dziękuję bardzo za super filmiki!

  • @CursedMilkshake
    @CursedMilkshake 3 года назад +1

    Great video, thank you!

  • @vinodhkumar9540
    @vinodhkumar9540 4 года назад

    Fantastic Adam!

  • @will44559
    @will44559 3 года назад

    Great course, Adam! Do you have any plan to do any Kubernetes course? Thanks.

  • @irtazahaider1351
    @irtazahaider1351 4 года назад

    Thank you, Adam. Very helpful

  • @kazimdminhajulhaider3709
    @kazimdminhajulhaider3709 2 года назад

    Amazing Tutorial, thanks

  • @HamsterHand777
    @HamsterHand777 4 года назад

    Another great video, thanks!

  • @rvkrasyl
    @rvkrasyl Год назад

    Thank you for the video!

  • @manojvishwakarma1411
    @manojvishwakarma1411 3 года назад

    Very easy and good learning place

  • @skfarid9069
    @skfarid9069 4 года назад +1

    @Adam Marczak - Azure for Everyone Thank you Adam for your quick update but how to reference the environment parameter here, so that read replication can be done only in Production environment and not in any other environment, basically how to put condition . Please suggest, awaiting for your valuable reply on the same.

    • @AdamMarczakYT
      @AdamMarczakYT  4 года назад

      Unfortunately I don't provide consultancy for work efforts. This isn't an Azure question either, this is a question on how to code with PowerShell. Feel free to check some online tutorials on the subject.

  • @TheZimberto
    @TheZimberto 2 года назад

    Great overview

  • @PawanKumar-tu6ti
    @PawanKumar-tu6ti 3 года назад

    Thanks again for helping me, my search queries have turned like, "topic name"+" Adam".
    "azure cosmos db Adam"

  • @Davidepalte
    @Davidepalte 3 года назад +1

    In partitions, you have an error in "There are two king od partitions" and it took me a while to get it.
    Consider adding a note or a comment in this section of the video.

    • @AdamMarczakYT
      @AdamMarczakYT  3 года назад +1

      Duh!!! Silly me, never noticed that :) Unfortunately RUclips doesn't allow any post-upload fixes :( I'll add a sticky comment, thanks! :)

    • @Davidepalte
      @Davidepalte 3 года назад +1

      @@AdamMarczakYT Tank you for the very relevant content!

  • @edwinpantony100
    @edwinpantony100 3 года назад +1

    Great Video:) Thanks for this. and appreciate you could throw some points here.
    c:\labs\Program.cs(11,30): error CS0246: The type or namespace name 'Task' could not be found (are you missing a using directive or an assembly reference?)
    c:\labs\Program.cs(11,30): error CS0246: The type or namespace name 'Task' could not be found (are you missing a using directive or an assembly reference?)

    • @AdamMarczakYT
      @AdamMarczakYT  3 года назад

      This has been shown in the video around 18:20 mark.

  • @leefig6089
    @leefig6089 4 года назад +1

    Fabulous

  • @govindhanperl6211
    @govindhanperl6211 3 года назад

    thanks for the demo

  • @mayankdhamaniya6127
    @mayankdhamaniya6127 Год назад

    can you please explain how we will fetch ru used in a resorces group for a particular database container

  • @Chrisorian
    @Chrisorian 4 года назад +1

    Dzięki. Chciałbym dostać pracę w Nokii, a tam używają właśnie Cosmos DB.

  • @faycalbziou9147
    @faycalbziou9147 4 года назад +1

    great content

  • @ankitdagreat
    @ankitdagreat 4 года назад +1

    can we have a video with Mongo Db APi and show the way of partition.

    • @AdamMarczakYT
      @AdamMarczakYT  4 года назад

      I might do partitioning video for cosmos db at some point. :)

  • @SinghFlex
    @SinghFlex 3 года назад

    Great tutorial brother, Just a question ; how to call cosmosdb using sample logic app with managed identity authentication?

    • @AdamMarczakYT
      @AdamMarczakYT  3 года назад +1

      You can. I don't think default connector supports this but you should be able to craft HTTP request instead :)
      This tutorial does it on VM but it should be good enough to transfer this to HTTP call from Logic App
      docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/tutorial-windows-vm-access-cosmos-db?WT.mc_id=AZ-MVP-5003556 please note that logic apps automatically get tokens sso no need for extra HTTP call.
      I have very similar approach with Managed Identity and Blob Storage call shown in this video ruclips.net/video/xVFmpszXmC0/видео.html

  • @akshya88
    @akshya88 Год назад

    Hello, I have a query. We need to bring oracle oltp data to cosmos db. What will be the best way as we need the data as soon as available. We wanted to use fivetran but it seems like it has not created connection to cosmos db.

  • @amitkumarvit1
    @amitkumarvit1 4 года назад

    Very good content!

  • @paolaagudelo3672
    @paolaagudelo3672 23 дня назад

    awesome

  • @MahmoudRabieadevedo
    @MahmoudRabieadevedo 4 года назад

    Thanks a lot for the video, it helped me a lot

  • @taveek
    @taveek 4 года назад

    Great work, thank you very much.

  • @skfarid9069
    @skfarid9069 4 года назад +1

    Thank you Adam for this awesome tutorial...Great one indeed !!!
    How to enable Replication on Cosmos DB in Production only via Automation Script in East US 2 (Read regions) whereas write region is in Central US .Already have one common environment (dev/prod) ARM template for cosmos DB via which Cosmos DB been created.
    Awaiting for your valuable reply.
    Thanks in advance!!

    • @AdamMarczakYT
      @AdamMarczakYT  4 года назад

      Use update function in powershell. Location parameter is array so you can pass multiple.
      docs.microsoft.com/en-us/powershell/module/az.cosmosdb/update-azcosmosdbaccountregion?WT.mc_id=AZ-MVP-5003556&view=azps-4.7.0

    • @skfarid9069
      @skfarid9069 4 года назад

      @@AdamMarczakYT Thank you Adam for your quick update but how to reference the environment parameter here, so that read replication can be done only in Production environment and not in any other environment, basically how to put condition . Please suggest, awaiting for your valuable reply on the same.

  • @sujanbhattacharya6029
    @sujanbhattacharya6029 3 года назад

    Can you please provide guidance about how to copy large json files (>16 MB) to cosmos db

  • @jarrettcurrie6071
    @jarrettcurrie6071 4 года назад

    Great tutorial!

  • @alkanandaappala3877
    @alkanandaappala3877 2 года назад

    How to upgrade tls/ssl version in existing azure cosmos db?

  • @arjss
    @arjss 4 года назад

    Thanks for this insight.

  • @aniketsamant455
    @aniketsamant455 4 года назад +1

    @Azure 4 everyone: I have to choose between Cosmos DB sql API and gramelin API ? Do you know when to use which one? Could please provide me any link if u have stating diifrence between gramelin and sql Api

    • @AdamMarczakYT
      @AdamMarczakYT  4 года назад +3

      Hey Aniket. Gremlin is for graph databases, so it's not a question of API but question of business problem you are trying to solve. If you need graph database then this is for you. If you want to check what are the challenges that graph database solve check this doc docs.microsoft.com/en-us/azure/cosmos-db/graph-introduction#scenarios-that-can-use-gremlin-api

  • @FirstNameLastName-kt3zn
    @FirstNameLastName-kt3zn 5 лет назад

    This was very helpful thanks

  • @azureradhakrishnan330
    @azureradhakrishnan330 4 года назад +1

    Hi adam i am not script guy like you its mandatory to know this skill sets for administration perspective or commission is an enough ?
    looking your feedback

    • @AdamMarczakYT
      @AdamMarczakYT  4 года назад

      Depends on the role, for admin I would say you would need to learn powershell or azure cli to manage Azure environment. My advise would be powershell. This is covered also as part of Azure Admin certification paths. I also have few videos on those so feel free to check them out.

    • @azureradhakrishnan330
      @azureradhakrishnan330 4 года назад

      @@AdamMarczakYT Thank you for valuable reply

  • @krishna172225
    @krishna172225 3 года назад +1

    Hi Adam..hope you're doing well. I have question. If someone deleted the data in cosmos db containers . Is it possible to verify how deleted the data.

    • @AdamMarczakYT
      @AdamMarczakYT  3 года назад +1

      You can check a lot of stuff in the activity log in Azure as long as it's a platform change, not sure if deletion of containers is here but possibly. Thanks for watching! :)

  • @CosmeJunior
    @CosmeJunior 3 года назад

    @Adam, I can't install the Microsoft.Azure.Cosmos package, I got the error "There are no versions available for the package 'Microsoft.Azure.Cosmos' can you help me out here ?

  • @vipularyaa
    @vipularyaa Год назад

    could you tell me how do we change from azure cosmos DB to Postgres sql db

  • @sanjeevakumarg5847
    @sanjeevakumarg5847 3 года назад

    Hi Adam, Can you help how to delete the cosmos collection using Azure data factory.

  • @pamulaavinash7829
    @pamulaavinash7829 4 года назад

    1.Why we need to choose cosmos db instead SQL databases ...
    2.If I don't know c# can we use powershrell script
    3. Is scaling done automatically

    • @AdamMarczakYT
      @AdamMarczakYT  4 года назад

      1. You don't 'have' to. You can if it fits your scenario
      2. There isn't powershell SDK for cosmos db right now but there are some examples how to use REST API from powershell (example gallery.technet.microsoft.com/scriptcenter/How-to-query-Azure-Cosmos-0a9aa517?WT.mc_id=AZ-MVP-5003556 ) but in my opinion that might be harder than using .NET :)
      3. There is auto-scaling option available docs.microsoft.com/en-us/azure/cosmos-db/provision-throughput-autoscale?WT.mc_id=AZ-MVP-5003556

  • @adityaupadhyay3242
    @adityaupadhyay3242 4 года назад +1

    Awesome session Adam. I have a query if we don't know .net can we still work on Cosmos DB?

    • @AdamMarczakYT
      @AdamMarczakYT  4 года назад

      Thanks! Yes you can, there is also Java, JavaScript (NodeJs), Python or simply REST API that can be leveraged to build your own applications.

    • @pamulaavinash7829
      @pamulaavinash7829 4 года назад

      Can we use powershell

  • @arthurimona5901
    @arthurimona5901 4 года назад +1

    One question. Is it possible to have an azure cosmos db accessible to both a .net api and one that's node.js api?

    • @AdamMarczakYT
      @AdamMarczakYT  4 года назад +1

      Hi Arthur, what you ask is two different SDKs, but they use the same API underneath. So the answer is, yes you can use both .NET and nodejs.

  • @bhimtech6237
    @bhimtech6237 5 лет назад

    Great video!!!

  • @washingtonqgaldos6572
    @washingtonqgaldos6572 4 года назад +1

    thanks so much

    • @AdamMarczakYT
      @AdamMarczakYT  4 года назад

      You're welcome! Thanks for stopping by!

  • @yashhustle
    @yashhustle 3 года назад

    How do we do Order by with Group by in Cosmos DB?

  • @RameshP-ds4xt
    @RameshP-ds4xt 4 года назад

    Amazing contents .. thanks

  • @ateekain5739
    @ateekain5739 3 года назад

    Hello, I want to create NOSQL database, one DB in singapore and one in US. Want to access both database as one without copying over. Just reference with possibility of CRUD operation. Data from singapore database shouldnt be moved out of singapore database. How should i do it ?

  • @maddipatlamadhura4140
    @maddipatlamadhura4140 3 года назад

    Hi, when I try to open my azure cosmos db emulator it shows Unable to add firewall rule settings. Please restart the Azure Cosmos Emulator with/NOFirewall Option.
    How to solve this issue?

  • @sbkote
    @sbkote 4 года назад

    Hi Adam, I have a use case and need your advice on that...
    So i need a Azure DB for storing some Large size files(ranging 1MB to 4 GB) and some meta data for those file and an API / link using which we can download the files from the DB. There is going to be a lot of reads/writes as well.

    • @AdamMarczakYT
      @AdamMarczakYT  4 года назад +1

      You should not store files in the database. You should store them on blob storage and only store paths to file in the database. Your API should generate expiring SAS urls to those files and send them to users for direct download.

    • @sbkote
      @sbkote 4 года назад +1

      @@AdamMarczakYT Thanks Adam this is very helpful. :)

  • @dlplenin
    @dlplenin 4 года назад

    Great tks! .... what if i need to handle two or more containers from c # ?, do i need to create a connection for each container?
    For now I found information about how register a connection to single container in the Startup.cs
    Tks again.

    • @AdamMarczakYT
      @AdamMarczakYT  4 года назад +1

      Yes, correct. You can reuse connection. Check out the samples from MS docs.microsoft.com/bs-latn-ba/azure/cosmos-db/sql-api-dotnet-v3sdk-samples

    • @dlplenin
      @dlplenin 4 года назад +1

      @@AdamMarczakYT. I really apreciate it!
      At firts sight, I think these lines could help in this scenario:
      Container container = database.GetContainer(containerId);
      ContainerProperties containerProperties = await container.ReadContainerAsync();
      Will test it... thanks!

  • @BijouBakson
    @BijouBakson 2 года назад

    Thank you.

  • @akhilamurthyraju5645
    @akhilamurthyraju5645 3 года назад

    I just installed visual studio code. To correct CosmosClient (ctrl + .), drop down is not showing - “using MicrosoftAzure.Cosmos”. May I know which extension I need to install to get this??

    • @AdamMarczakYT
      @AdamMarczakYT  3 года назад

      I think intellisense for .NET should be out of the box. Just make sure to install the packages using provided command and then run "dotnet restore" to get the packages.

  • @DeepakShaw
    @DeepakShaw 2 года назад

    Can we store same way in Azure Table Storage?

  • @jagerzhang4059
    @jagerzhang4059 3 года назад

    Hello Adam ,Can the link service can connect an remoted mongoDB,which is not in Azure portal,thx

    • @AdamMarczakYT
      @AdamMarczakYT  3 года назад

      If you mean from data factory, then yes.
      docs.microsoft.com/en-us/azure/data-factory/connector-mongodb?WT.mc_id=AZ-MVP-5003556