Data storage is the collective methods and technologies that capture and retain digital information on electromagnetic,optical or silicon-based storage media. Storage is a key component of digital devices, as consumers and businesses have come to rely on it to preserve information ranging from personal photos to business-critical information.Storage is frequently used to describe the devices and data connected to the computer through input/output (I/O) operations,including hard disks,flash devices,tape systems and other media types.
Explain the Data, Database, Database Server, and Database Management System
Data
Database Server
Database Management System
Compare Files and Databases, discussing pros and cons
Discuss different arrangements of data, giving examples
Different types of databases, providing examples for their use
how the application components communicate with files and databases
Differentiate the SQL statements, Prepared statements, and Callable statements
The Callable Statement object can use all the three. A parameter whose value is unknown when the SQL statement is created.You bind values to IN parameters with the set abc() methods. A parameter whose value is supplied by the SQL statement it returns.
Argue the need for ORM, explaining the development with and without ORM
If any node fails in between, the master will detect this failure and assign the same task to another node where the replica of the same data block is available.
Explain the Data, Database, Database Server, and Database Management System
Data
In computing data is information that has been translated into a form that is efficient for movement or processing.Relative to today's computers and transmission media,data is information converted into binary digital form.It is acceptable for data to be used as a singular subject or a plural subject.Raw data is a term used to describe data in its most basic digital format.
Database Server
Database server is the term used to refer to the back-end system of a database application using client/server architecture. The back-end, sometimes called adatabase server, performs tasks such as data analysis, storage, data manipulation, archiving, and other non-user specific tasks.
Database Management System
A database management system (DBMS) is system software for creating and managing databases. The DBMS provides users and programmers with a systematic way to create, retrieve, update and manage data.
Compare Files and Databases, discussing pros and cons
Pros of the File System
- Performance can be better than when you do it in a database.To justify this, if you store large files in DB, then it may slow down the performance because a simple query to retrieve the list of files or filename will also load the file data if you used
Select *
in your query. In a files stem, accessing a file is quite simple and light weight. - Saving the files and downloading them in the file system is much simpler than it is in a database since a simple 'Save As' function will help you out.Downloading can be done by addressing a URL with the location of the saved file.
Cons of the File System
- Loosely packed,There are no ACID (Atomicity, Consistency, Isolation, Durability) operations in relational mapping, which means there is no guarantee. Consider a scenario in which your files are deleted from the location manually or by some hacking dudes.You might not know whether the file exists or not.Painful. right?
- Low security,Since your files can be saved in a folder where you should have provided write permissions, it is prone to safety issues and invites trouble, like hacking. It's best to avoid saving in the file system if you cannot afford to compromise in terms of security
Pros of Database
- ACID consistency, which includes a rollback of an update that is complicated when files are stored outside the database.
- Backups automatically include file binaries.
- It's more secure than saving in a file system.
Cons of Database
- You may have to convert the files to blob in order to store them in the database.
- Database backups will be more hefty and heavy.
Discuss different arrangements of data, giving examples
Abstract
The representation tasks required learners to arrange and represent data through modelling, focusing on spontaneous representations.Successful trans numeration determine the ultimate success of a representation and the ability to organise data is regarded as critical. Arrangement types increased in sophistication with increased grade level and the hierarchical nature of arrangement types became apparent when regarded in the context of an adapted SOLO Taxonomy framework.A higher level arrangement strategy pointed to a higher SOLO level of statistical thinking.Learners in the two tasks produced a rich variety of representations which included idiosyncratic, unsophisticated responses as well as standard statistical representations.
There are several types of database management systems.Here is a list of seven common database management systems:
- Hierarchical databases
- Network databases
- Relational databases
- Object-oriented databases
- Graph databases
- ER model databases
- Document databases
Hierarchical Databases
In a hierarchical database management systems (hierarchical DBMSs) model, data is stored in a parent-children relationship nodes.In a hierarchical database,besides actual data, records also contain information about their groups of parent/child relationships.In a hierarchical database model,data is organised into a tree like structure.The data is stored in form of collection of fields where each field contains only one value.The records are linked to each other via links into a parent-children relationship.In a hierarchical database model,each child record has only one parent.A parent can have multiple children.
Network Databases
Network database management systems (Network DBMSs) use a network structure to create relationship between entities. Network databases are mainly used on a large digital computers. Network databases are hierarchical databases but unlike hierarchical databases where one node can have one parent only, a network node can have relationship with multiple entities. A network database looks more like a cobweb or interconnected network of records.
Relational Databases
In relational database management systems (RDBMS), the relationship between data is relational and data is stored in tabular form of columns and rows.Each column if a table represents an attribute and each row in a table represents a record.Each field in a table represents a data value.
Data warehouse with Big data
Data Warehouse is an architecture of data storing or data repository.Whereas Big Data is a technology to handle huge data and prepare the repository.Data warehouse only handles structure data (relational or not relational),but big data can handle structure,non-structure, semi-structured data.
Preferences
Data Warehouse
If an organisation wants to know some informed decision (like what is going on in their corporation, next year planning based on current year performance data, etc),they prefer to choose data warehousing, as for this kind of report they need reliable or believable data from the sources.
Big Data
If organisation need to compare with a lot of big data, which contain valuable information and help them to take a better decision (like how to lead more revenue,more profitability, more customers, etc),they obviously preferred Big Data approach.
Easy understand follow video link
Differentiate the SQL statements, Prepared statements, and Callable statements
The Callable Statement object can use all the three. A parameter whose value is unknown when the SQL statement is created.You bind values to IN parameters with the set abc() methods. A parameter whose value is supplied by the SQL statement it returns.
Statement
Use this for general-purpose access to your database.Useful when you are using static SQL statements at run time. The Statement interface cannot accept parameters.
Prepared Statement
Use this when you plan to use the SQL statements many times.The Prepared Statement interface accepts input parameters at run time.
Callable Statement
Use this when you want to access the database stored procedures.The Callable Statement interface can also accept run time input parameters.
Object-relational-mapping is the idea of being able to write queries like the one above,as well as much more complicated ones,using the object-oriented paradigm of your preferred programming language.Long story short,we are trying to interact with our database using our language of choice instead of SQL.Here’s where the Object-relational-mapper comes in.When most people say "ORM" they are referring to a library that implements this technique.
POJO, Java Beans, and JPA, indicating their similarities and differences
POJO classes
POJO stands for Plain Old Java Object. It is an ordinary Java object, not bound by any special restriction other than those forced by the Java Language Specification and not requiring any class path.It doesn’'t have special restrictions other than those forced by Java language.It can implement Serializable interface and Fields can be accessed by their names.
It is used when you don’t want to give restriction on your members and give user complete access of your entity
Java Beans
Beans are special type of Pojos. There are some restrictions on POJO to be a bean.
It is a special POJO which have some restrictions and It should implement serializable interface.Fields are accessed only by getters and setters and It is used when you want to provide user your entity but only some part of your entity.
JPA
As a specification, the Java Persistence API is concerned with persistence, which loosely means any mechanism by which Java objects outlive the application process that created them.Not all Java objects need to be persisted,but most applications persist key business objects.The JPA specification lets you define which objects should be persisted, and how those objects should be persisted in your Java applications.
NoSQL indicating the benefits also explain different types of NoSQL
databases
Advantages
NoSQL databases have many advantages compared to traditional,relational databases.One major,underlying difference is that NoSQL databases have a simple and flexible structure.They are schema-free.Unlike relational databases, NoSQL databases are based on key-value pairs.Some store types of NoSQL databases include column store, document store, key value store, graph store, object store,XML store,and other data store modes.Usually, each value in the database has a key.This is because it’s done by horizontally scaling and distributing the load on all nodes,which is replacing the main host with a more powerful one.
Disadvantages
NoSQL databases are not perfect, and they are not always the right choice.For one thing, most NoSQL databases do not support reliability features that are naively supported by relational database systems.These reliability features can be summed up as atomicity, consistency, isolation,and durability. In order to support reliability and consistency features, developers must implement their own proprietary code, which adds more complexity to the system.This might limit the number of applications that can rely on NoSQL databases for secure and reliable transactions.Other forms of complexity found in most NoSQL databases include incompatibility with SQL queries.
Hadoop is, explaining the core concepts of it
Hadoop ecosystem consists of Hadoop core components and other associated tools. In the core components, Hadoop Distributed File System (HDFS) and the Map Reduce programming model are the two most important concepts.
If any failed node restarts,it automatically joins back to the cluster and than after master can assign it a new task whenever is required.
Explain the concept of IR, identifying tools for IR
As with all spectroscopic techniques,it can be used to identify and study chemicals. Samples may be solid, liquid, or gas.The method or technique of infrared spectroscopy is conducted with an instrument called an infrared spectrometer (or spectrometer) to produce an infrared spectrum.