当前位置:网站首页>Data view for gbase 8s
Data view for gbase 8s
2022-06-25 04:33:00 【Eight delicacies tofu】
Views are virtual tables defined by queries stored in the database (Virtual Table). The query corresponding to a view is called a view definition , It specifies how to start from one or several basic tables (Base Table) Exporting views from . Only the definition of the view is stored in the database , Do not store the data corresponding to the view , The data is still stored in the basic table of the exported view . Modify the data in the basic table , The data in the corresponding view also changes . The view is like a window , Through it, you can see the data you are interested in in in the database .
stay SQL in , Defining views is the basic means to design out of database schemas . Views can provide the following advantages for database systems .
1. Logical independence of data
When the schema structure of the database changes , Just adjust the mapping relationship from external schema to schema , There is no need to change the definition of external mode . The purpose of this is to ensure that the user's application does not have to be rewritten . View as virtual table , Its definition is actually the mapping from external schema to schema . With the view , Without changing the basic table structure , This mapping relationship can be updated only by modifying the definition of the view , So as to realize the logical independence of data .
2. Simplification of user operation
In a real database system , The structure and connection of all basic tables are often very complex . Usually users in different departments are only interested in a part of the data in the database . The view mechanism just meets the needs of users . Define views for different users , Enables users to focus on the data they care about , All the user does is query the virtual table , How to get this virtual table , Users do not need to understand .
3. Data security protection
The view mechanism can also provide certain security protection functions for data , Only give users access to views , Basic tables that are confidential to users do not define views for them . In this way, users can only access the part of data they need through the view , Without affecting other data .
边栏推荐
- SQL注入详解
- 论文笔记: 多标签学习 ESMC (没看懂, 还没写出来, 暂时放这里占个位置)
- Multithreading structure of gbase 8s
- Lecture record: data processing methods and applications of various spatial geodetic techniques
- GBASE 8s的数据视图
- BSC smart contract dividend mainstream currency | including marketing wallet | deflation | reflow | dividend free token | available for direct deployment
- Shutter fittedbox component
- UCLA | 用于黑盒优化的生成式预训练
- Gbase 8s stored procedure flow control
- Leetcode points to the leetcode road of offering II 091 house painting [dynamic planning] heroding
猜你喜欢
Anaconda安装+TensorFlow安装+Keras安装+numpy安装(包含镜像和版本信息兼容问题)
cnpm : 无法加载文件 C:\Users\Administrator\AppData\Roaming\npm\cnpm.ps1,因为在此系统上禁止运行脚本。
PHP extracts and analyzes table contents, and collects bidding information
UCLA | generative pre training for black box optimization
CTF_ Web: how to recognize and evaluate a regular expression
Coinlist queuing tutorial to improve the winning rate
Lecture record: data processing methods and applications of various spatial geodetic techniques
Acmstreamopen return value problem
Anaconda installation +tensorflow installation +keras installation +numpy installation (including image and version information compatibility issues)
Shutter fittedbox component
随机推荐
Introduction to intstream API
UCLA | generative pre training for black box optimization
Nodejs 通过Heidisql连接mysql出现ER_BAD_DB_ERROR: Unknown database 'my_db_books'
mysql的tinyint字段类型判断的疑惑
GBASE 8s存储过程语法结构
SQL注入详解
无法安装redis接口
什么是数据持久化?
Classification of gbase 8s locks
Lecture record: new application of inertial navigation - inertial measurement
PostgreSQL数据库WAL——RM_HEAP_ID日志记录动作
Basic use of OBS browser+ browser
Thorough understanding of database transactions
Structure syntaxique des procédures stockées gbase 8S
A-table mouse over the display hand, the current line can be clicked
Multithreading structure of gbase 8s
How to screen out words related to products and eliminate invalid words accurately
GBASE 8s的包
Error 1062 is reported during MySQL insertion, but I do not have this field.
CTF_ Web: deserialization of learning notes (II) CTF classic test questions from shallow to deep