张国荣什么时候去世的| 心软是什么意思| ala是什么| 生旦净末丑分别指什么| 什么水果补肾| 为什么13周不让建卡了| 什么是封闭针| 什么是淋巴结| 什么是花青素| 畸形是什么意思| 昭字五行属什么| 92年出生属什么| 总胆固醇高有什么症状| 半夜醒来口干舌燥是什么原因| sakose是什么牌子| 为什么阴道会排气| 氟哌噻吨美利曲辛片治什么病| 做梦梦到怀孕了是什么意思| 什么是理数| 颈椎病吃什么药好| 低密度脂蛋白偏高吃什么好| 梦见大胖小子是什么意思| 感冒发烧吃什么药| 腺肌瘤是什么病| 皮肤痒用什么药膏| 什么是网红| 但求无愧于心上句是什么| 小孩感冒吃什么药| 收缩压和舒张压是什么| 做肠胃镜挂什么科| egfr医学上是什么意思| 颈椎痛看什么科| 兔和什么生肖最配| 二椅子什么意思| 中医讲肾主什么| flag是什么意思| 导管室是干什么的| 左甲状腺是什么病| 梦见吃油饼是什么意思| 定制和订制有什么区别| 梦见娃娃是什么意思| 什么是软组织损伤| 腼腆什么意思| 参加白事回来注意什么| 6月20日是什么节日| mlb是什么牌子中文名| 妇科ph值是什么意思| 大麦茶有什么功效与作用| 日昳是什么意思| 脑供血不足挂什么科室| 八字加一笔是什么字| 胆汁反流有什么症状| 同人小说是什么| cot是什么| 散光是什么原因导致的| 苟且是什么意思| hrd阳性是什么意思| 2021年是什么生肖| 绚丽夺目的意思是什么| 穿什么内衣好| 嘴角上扬是什么意思| 什么的舞台| 女神是什么意思| 玖姿女装属于什么档次| 饭前吃药和饭后吃药有什么区别| 榴莲为什么是苦的| 5月30日是什么星座| 张柏芝什么星座| bhcg是什么意思| 褐色分泌物是什么原因| 程度是什么意思| 姹什么嫣什么| 黄鼠狼喜欢吃什么东西| 白癜风不能吃什么食物| 什么人容易得心梗| sg比重是什么意思| px是什么单位| 福瑞祥和是什么意思| 门槛石有什么讲究| pp材质和ppsu材质有什么区别| 不在服务区是什么意思| in77是什么意思| 脂肪肝吃什么药治疗| 扑尔敏的学名叫什么| 乳头痛什么问题| 脸痒痒是什么原因| 什么发色显白| 5月11日什么星座| 维生素d3是什么| 初遇是什么意思| 送老师什么礼物| 处女膜是什么样的| 做爱女生什么感觉| 胃泌素17是什么检查| 中国的全称是什么| 什么原因导致脱发| 单独粘米粉能做什么| 梦见自己死了是什么预兆| 6月5号是什么星座的| 什么感冒药效果最好| 嗜酸性肉芽肿是什么病| 水肿是什么原因引起的| dna里面有什么| 舔逼什么感觉| 什么是肾结石| 身体发热是什么原因| 欧字五行属什么| 剁椒是什么辣椒| 预包装食品指的是什么| 过期酸奶有什么用| 七活八不活是什么意思| 移花接木的意思是什么| X-Ray什么意思| 新疆为什么天黑的晚| 难过美人关是什么生肖| 宫缩是什么感觉| 双一流大学是什么| 吃山药有什么好处和坏处| 前白蛋白是什么意思| 1988年出生是什么命| 春天是什么样子的| 中国反导弹系统叫什么| 什么药治尿酸高最有效| 什么是碳水食物| 法益是什么意思| 转的第四笔是什么| 23是什么意思| 胆是起什么作用的| 男性左下腹痛是什么原因| 茵陈是什么| nike是什么牌子| 肠梗阻吃什么药| 脚拇指发麻是什么原因| 什么是巨细胞病毒| rag是什么意思| 特需号是什么意思| 黄皮什么时候上市| sigma是什么牌子| 县长是什么级别的干部| 吃芒果过敏是什么症状| 智齿为什么会疼| 农历八月初一是什么星座| 雨花石是什么石头| 茶化石属于什么茶| 法克油是什么意思| 煲排骨汤放什么材料好| crayons什么意思| 长可以加什么偏旁| 孩子过敏性咳嗽吃什么药好| 心肌缺血是什么原因造成的| me是什么基团| 焱字五行属什么| 相拥是什么意思| 梦见火是什么预兆| 作是什么意思| 等回声结节是什么意思| 双手麻木是什么原因| 慢性胃炎用什么药效果最好| 厍是什么意思| 为什么经常流鼻血| 鼠疮是什么病| 军士长是什么军衔| 什么人容易心梗| 快穿是什么意思| 共济失调是什么病| 什么是猥亵| 腿脚发麻是什么原因| 辣皮子是什么| 子宫瘢痕是什么意思| 北瓜是什么瓜| 忘忧草是什么意思| 落枕是什么原因| 7月29是什么星座| 寒天是什么| 周天是什么意思| 经期吃什么让血量增加| 耳膜穿孔什么症状| 竖中指是什么意思| 身体突然消瘦是什么原因| 淋巴细胞降低说明什么| 女攻是什么意思| 湿疹是什么症状| 老是头疼是什么原因| 息肉和痔疮有什么区别| 吃什么对肺部好| 章鱼的血是什么颜色| 98年虎是什么命| 什么的松脂| 白痰吃什么药| 好高什么远| 左传是一部什么体史书| 小孩吃什么提高免疫力| 槟榔肝是由什么引起的| 闷是什么意思| 相机hdr功能是什么意思| 阿僧只劫是什么意思| 盥洗室什么意思| 怀孕了胃不舒服是什么原因| 手不释卷的释是什么意思| 什么病需要透析| 13岁属什么| 北京的区长是什么级别| 贴水是什么意思| 医保报销需要什么材料| 子宫内膜16mm说明什么| 阴道发白是什么原因| 24k金是什么意思| 胃糜烂是什么原因引起的| 更年期吃什么调理| 狭鳕鱼是什么鱼| rf医学上是什么意思| 脸上长黑斑是什么原因引起的| 胃肠道感冒吃什么药| 萝莉控是什么意思| 女性憋不住尿是什么原因| 法脉是什么意思| 擦伤用什么药好得快| 接吻是什么样的感觉| 马齿苋与什么食物相克| 吃什么能让月经快点来| 金牛座和什么座最配| 复读是什么意思| 男人额头凹陷预示什么| 口且念什么| 右下腹是什么器官| 油菜花什么颜色| 海南的海是什么海| 枕戈待旦什么意思| 满城尽带黄金甲是什么意思| 韩束适合什么年龄段的人用| 腹股沟淋巴结肿大挂什么科| 什么是好人| 1982属什么生肖| 尿道感染要吃什么药| 来忘掉错对来怀念过去是什么歌| 膝盖跪着疼是什么原因| 乌龟下蛋预示着什么| 小孩白细胞高是什么原因| 缺维生素e有什么症状| 惢是什么意思| 手足口病吃什么药好得快| 治疗荨麻疹用什么药最好| 额头容易出汗是什么原因| 系带断裂有什么影响吗| 白细胞少了会得什么病| 缠绵是什么意思| 正比是什么意思| 饮水思源是什么意思| 乳腺钙化灶是什么意思| 粉玫瑰代表什么意思| 冠状动脉肌桥是什么病| 什么什么不宁| 湿热泄泻是什么意思| 猫爪草有什么功效| 上海副市长什么级别| 女人梦见烧纸什么预兆| 第四个手指叫什么| 病案号是什么| 慎独是什么意思| 奉献是什么意思| 皮肤炎症用什么药| 皮疹是什么样子的| 用维生素e擦脸有什么好处和坏处| 强迫症有什么症状| 百度

重庆市实施引进海内外英才“鸿雁计划”

百度 26日,不利气象条件持续,随着大气中层温度逐渐升高,清晨逆温进一步增强。

Real-time database has two meanings. The most common use of the term refers to a database system which uses streaming technologies to handle workloads whose state is constantly changing.[1] This differs from traditional databases containing persistent data, mostly unaffected by time. When referring to streaming technologies, real-time processing means that a transaction is processed fast enough for the result to come back and be acted on right away.[2] Such real-time databases are useful for assisting social media platforms in the removal of fake news, in-store surveillance cameras identifying potential shoplifters by their behavior/movements, etc.

The second meaning of the term “real-time database” adheres to a stricter definition of real-time consistent with Real-time computing. Hard real-time database systems work with a real-time operating system to ensure the temporal validity of data through the enforcement of database transaction deadlines and include a mechanism (such as transaction scheduling policies) to maximize the number of successfully committed transactions and minimize the number of rolled-back transactions. While the performance metric for most database systems is throughput or transactions-per-second, the performance metric of a hard real-time database system is the ratio of committed-to-aborted transactions. This ratio indicates how effective the transaction scheduling policy is, with the ultimate goal of meeting deadlines 100% of the time. Hard real-time databases, through enforcement of deadlines, may not allow transactions to be late (overrun the deadline).[3]

Overview

edit

Real-time databases are traditional databases that use an extension to give the additional power to yield reliable responses. They use timing constraints that represent a certain range of values for which the data are valid. This range is called temporal validity. A conventional database cannot work under these circumstances because the inconsistencies between the real world objects and the data that represents them are too severe for simple modifications. An effective system needs to be able to handle time-sensitive queries, return only temporally valid data, and support priority scheduling. To enter the data in the records, often a sensor or an input device monitors the state of the physical system and updates the database with new information to reflect the physical system more accurately.[4] When designing a real-time database system, one should consider how to represent valid time, how facts are associated with real-time system. Also, consider how to represent attribute values in the database so that process transactions and data consistency have no violations.

When designing a system, it is important to consider what the system should do when deadlines are not met.[5] For example, an air-traffic control system constantly monitors hundreds of aircraft and makes decisions about incoming flight paths and determines the order in which aircraft should land based on data such as fuel, altitude, and speed. If any of this information is late, the result could be devastating. To address issues of obsolete data, the timestamp can support transactions by providing clear time references.

Preserving data consistency

edit

Although the real-time database system may seem like a simple system, problems arise during overload when two or more database transactions require access to the same portion of the database. A transaction is usually the result of an execution of a program that accesses or changes the contents of a database.[6] A transaction is different from a stream because a stream only allows read-only operations, and transactions can do both read and write operations. This means in a stream, multiple users can read from the same piece of data, but they cannot both modify it.[4] A database must let only one transaction operate at a time to preserve data consistency. For example, if two students demand to take the remaining spot for a section of a class and they hit submit at the same time, only one student should be able to register for it.[4]

Real-time databases can process these requests utilizing scheduling algorithms for concurrency control, prioritizing both students’ requests in some way. Throughout this article, we assume that the system has a single processor, a disk based database, and a main memory pool.[7]

In real-time databases, deadlines are formed and different kinds of systems respond to data that does not meet its deadline in different ways. In a real-time system, each transaction uses a timestamp to schedule the transactions.[4] A priority mapper unit assigns a level of importance to each transaction upon its arrival in the database system that is dependent on how the system views times and other priorities. The timestamp method relies on the arrival time in the system. Researchers indicate that for most studies, transactions are sporadic with unpredictable arrival times. For example, the system gives an earlier request deadline to a higher priority and a later deadline to a lower priority.[7] Below is a comparison of different scheduling algorithms.

Earliest Deadline
PT = DT — The value of a transaction is not important. An example is a group of people calling to order a product.
Highest Value
PT = 1/VT — The deadline is not important. Some transactions should get to CPU based on criticalness, not fairness. This is an example of least slack that can wait the least amount of time. If the telephone switchboards were overloaded, people who call 911 should get priority.[8]
Value inflated deadline
PT = DT/VT — Gives equal weight to deadline and values based on scheduling. An example is registering for classes where the student selects a block of classes that he wishes to take and presses submit. In this scenario, higher priorities often take up precedence. A school registration system probably uses this technique when the server receives two registration transactions. If one student had 22 credits and the other had 100 credits, the person with 100 credits would take priority (Value based scheduling).

Timing constraints and deadlines

edit

A system that correctly perceives the serialization and timing constraints associated with transactions with soft or firm deadlines, takes advantage of absolute consistency.[9] Another way of making sure that data is absolute is using relative constraints. Relative constraints ensure transactions enter into the system at the same time as the rest of the group that the data transaction is associated with. Using the mechanisms of absolute and relative constraints greatly ensures the accuracy of data.

An additional way of dealing with conflict resolution in a real-time database system besides deadlines is a wait policy method. This process helps ensure the latest information in time critical systems. The policy avoids conflict by asking all non-requesting blocks to wait until the most essential block of data is processed.[4] While studies in labs have found that data-deadline based policies do not improve performance significantly, the forced wait policy can improve performance by 50 percent.[10] The forced wait policy may involve waiting for higher priority transactions to process in order to prevent deadlock. Another example of when data can be delayed is when a block of data is about to expire. The forced wait policy delays processing until the data is updated using new input data. The latter method helps increase the accuracy of the system and can cut down on the number of necessary processes that are aborted. Generally, relying on wait policies is not optimal.[11]

It is necessary to discuss the formation of deadlines. Deadlines are the constraints for soon-to-be replaced data accessed by the transaction. Deadlines can be either observant or predictive.[11] In an observant deadline system, all unfinished transactions are examined and the processor determines whether any had met its deadline.[4] Problems arise in this method because of variations caused by seek time variations, buffer management and page faults.[12] A more stable way of organizing deadlines is the predictive method. It builds a candidate schedule and determines if a transaction would miss its deadline under the schedule.[4]

The type of response to a missed deadline depends on whether the deadline is hard, soft, or firm. Hard deadlines require that each data packet reach its destination before the packet has expired and if not, the process could be lost, causing a possible problem. Problems like these are not very common because omnipotence of the system is required before assigning deadlines to determine worst case. This is very hard to do and if something unexpected happens to the system such as a minute hardware glitch, it could throw the data off. For soft or firm deadlines, missing a deadline can lead to a degraded performance but not a catastrophe.[7] A soft deadline meets as many deadlines as possible. However, no guarantee exists that the system can meet all deadlines. Should a transaction miss its deadline, the system has more flexibility and the transaction may increase in importance. Below is a description of these responses:

Hard deadline
If not meeting deadlines creates problems, a hard deadline is best. It is periodic, meaning that it enters the database on a regular rhythmic pattern. An example is data gathered by a sensor. These are often used in life critical systems.[13]
Firm deadline
Firm deadlines appear to be similar to hard deadlines yet they differ from hard deadlines because firm deadlines measure how important it is to complete the transaction at some point after the transaction arrives. Sometimes completing a transaction after its deadline has expired may be harmful or not helpful, and both the firm and hard deadlines consider this. An example of a firm deadline is an autopilot system.[8]
Soft deadline
If meeting time constrains is desirable but missing deadlines do not cause serious damage, a soft deadline may be best. It operates on an aperiodic or irregular schedule. In fact, the arrival of each time for each task is unknown. An example is an operator switchboard for a telephone.[13]

Hard deadline processes abort transactions that have passed the deadline, improving the system by cleaning out clutter that needs to be processed. Processes can clear out not only the transactions with expired deadlines but also transactions with the longest deadlines, assuming that once they reach the processor they would be obsolete. This means other transactions should be of higher priority. In addition, a system can remove the least critical transactions. When I was pre-selecting classes on during a high traffic period, a field in the database can become so busy with registration requests that it was unavailable for a while and the result of my transaction was a display of the SQL query sent and a message that said that the data is currently unavailable. This error is caused by the checker, a mechanism that checks the condition of the rules, and the rule that occurred before it.[14]

The goal of scheduling periods and deadlines is to update transactions guaranteed to complete before their deadline in such a way that the workload is minimal. With large real-time databases, buffering functions can help improve performance tremendously. A buffer is part of the database that is stored in main memory to reduce transaction response time. In order to reduce disk input and output transactions, a certain number of buffers should be allocated.[15] Sometimes multiversions are stored in buffers when the data block the transaction needs is currently in use. Later, the database has the data appended to it. Different strategies allocate buffers and must balance between taking an excessive amount of memory and having everything in one buffer that it has to search for. The goal is to eliminate search time and distribute the resources between buffer frames in order to access data quickly. A buffer manager is capable of allocating more memory, if necessary, to improve response time. The buffer manager can even determine whether a transaction that it has should advance. Buffering can improve speed in real-time systems.[15]

Future database systems

edit

Traditional databases are persistent but are incapable of dealing with dynamic data that constantly changes. Therefore, another system is needed. Real-time databases may be modified to improve accuracy and efficiency and to avoid conflict, by providing deadlines and wait periods to insure temporal consistency. Real-time database systems offer a way of monitoring a physical system and representing it in data streams to a database. A data stream, like memory, fades over time. In order to guarantee that the freshest and most accurate information is recorded there are a number of ways of checking transactions to make sure they are executed in the proper order. An online auction house provides an example of a rapidly changing database.

Now database systems are faster than they were in the past. In the future, we can look forward to even faster database systems. Although we have faster systems now, an effort to reduce misses and tardy times will still be beneficial. The ability to process results in a timely and predictable manner will always be more important than fast processing. Fast processing that is misapplied is not helpful for real-time database systems. Transactions that run faster still sometimes block in such a way that they have to be aborted and restarted. In fact, faster processing hurts some real-time applications because increased speed brings more complexity and more of a chance for problems caused by a variance of speed. Faster processing makes it harder to determine which deadlines have been met successfully. With future database systems running even faster than ever, there is a need to do more studies so we can continue to have efficient systems.[16]

The amount of research studying real-time database systems will increase because of commercial applications such as web based auction houses like eBay. More developing countries are expanding their phone systems, and the number of people with cell phones in the United States as well as other places in the world continues to grow. Also likely to spur real-time research is the exponentially increasing speed of the microprocessor. This also enables new technologies such as web-video conferencing and instant messenger conversations in sound and high-resolution video, which are reliant on real-time database systems. Studies of temporal consistency result in new protocols and timing constraints with the goal of handling real-time transactions more effectively.[7]

References

edit
  1. ^ Buchmann, A. "Real Time Database Systems." Encyclopedia of Database Technologies and Applications. Ed. Laura C. Rivero, Jorge H. Doorn, and Viviana E. Ferraggine. Idea Group, 2005.
  2. ^ Carpron, H.L., J. A. Johnson. Computers: Tools for the Information Age. Prentice Hall, 1998. 5th ed.
  3. ^ "What is and what isn't a hard real-time database system?". db-engines.com. Retrieved 2025-08-06.
  4. ^ a b c d e f g Abbot, Robert K., and Hector Garcia-Molina. (1992). "Scheduling Real-Time Transactions: a Performance Evaluation" (PDF). ACM Transactions on Database Systems. 17 (3). Stanford University and Digital Equipment Corp. ACM: 513–560. doi:10.1145/132271.132276. S2CID 28960. Retrieved 13 December 2006.{{cite journal}}: CS1 maint: multiple names: authors list (link)
  5. ^ "Real-Time Database Systems Aren't Actually Real-Time. Unless They Are". www.electronicdesign.com. Retrieved 2025-08-06.
  6. ^ Singhal, Mukesh. Approaches to Design of Real-Time Database Systems, SIGMOD Record, volume 17, no. 1, March 1988
  7. ^ a b c d Haritsa, J., J. Stankovic, and M Xiong. "A State-Conscious Concurrency Control Protocol for Replicated Real-Time Databases". University of Virginia. IEEE Real-Time Applications Symposium. Retrieved 13 December 2006. {{cite journal}}: Cite journal requires |journal= (help)CS1 maint: multiple names: authors list (link)
  8. ^ a b (Snodgrass)
  9. ^ Lee, Juhnyoung (1994). "Concurrency Control Algorithms for Real-Time Database Systems". Diss. Univ. of Virginia. Retrieved 13 December 2006. {{cite journal}}: Cite journal requires |journal= (help)
  10. ^ (Porkka)
  11. ^ a b Kang, K D., S Son, and J Stankovic. Specifying and Managing Quality of Real-Time Data Services. University of Virginia. IEEE TKDE, 2004.
  12. ^ Kao & Garcia-Molina 1994, pp. 261–282.
  13. ^ a b Stankovic, John A., Marco Spuri, Krithi Ramamritham, and Giorgio C. Buttazzo. Deadline Scheduling for Real-Time Systems: EDF and Related Algorithms. Springer, 1998.
  14. ^ (Ramamritham)
  15. ^ a b (O'Neil)
  16. ^ Lam, Kam-Yiu, and Tei-Wei Kuo. Real-Time Database Systems: Architecture and Techniques. Springer, 2001.

Further reading

edit
宁字属于五行属什么 全身冰凉是什么原因 毛遂自荐什么意思 什么一惊 维生素d什么时候吃最好
肌酐高说明什么问题 吃什么增强记忆力 祭日是什么意思 貉是什么动物 为什么会梦到前男友
40岁属什么生肖 凭什么我买单 肌张力高是什么意思 儿童口腔溃疡吃什么药 似水年华是什么意思
喉咙突然哑了什么原因 吃什么可以补气血 子宫腺肌症吃什么药 蜻蜓点水是什么行为 胆结石吃什么药可以化掉结石
七杀大运是什么意思hcv9jop6ns6r.cn 夏季种什么菜cl108k.com 疯狗病症状都有什么bysq.com 波奇饭是什么意思hcv8jop7ns8r.cn 什么情况下做冠脉cthcv8jop1ns3r.cn
熊猫为什么有黑眼圈clwhiglsz.com hpv跟tct有什么区别inbungee.com lgg什么意思luyiluode.com 钠是什么东西hcv8jop2ns9r.cn 复制是什么意思hcv8jop6ns6r.cn
尿频尿量少是什么原因hcv8jop3ns7r.cn 肾炎吃什么食物好hcv9jop6ns6r.cn 单从属于什么茶96micro.com 燥湿什么意思hcv9jop4ns5r.cn 尿频是什么原因导致的hcv8jop7ns7r.cn
锁水是什么意思hcv7jop7ns2r.cn 泳帽的作用是什么inbungee.com 蔻驰和古驰有什么区别hcv7jop7ns4r.cn acl是什么意思hcv8jop9ns2r.cn 五脏六腑是指什么hcv9jop3ns3r.cn
百度