Esquema de banco de dados

693
4114

QUESTÃO CERTA: Em qualquer modelo de dados, é importante distinguir entre a descrição do banco de dados e o banco de dados de fato. Em relação à modelagem de dados, a descrição do banco de dados é intitulada: esquema.

QUESTÃO CERTA: Em sistemas gerenciados de banco de dados, a independência dos dados refere-se à capacidade de modificar a estrutura lógica ou física do banco, sem a necessidade de uma reprogramação dos programas de aplicativos.

É isso mesmo! A independência dos dados permite que se altere a estrutura do BD (não se preocupe com essa história de lógica ou física por enquanto) sem que sejam necessárias modificações nos programas ou aplicativos.

QUESTÃO ERRADA: Devido à independência de dados, provida pela referida arquitetura, as modificações do “esquema conceitual” — tais como a adição ou a remoção de um tipo de registro (ou item) de dados — não causam ou requerem alterações no “esquema externo” ou nos programas de acesso ao banco de dados.

A arquitetura de três esquemas é utilizada para explicar os conceitos de independência de dados, definida como a capacidade de alterar o esquema de um nível sem ter que alterar o esquema do próximo nível superior.

Há dois tipos de independência:

1. Independência Lógica de Dados: capacidade de alterar o esquema conceitual sem ter que mudar os esquemas externos ou programas da aplicação. O esquema conceitual pode ser alterado para expandir a base de dados, com adição de novos tipos de registros ou reduzir a base de dados removendo um tipo de registro.

2. Independência Física de Dados: capacidade de alterar o esquema interno sem ter que mudar o esquema conceitual ou externo.

A questão peca ao dizer que adição ou remoção de um tipo de registro não causa alteração no esquema externo.

Isso é verdade para tipos de registros remanescentes da alteração. Para tipos novos ou removidos, há sim que se realizar alterações para acomodá-los no esquema externo.

“Adição ou a remoção de um tipo de registro (ou item) de dados” – é no nível interno e não no nível conceitual!!

QUESTÃO CERTA: Considere as seguintes afirmativas sobre sistemas de bancos de dados federados: possuem esquemas globais compartilhados pelas aplicações.

QUESTÃO ERRADA: Independência de dados lógica é a capacidade de modificar o esquema lógico sem que, com isso, qualquer programa de aplicação precise ser reescrito. Modificações no nível lógico são necessárias, ocasionalmente, para aprimorar o desempenho.

Na verdade, é a capacidade de modificar o esquema conceitual (e não o esquema lógico como afirmado).

Independência lógica de dados: é a capacidade de alterar o esquema conceitual sem mudar o esquema externo ou os programas.

Independência física de dados: é a capacidade de alterar o esquema interno sem mudar o esquema conceitual.

Segundo Navathe (2011, p.23) a questão estaria correta da seguinte maneira,

“Independência de dados lógica é a capacidade de modificar o esquema lógico (O MESMO QUE ESQUEMA CONCEITUAL) sem que, com isso, qualquer programa de aplicação precise ser reescrito. Modificações no nível INTERNO são necessárias, ocasionalmente, para aprimorar o desempenho.”

QUESTÃO CERTA: O SGBD proporciona um conjunto de programas que permite o acesso aos dados sem exposição dos detalhes de representação e armazenamento de dados, por meio de uma visão abstrata dos dados, conhecida como independência de dados.

Em computação, quando falamos de abstração, estamos nos referindo a um conceito que permite relevar os detalhes técnicos de um determinado conceito em favor de uma visão mais ampla, mais próxima do contexto do usuário. Assim, quanto maior o grau de abstração, menos detalhes intrínsecos às maquinas e sistemas são levados em consideração. Nesse caso específico, em outras palavras, o examinador quis dizer que a independência de dados é a característica de abstrair os detalhes da representação e armazenamento dos dados. Não deixa de estar correto, já que o programa de aplicação releva os detalhes da implementação do BD, trazendo assim a possibilidade de se realizar alterações no banco sem precisar alterar o programa

QUESTÃO CERTA: Um esquema de banco de dados geralmente agrupa e apresenta as diferentes tabelas, seus campos e o relacionamento entre eles e outras tabelas.

O termo “esquema de banco de dados” refere-se a uma representação visual de um banco de dados, um conjunto de regras que governa um banco de dados ou todo o conjunto de objetos pertencentes a um determinado usuário.

Advertisement

Esquemas são apenas descrições dos dados.

Um esquema de banco de dados representa a configuração lógica da totalidade ou de parte de uma base de dados relacional. Ele pode existir tanto como uma representação visual quanto como um conjunto de fórmulas conhecidas como restrições de integridade que regem um banco de dados. Estas fórmulas são expressadas em uma linguagem de definição de dados, como SQL. Como parte de um dicionário de dados, um esquema de banco de dados indica como as entidades que compõem o banco de dados se relacionam entre si, incluindo tabelas, exibições, procedimentos armazenados e muito mais.

QUESTÃO CERTA O objetivo da arquitetura de três esquemas é separar as aplicações do usuário do banco de dados físico. Nessa arquitetura, os esquemas podem ser definidos nos três níveis. A esse respeito, é correto afirmar que o nível externo inclui visões do usuário? Sim. Cada esquema externo descreve a parte do banco de dados em que um grupo de usuários em particular está interessado e oculta o restante do banco de dados do grupo de usuários.

QUESTÃO CERTA: O objetivo da arquitetura em três esquemas é separar a aplicação dos usuários do banco de dados físico. Neste contexto, assinale a alternativa correta: Os três esquemas são chamados de esquema interno, conceitual e externo. Nem todos os sistemas gerenciadores de banco de dados separam completamente os esquemas desta maneira.

QUESTÃO ERRADA: O objetivo da arquitetura em três esquemas é separar a aplicação dos usuários do banco de dados físico. Neste contexto, assinale a alternativa correta: Os três esquemas são chamados de esquema interno, conceitual e externo. Na arquitetura em questão, a independência lógica de dados consiste na capacidade de alterar o “esquema interno” sem mudar o “esquema conceitual” .

A independência lógica de dados é a capacidade de alterar o esquema conceitual sem afetar os esquemas externos ou os programas de aplicativos. A independência de dados físicos é a capacidade de alterar o esquema interno sem afetar o esquema conceitual ou externo.

Independência física de dados

Ao modificar o esquema físico:

Não modifica os esquemas conceitual e, consequentemente, o esquema externo;

Necessidade: aprimoramento do desempenho.

Independência lógica de dados

Ao modificar o esquema conceitual:

Não modifica os programas aplicativos;

Necessidade: alteração da estrutura do BD.

Esquema interno: Descreve detalhes de armazenamento (físico); contém definições de estruturas de dados e mecanismos de acesso.

Esquema conceitual: Descreve a estrutura do BD (entidades, tipos de dados, etc.); definição do conteúdo da informação; utiliza o conceito de modelo de dados; 27 independe de estruturas de dados e mecanismos de acesso;

Esquema externo: Descreve somente a parte do BD pelo qual um grupo de usuários tem interesse – usuário vê apenas parte dos dados; as visões são também chamadas de sub-esquemas.

Objetivos da arquitetura de três níveis:

  • Separar as aplicações dos usuários do BD físico;

  • Prover uma visão abstrata dos dados.

693 COMENTÁRIOS

  1. Thanks for the marvelous posting! I definitely enjoyed reading it, you’rea great author. I will make sure to bookmark your blog and will come back very soon. Iwant to encourage you to definitely continue your great work, have anice evening!

  2. คาสิโนออนไลน์เรียกว่ายุคนี้ใครๆจะต้องรู้จักเพราะกระแสตอบรับดีเลิศๆในกรุ๊ปนักพนันแบบใหม่เพราะเหตุว่าเป็นที่เข้าใจกันอยู่ว่าคาสิโนออนไลน์ง่าย สบาย ไม่เป็นอันตรายสุดๆยิ่ง แทงบอลที่เป็นเว็บไซต์เชื่อถือได้ยิ่งเชื่อมั่นได้ว่า จ่ายจริงไม่มีกั๊กเลยครับ

  3. การเดิมพันที่ง่ายที่สุดบางทีอาจจะหนีไม่พ้นคาสิโนออนไลน์ด้วยเหตุว่าไม่ว่าจะอยู่ที่ใดทำอะไรก็สามารถทำเงินได้ตลอดเวลา UFABET เว็บคาสิโนออนไลน์ที่นำสมัยที่สุด ใช้ระบบอัตโนมัติในการฝากถอน ไม่ยุ่งยากต่อการใช้ รวมถึงยังมีคณะทำงานรอดูแล 24 ชั่วโมง

  4. Good day! I know this is kinda off topic but I was wondering if you knew where I could find a captcha plugin for my comment form?I’m using the same blog platform as yours and I’m having trouble finding one?Thanks a lot!

  5. With only a couple of us bucks you can obtain some decent cards. The distinctive attributes of poker have to do with the betting, and do not appear in any known more mature sport. It does mark a doorway in lifestyle for all males.

  6. I blog quite often and I really thank you for your information. The article has really peaked my interest. I am going to take a note of your blog and keep checking for new details about once a week. I subscribed to your Feed as well.

  7. I am not sure where you’re getting your info, but good topic. I needs to spend some time learning much more or understanding more. Thanks for magnificent information I was looking for this info for my mission.

  8. Thanks for every other great article. The place else may just anybody get that type of information in such an ideal method of writing? I’ve a presentation subsequent week, and I am at the search for such information.

  9. Howdy! This article couldnít be written any better! Looking at this post reminds me of my previous roommate! He constantly kept preaching about this. I will send this article to him. Pretty sure he will have a good read. Thanks for sharing!

  10. I have to thank you for the efforts you have put in penning this blog.I’m hoping to see the same high-grade content from you in the future as well.In fact, your creative writing abilities has motivated meto get my own blog now

  11. Oh my goodness! an excellent write-up dude. Many thanks Nevertheless I will be experiencing issue with ur rss . Don’t know why Struggling to enroll in it. Could there be anyone obtaining identical rss problem? Anyone who knows kindly respond. Thnkx

  12. I do trust all of the ideas you have introduced to your post. They’re very convincing and will definitely work. Nonetheless, the posts are very quick for beginners. May just you please lengthen them a bit from next time? Thanks for the post.

  13. Hey there just wanted to give you a brief heads up and let you know a few of the images aren’t loading correctly.I’m not sure why but I think its a linking issue.I’ve tried it in two different internet browsers and both show the same results.

  14. After I originally commented I clicked the -Notify me when new comments are added- checkbox and now each time a remark is added I get four emails with the identical comment. Is there any approach you possibly can remove me from that service? Thanks!

  15. Kelvin Kaemingk has over two decades of helping people make smarter decisions regarding their mortgage and money decisions. He began his career in financial planning and migrated into the mortgage space in 2002. He is passionate and committed to helping people throughout their lives, make the best financial decisions for themselves and their families. As a father of three, and now Papa K (grandpa) to one, a team builder and recruiter, Kelvin thrives on helping others realize their potential, often referenced as “Everyone’s biggest fan”. Kelvin Kaemingk is the Area Manager for loanDepot and Co-Host of the Real Estate Chalk Talk radio program based in the Minneapolis – St. Paul area. Kelvin Kaemingk, NMLS 251124 | Branch NMLS 1139048

  16. เปิดระบบออนไลน์สำหรับลูกค้าทุกท่านที่ต้องการจะ สล็อตผ่านเว็บ BET ตอบสนองตามความต้องการของคนไทย เปิดให้ เดิมพันออนไลน์ ทุกค่ายดัง ครบทุกค่ายที่ต้องการจะเล่น ขั้นต่ำเริ่มต้นสำหรับ สล็อตpg สล็อตxo เพียง 1 บาทเท่านั้น

  17. Having read this I thought it was rather informative.I appreciate you taking the time and effort to put this article together.I once again find myself spending way too much time both reading and commenting.But so what, it was still worth it!

  18. พนันบอลอย่างไรให้ได้เงิน พนันบอลชนะอย่างไรไม่ถูกโกง UFABET จ่ายจริงจ่ายไม่ยั้งระบบเข้าใจง่าย แค่เพียงคลิกสมัครก็ทำเงินได้โดยง่ายกับคาสิโนออนไลน์ สบายสุดๆชีวิตชิวๆชีวิตคลูๆทำเงิน สร้างผลกำไรสบายๆจึงควรที่ UFABET

  19. I am really impressed with your writing skills as well aswith the layout on your blog. Is this a paid theme or did you modify it yourself?Anyway keep up the nice quality writing, it’s rare to seea nice blog like this one today.

  20. You can certainly see your skills in the work you write. The sector hopes for more passionate writers like you who aren’t afraid to say how they believe. Always go after your heart.

  21. Thanks for one’s marvelous posting! I definitely enjoyed reading it, you happen to be a great author.I will make sure to bookmark your blog and may come back someday.I want to encourage yourself to continue your great work, have a nice day!

  22. I?m not sure where you are getting your information, but great topic. I needs to spend some time learning much more or understanding more. Thanks for magnificent information I was looking for this information for my mission.

  23. Thanks for your marvelous posting! I certainly enjoyed reading it, you happen to be a great author.I will be sure to bookmark your blog and may come back from now on. I want to encourage you to continue your great job, have a nice evening!

  24. After I originally commented I clicked the -Notify me when new feedback are added- checkbox and now every time a remark is added I get 4 emails with the identical comment. Is there any manner you possibly can take away me from that service? Thanks!

  25. Hey there! Do you know if they make any plugins to help with Search Engine Optimization? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good gains. If you know of any please share. Many thanks!

  26. Hello There. I discovered your blog the usage of msn. This is a really well written article. I’ll be sure to bookmark it and return to read extra of your helpful information. Thank you for the post. I will definitely return.

  27. Oh my goodness! Impressive article dude! Thanks, However I am encountering issues with your RSS. I donít understand why I cannot join it. Is there anyone else having identical RSS issues? Anyone that knows the answer will you kindly respond? Thanx!!

  28. I am not certain where you’re getting your information, but good topic. I needs to spend some time learning much more or figuring out more. Thanks for magnificent info I was looking for this information for my mission.

  29. สมาชิกใหม่ SLOTXO สมัคร 50 และสามารถเล่นบทบาทของสมาร์ทโฟนที่เราได้รับเราใช้เกมยอดนิยมเกมสล็อตที่มีโบนัสบ่อยที่สุดเกมที่คุณมีโอกาสสูงที่จะชนะ

  30. Oh my goodness! Impressive article dude! Thanks, However I am experiencing problems with your RSS. I don챠t understand why I cannot join it. Is there anybody else getting similar RSS issues? Anyone who knows the answer can you kindly respond? Thanx!!

  31. Oh my goodness! Amazing article dude! Thank you, However I am experiencing issues with your RSS. I donít understand why I cannot join it. Is there anyone else having identical RSS issues? Anybody who knows the answer can you kindly respond? Thanx!!

  32. I have not checked in here for a while as I thought it was getting boring, but the last few posts are good quality so I guess I’ll add you back to my everyday bloglist. You deserve it my friend

  33. Hello! This post couldn’t be written any better! Reading thispost reminds me of my old room mate! He always kept chattingabout this. I will forward this write-up to him. Fairly certain hewill have a good read. Many thanks for sharing!

  34. I’m no longer certain where you are getting your info, but good topic. I must spend some time finding out more or figuring out more. Thanks for fantastic information I used to be on the lookout for this info for my mission.

  35. I am now not sure the place you’re getting your info, however great topic.I must spend some time learning much more or understanding more.Thank you for wonderful information I used to be on the lookout for this info for mymission.

  36. A fascinating discussion is certainly really worth remark. I do Believe that you need to publish much more on this situation, it may not be a taboo issue but usually individuals don’t take a look at these subjects. To the subsequent! All the ideal!!

  37. Hi there! I could have sworn I’ve been to this blog before but after reading throughsome of the post I realized it’s new to me. Nonetheless, I’m definitely happy I found it and I’ll bebookmarking and checking back often!

  38. Thank you for another fantastic post. Where else may just anyone get that kind of info in such a perfect manner of writing? I have a presentation subsequent week, and I’m at the search for such info.

  39. Good day! I know this is kinda off topic but I was wondering if you knew where I could locate a captcha plugin for my comment form? I’m using the same blog platform as yours and I’m having problems finding one? Thanks a lot!

  40. Hello there! This is my first visit to your blog! We are a collection of volunteers and starting a new project in a community in the same niche. Your blog provided us valuable information to work on. You have done a outstanding job!

  41. Youre so cool! I dont suppose Ive learn something like this before. So nice to seek out anyone with some unique ideas on this subject. realy thanks for starting this up. this web site is one thing that’s needed on the internet, someone with somewhat originality. useful job for bringing something new to the internet!

  42. I just like the valuable information you supply to your articles.I’ll bookmark your blog and check again here regularly.I am slightly certain I’ll learn lots of new stuff right here!Best of luck for the following!

  43. I do love the way you have presented this matter plus it does give me a lot of fodder for thought. On the other hand, coming from what precisely I have observed, I basically hope as the actual comments pack on that people keep on issue and don’t start on a tirade of the news of the day. Yet, thank you for this outstanding point and while I do not really agree with the idea in totality, I respect the standpoint.

  44. Hi, I do believe this is an excellent blog. I stumbledupon it I may revisit once again since i have bookmarked it. Money and freedom is the best way to change, may you be rich and continue to help others.

  45. I blog quite often and I really thank you for your content. This article has really peaked my interest. I will bookmark your blog and keep checking for new details about once per week. I opted in for your Feed too.

  46. A fascinating discussion is definitely worth comment. I think that you need to write more about this subject, it may not be a taboo subject but usually people do not speak about these subjects. To the next! Many thanks!! Kimberley Aron Candi

  47. Heya just required to give you a short heads up and let you know a few of the images are not loading accurately. I’m not sure why but I feel its a linking matter. I’ve tried it in two unique browsers and both exhibit the same outcome.

  48. Wow that was strange. I just wrote an very long comment but after I clicked submit my comment didn’t appear. Grrrr… well I’m not writing all that over again. Anyway, just wanted to say superb blog!

  49. I do not even know how I stopped up right here, but I assumedthis put up used to be good. I do not realize who you’re however certainly you are going to a well-known blogger if you happen to aren’t already.Cheers!

  50. Hello! This post couldn’t be written any better! Reading this post reminds me of my previous room mate!He always kept chatting about this. I will forward this post to him.Pretty sure he will have a good read. Many thanks for sharing!

  51. Oh my goodness! Incredible article dude! Thanks, However I am having issues with your RSS. I don’t know why I am unable to join it. Is there anyone else having similar RSS problems? Anybody who knows the solution can you kindly respond? Thanks!!

  52. When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a commentis added I get several emails with the same comment.Is there any way you can remove people from that service?Many thanks!

  53. araba ikaz lambaları Kaci Workman araba izle Iman Schultz araba ile ilgili sözler Aasiyah Saunders araba ikinci el Alana Delacruz i araba markası Lilia Bass i araba oyunları Katarina Carlson i araba sözleri Ben Kaiser i araba nedir Margaret Fleming

  54. I blog frequently and I really thank you for your content. This great article has truly peaked my interest. I will take a note of your blog and keep checking for new details about once per week. I opted in for your Feed as well.

  55. An interesting discussion is definitely worth comment. I believe that you ought to write more about this topic, it might not be a taboo subject but generally people don’t discuss these issues. To the next! Cheers!!

  56. Wow that was strange. I just wrote an extremely long comment but after I clicked submit my comment didn’t appear.Grrrr… well I’m not writing all that over again. Regardless, just wanted to say fantastic blog!

  57. Oh my goodness! an amazing article dude. Thanks Nevertheless I’m experiencing challenge with ur rss . Don’t know why Unable to subscribe to it. Is there anyone getting similar rss problem? Anyone who is aware of kindly respond. Thnkx

DEIXE UMA RESPOSTA

Por favor digite seu comentário!
Por favor, digite seu nome aqui