首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 93 毫秒
1.
聂培尧 《软件学报》1994,5(3):37-42
数据依赖在数据库设计中起着十分重要的作用,自Codd提出函数依赖,Fagin引入多值依赖后,近几年来人们又根据设计中的需要引入多种新的依赖,如在工程数据库设计中所引进的传递闭包依赖等,对这些依赖一般是按其是否具有完备的公理系统而划分为两大类,因为完备性公理系统往往具有有效的判定算法为先决条件。本对CDS和FDS的k元完备公理系统存在问题进行了研究,证明了CDS和FDS不具有共同的K元完备公理系统  相似文献   

2.
基于语义贴近度的模糊数据依赖   总被引:2,自引:0,他引:2  
刘惟一 《计算机学报》1997,20(8):725-730
本文基于语义贴近度的概念给出了模糊函数依赖(FFD)、模糊多值依赖(FMVD)和模型联接依赖(FJD)的定义。本文得到一组类似于Armstrong公理的正确、完备的FFD和FMVD的推理规则。进一步,我们证明了经典数据依赖满足模糊数据依赖的定义,FFD是FMVD的特例,而FMVD又是FJD的特例。  相似文献   

3.
数据依赖在数据库设计中起着十分重要的作用。自Codd提出函数依赖,Fagin引入多值依赖后,近年来人们又根据设计中的需要引入了许多种新的依赖。然而对这些依赖可从原则上控是否具备完备的公理系统划分为两大类,因为完备公理系统往往是具有有效判定算法为先决条件。本文给出了一种具有完备公理系统的充要条件,并利用它来证明几种依赖(嵌入型多值依赖、嵌入型联接依赖、包含依赖与函数依赖)不具备完备的公理系统。  相似文献   

4.
ODBC技术在工程CAD系统中的应用   总被引:2,自引:0,他引:2  
该文为了解决工程CAD系统中数据处理效率低的问题,提出了采用OpenDatabaseConnectivity(开放式数据库联接,ODBC)的技术把不同类型的输入、输出数据定向于数据库管理系统中,同时利用了MFC(MicrosoftC基本类库)中的DAO(数据库存取对象)技术对数据库进行管理和查询,从而提高了整个CAD系统的集成化程度。并以一个基于ODBC的轻钢厂房CAD系统为例子进行深入的阐述。  相似文献   

5.
本文在较为详细地分析了FoxBase+(DbaseⅢ)的DBF文件结构的基础上,利用TURBOC2.0编写了两个在C语言程序中可直接读写FoxBase+的库文件的函数Load()和Save()。它使得C语言与Foxbase+数据库可以混合编程。  相似文献   

6.
在VisualC++5.0平台上开发数据库应用程序的方法。该方法基于表的MicrosoftFoundationClassLibrary和ODBC(开放数据库互联),具有编写方便、可移植性强等优点。  相似文献   

7.
C~k连续的保形插值2k次样条函数   总被引:6,自引:0,他引:6  
C~k连续的保形插值2k次样条函数方逵(国防科技大学,长沙)AC~k-SHAPE-PRESERVINGINTERPOLATINGSPLINEFUNCTIONOFDEGREE2k¥FangKui(NationalUniversityofDefenseTe...  相似文献   

8.
基于MFC的ODBC数据库访问与编程   总被引:4,自引:1,他引:3  
本文介绍了在VisualC++(5.0)环境下,利用MFC通过ODBC接口访问VisualFoxpro数据库的方法和编程。  相似文献   

9.
Cialdea一阶模态归结系统的不完备性及其改进   总被引:4,自引:1,他引:3  
Cialdea的-阶模态D逻辑归结系统具有符号冗余较少和机器上较容易实现等优点,但它是不完备的。本文中,我们改进了Cialdea归结系统,引入了两个可能算子约束的公式间的归结规则,得到了一种新的一阶模态D逻辑的归结系统,记为FMRD.FMRD很好地保持了Cialdea归结系统的优点,同时,我们证明了FMRD的可靠性与完备性。  相似文献   

10.
杨莉  刘杰  周跃峰  尚勇  严璋 《电子技术应用》1998,24(10):26-27,35
介绍一种基于客户/服务器的电子系统管理及故障诊断专家系统。该系统以Win-dowsNT为平台,采用客户/服务器网络结构,在服务器端由数据库服务器——SQLServer统一管理数据库,并利用开放的数据库连接(ODBC)和VisualFoxPro3.0开发客户端应用程序。  相似文献   

11.
It is well known that the complexity of testing the correctness of an arbitrary update to a database view can be far greater than the complexity of testing a corresponding update to the main schema. However, views are generally managed according to some protocol which limits the admissible updates to a subset of all possible changes. The question thus arises as to whether there is a more tractable relationship between these two complexities in the presence of such a protocol. In this paper, this question is addressed for closed update strategies, which are based upon the constant-complement approach of Bancilhon and Spyratos. The approach is to address a more general question – that of characterizing the complexity of axiomatization of views, relative to the complexity of axiomatization of the main schema. For schemata constrained by denial or consistency constraints, that is, statements which rule out certain situations, such as the equality-generating dependencies (EGDs) or, more specifically, the functional dependencies (FDs) of the relational model, a broad and comprehensive result is obtained in a very general framework which is not tied to the relational model in any way. It states that every such schema is governed by an equivalent set of constraints which embed into the component views, and which are no more complex than the original set. For schemata constrained by generating dependencies, of which tuple-generating dependencies (TGDs) in general and, more specifically, both join dependencies (JDs) and inclusion dependencies (INDs) are examples within the relational model, a similar result is obtained, but only within a context known as meet-uniform decompositions, which fails to recapture some important situations. To address the all-important case of relational schemata constrained by both FDs and INDs, a hybrid approach is also developed, in which the general theory regarding denial constraints is blended with a focused analysis of a special but very practical subset of the INDs known as fanout-free unary inclusion dependencies (fanout-free UINDs), to obtain results parallel to the above-mentioned cases: every such schema is governed by an equivalent set of constraints which embed into the component views, and which are no more complex than the original set. In all cases, the question of view update complexity is then answered via a corollary to this main result. Parts of this paper are based upon work reported in [21].  相似文献   

12.
In this paper, we consider functional dependencies among Boolean dependencies (BDs, for short). Armstrong relations are defined for BDs (called BD-Armstrong relations). For BDs, two necessary and sufficient conditions for the existence of BD-Armstrong relations are given. A necessary and sufficient condition for the existence of Armstrong relations for functional dependencies (FDs, for short) is given, which in some sense is more convenient than the condition given in [3]. We give an algorithm that solves the problem of deciding if two BDs imply the same set of functional dependencies. If the BDs are given in perfect disjunctive normal form, then the algorithm requires only polynomial time. Although Mannila and Räihä have shown that for some relations exponential time is needed for computing any cover of the set of FDs defined in this relation, as a consequence, we show that the problem of deciding if two relations satisfy the same set of FDs can be solved in polynomial time. Another consequence is a new correspondence of the families of functional dependencies to the families of Sperner systems. By this correspondence, the estimate of the number of databases given previously in [6] is improved. It is shown that there is a one-to-one correspondence between the closure of the FDs that hold in a BD and its so-calledbasic cover. As applications of basic covers, we obtain a representation of a key, the family of minimal keys and a representation of canonical covers.This research was supported by the Hungarian Foundation for Scientific Research, Grant Nos. OTKA 2575, 2149.  相似文献   

13.
Justification for inclusion dependency normal form   总被引:3,自引:0,他引:3  
Functional dependencies (FDs) and inclusion dependencies (INDs) are the most fundamental integrity constraints that arise in practice in relational databases. In this paper, we address the issue of normalization in the presence of FDs and INDs and, in particular, the semantic justification for an inclusion dependency normal form (IDNF), which combines the Boyce-Codd normal form with the restriction on the INDs that they be noncircular and key-based. We motivate and formalize three goals of database design in the presence of FDs and INDs: noninteraction between FDs and INDs, elimination of redundancy and update anomalies, and preservation of entity integrity. We show that (as for FDs), in the presence of INDs, being free of redundancy is equivalent to being free of update anomalies. Then, for each of these properties, we derive equivalent syntactic conditions on the database design. Individually, each of these syntactic conditions is weaker than IDNF and the restriction that an FD is not embedded in the right-hand side of an IND is common to three of the conditions. However, we also show that, for these three goals of database design to be satisfied simultaneously, IDNF is both a necessary and a sufficient condition  相似文献   

14.
Functional dependencies (FDs) and inclusion dependencies (INDs) convey most of data semantics in relational databases and are very useful in practice since they generalize keys and foreign keys. Nevertheless, FDs and INDs are often not available, obsolete or lost in real-life databases. Several algorithms have been proposed for mining these dependencies, but the output is always in the same format: a simple list of dependencies, hard to understand for the user. In this paper, we define informative Armstrong databases (IADBs) from databases as being small subsets of an existing database, satisfying exactly the same FDs and INDs. They are an extension of the classical notion of Armstrong databases, but more suitable for the understanding of dependencies, since tuples are real-world tuples. The main result of this paper is to bound the size of an IADB in the case of non-circular INDs. A constructive proof of this result is given, from which an algorithm has been devised. An implementation and experiments against a real-life database were performed; the obtained database contains 0.6% of the initial database tuples only. More importantly, such semantic sampling of databases appear to be a key feature for the understanding of existing databases at the logical level.  相似文献   

15.
文中基于属性集关于函数依赖集的闭包,并采用模式矩阵,给出了一个从函数依赖集综合出3NF模式的算法。该算法不用Armstrong公理进行烦琐的推导,与Bernstein算法相比,较为简单且易于实现。  相似文献   

16.
Functional dependencies (FDs) and inclusion dependencies (INDs) are the most fundamental integrity constraints that arise in practice in relational databases. We introduce null inclusion dependencies (NINDs) to cater for the situation when a database is incomplete and contains null values. We show that the implication problem for NINDs is the same as that for INDs. We then present a sound and complete axiom system for null functional dependencies (NFDs) and NINDs, and prove that the implication problem for NFDs and NINDs is decidable and EXPTIME-complete. By contrast, when no nulls are allowed, this implication problem is undecidable. This undecidability result has motivated several researchers to restrict their attention to FDs and noncircular INDs in which case the implication problem was shown to be EXPTIME- complete. Our results imply that when considering nulls in relational database design we need not assume that NINDs are noncircular.  相似文献   

17.
Although there is a rich body of research on dependency theory, only few results concerning simple functional dependencies (FDs) have been published. In this paper, the following key results regarding simple FDs are shown. First, given an acyclic set F of simple FDs there exists exactly one canonical cover for F. Second, this uniquely determined canonical cover can be computed via transitive reduction. Third, it is shown how a uniquely determined canonical cover can be fixed in case of arbitrary simple FDs via transitive reduction.  相似文献   

18.
In this paper, we propose an efficient rule discovery algorithm, called FD_Mine, for mining functional dependencies from data. By exploiting Armstrong’s Axioms for functional dependencies, we identify equivalences among attributes, which can be used to reduce both the size of the dataset and the number of functional dependencies to be checked. We first describe four effective pruning rules that reduce the size of the search space. In particular, the number of functional dependencies to be checked is reduced by skipping the search for FDs that are logically implied by already discovered FDs. Then, we present the FD_Mine algorithm, which incorporates the four pruning rules into the mining process. We prove the correctness of FD_Mine, that is, we show that the pruning does not lead to the loss of useful information. We report the results of a series of experiments. These experiments show that the proposed algorithm is effective on 15 UCI datasets and synthetic data.  相似文献   

19.
一个多时间粒度下时态函数依赖的有限属性闭包算法   总被引:2,自引:0,他引:2  
为了有效地进行时态数据库设计,支持多时间粒度的时态函数依赖(TFDs)被用于时态模式的规范化.时态模式规范化所要解决的一个关键问题是求解时态函数依赖的有限属性闭包问题.由于多时间粒度的使用,使得有限属性闭包问题变得非常复杂.实际上,TFDs与传统的函数依赖(FDs)之间存在着密切的联系.通过分析这些联系和封闭时态类型集的特性,利用传统FDs的相关算法提出一个有效的求解有限属性闭包的算法.通过分析和与相关算法的实验比较,该算法更加有效.  相似文献   

20.
具有全序时态类型集时态函数依赖集的研究   总被引:19,自引:0,他引:19  
姚春龙  郝忠孝 《软件学报》2003,14(2):247-252
好的数据库逻辑设计目标是消除数据冗余以及插入、删除和更新异常.对于时态数据库,可以通过具有多时间粒度的时态函数依赖(TFDs)约束对时态数模式进行规范化.但是由于时间维的引入和多时间粒度的使用而给数据库设计带来巨大的复杂性.一般来说,系统所能处理的和相当多的应用所涉及到的时态类型集满足全序关系,并且具有全序时态类型集的TFD集的推导规则与传统函数依赖(FDs)的Armstrong公理有着紧密的联系.通过分析TFDs与FDs之间存在的联系,利用传统FD集的相应算法,提出了成员籍、有限属性闭包等TFD集的一些重要算法.这些算法是时态数据库进一步规范化的基础.  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号