Skip to main content

Database - Terminology

1. What is database
Database is a organised collection of some data that can be easily accessed and managed through backend of some program, website or terminal/command prompt.
To access our data we are using commands like:

  • INSERT,
  • SELECT,
  • ORDER BY,
  • DELETE,
  • ETC.
This commands are easy to use because most of them are in plain english language and intuitive.
There is two types of database. Relational and not relational database.

Relational databases:

  • MySQL
  • SQLite
Non-relational databases:
  • MongoDB
  • Azure Cosmos DB


2. Benefits of using a Database
Using databases is very beneficial as DB can store info about our products, product properties and others as an example:
  • Product name,
  • availability,
  • price,
  • users,
  • user privileges,
  • comments,
  • etc.
As database can handle simple operations, we can use it to log in user. How log in in database can look like in simple words: 
  1. User inputs username and password,
  2. server makes a query to database with given username and password,
  3. database compares server's query with data stored in database,
  4. if database found fields with that username and related to this username password, and user input is good, database will return us true value (access), else if there is no password or username related to database, then database returns false value (no access).
Another important thing about databases it their structure, which is easy to read and it assures us that no value will be redundant as if we try to insert values that already exists into our database the error will occur.

If we just have access to database we can use it in different programs as it is not designed just for one purpose or one project.



3. Different views of database
There is few types of database views.

  • Structure view - how the database structure look like. How everything in database is connected with each other,
  • External view - what the user of final database will see
In relational database we can connect data with nodes, which provides us more specific selection selection of data.



4. Database access levels
Database allows us to give different permissions to users or administrators. For an example users can be allowed to only read data from database and administrator will be allowed to change something in database.

Access levels is about giving different privileges to different database users.


Comments

  1. Remember to source any information you have used in your digital notebook if you have used online, book or other sources for your research.

    ReplyDelete

Post a Comment

Popular posts from this blog

Survey results and analysis + SWOT Analysis

In the last weeks I have created a survey to gather informations, which can potentially give me some ideas about my software and how I can improve it in order to fulfil expectations of potential clients. To analyse all of data gathered I used charts that were generated automatically in the Google Forms and SWOT Analysis of data in charts. In the first part of my survey I am asking respondents about themselves do predict if there are any chances that they are on some higher positions in companies that they are working for. The variation of both higher age and higher education - age 30+ and bachelors level of education and above makes possibilities that the respondent is currently on some higher position. I decided to use this variation instead of asking respondent directly, because I am aware of that maybe not everyone want to share such information with survey even if they are anonymous. As we are able to see on the chart there is an impressive number of people who have educati...

Back-end of application - C# and the Google Vision API

In this post I will be writing about following: Connecting the Google Cloud Vision API to C#, benefits of using this API, why I choose the Vision API, code written to make my software working, bugs that I need to solve in future versions Connecting API to C# To use Google Cloud API's we need to configure and download account credential '*.JSON' file. To work with the Google Vision API we need also to reconfigure our windows settings by adding path of JSON file to our environmental variables, which you can see below As we finish adding our environmental variable we can go further to the next step, which is preparing our programming language to work with API, in this case C#. Firstly, I have downloaded NuGet Google Cloud package to work it Secondly, after we configured everything successful we can import Google package to call it after in code. To do that in C# we need following 'using' statement With this last step I am fully configure...