Home Database Mysql Tutorial Access入门教程 19.1 对表进行分析和优化

Access入门教程 19.1 对表进行分析和优化

Jun 07, 2016 pm 03:31 PM
access optimization Getting Started Tutorial analyze Now conduct

现在基本的操作你已经会了,但有时候建立的数据库用起来很慢,那是因为数据库在建立的时候,没有对它 进行 过 优化 分析 。现在我们就讲讲数据库的 优化 分析 。 我们先打开一个要 进行 分析 的数据库,然后单击工具菜单上的 分析 选项,弹出的菜单上有表、


 

现在基本的操作你已经会了,但有时候建立的数据库用起来很慢,那是因为数据库在建立的时候,没有对它进行优化分析。现在我们就讲讲数据库的优化分析

我们先打开一个要进行分析的数据库,然后单击"工具"菜单上的"分析"选项,弹出的菜单上有"表"、"性能"和"文档管理器"三个命令。这三个命令可以对相应的内容进行优化

首先要对对表进行一下优化,单击"表"这个命令。ACCESS开始准备这个表分析器向导,在这个向导的第一页中,为我们提供了建立表时常见的一个问题。这就是表或查询中多次存储了相同的信息,而且重复的信息将会给我们带来很多问题。看完了这些,我们就可以单击"下一步"按钮。

第二步告诉我们这个分析器是怎样解决第一步中遇到的问题。解决的办法是将原来的表拆分成几个新的表,使的新表中的数据只被存储一遍。

单击"下一步"按钮,在这一步中的列表框中我们选择需要做分析的表,在这儿,虽然ACCESS提示你只要选择有重复信息的表,但最好对所有的表都做一个分析,这样并花不了很多时间。反而能使你的工作能更加规范。 晓宇:那我以后建立的表都进行一下优化分析。小博士:这是个好习惯。当你选择好要分析的表以后,单击"下一步"按钮,在这一步中我们选择"是",让向导决定,这样就可以让ACCESS自动为我们完成对这个表的分析。单击"下一步"按钮,通过分析就会在屏幕上弹出一个对话框,在这个对话框中将会告诉我们在上一步中所选的表是否需要进行拆分来达到优化的目的。如果不需要拆分,就单击"取消"按钮,就可以退出这个分析向导,建立的表就不用再优化了。

如果单击了"下一步"按钮后,并没有弹出这样一个对话框啊。而是出现了另外一个窗口。这就说明你所建立的表需要拆分才能将这些数据合理的进行存储。现在 ACCESS的分析向导已经将你的表拆分成了几个表,并且在各个表之间建立起了一个关系。你只要为这几个表分别取名就可以了。这时你只要将鼠标移动到一个表的字段列表框上,双击这个列表框的标题栏,这时在屏幕上会弹出一个对话框,在这个对话框中就可以输入这个表的名字。输入完以后,单击"确定"按钮就行了。

现在再单击"下一步"按钮。我们就到了这个向导的最后一步。在这一步中问我们是否自动创建一个具有原来表名字的新查询,并且将原来的表改名。这样做,首先可以使基于初始表的窗体、报表或页能继续工作。这样既能优化初始表,又不会使我们原来所做的工作因为初始表的变更而作废。所以我们在这儿通常都是选择"是,创建查询",并且不选"显示关于处理新表和查询的帮助信息".当这一切都完成以后,我们单击"完成"按钮,这样一个表的优化分析就完成了。

 



Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to disable background applications in Windows 11_Windows 11 tutorial to disable background applications How to disable background applications in Windows 11_Windows 11 tutorial to disable background applications May 07, 2024 pm 04:20 PM

1. Open settings in Windows 11. You can use Win+I shortcut or any other method. 2. Go to the Apps section and click Apps & Features. 3. Find the application you want to prevent from running in the background. Click the three-dot button and select Advanced Options. 4. Find the [Background Application Permissions] section and select the desired value. By default, Windows 11 sets power optimization mode. It allows Windows to manage how applications work in the background. For example, once you enable battery saver mode to preserve battery, the system will automatically close all apps. 5. Select [Never] to prevent the application from running in the background. Please note that if you notice that the program is not sending you notifications, failing to update data, etc., you can

How to convert deepseek pdf How to convert deepseek pdf Feb 19, 2025 pm 05:24 PM

DeepSeek cannot convert files directly to PDF. Depending on the file type, you can use different methods: Common documents (Word, Excel, PowerPoint): Use Microsoft Office, LibreOffice and other software to export as PDF. Image: Save as PDF using image viewer or image processing software. Web pages: Use the browser's "Print into PDF" function or the dedicated web page to PDF tool. Uncommon formats: Find the right converter and convert it to PDF. It is crucial to choose the right tools and develop a plan based on the actual situation.

How to read dbf file in oracle How to read dbf file in oracle May 10, 2024 am 01:27 AM

Oracle can read dbf files through the following steps: create an external table and reference the dbf file; query the external table to retrieve data; import the data into the Oracle table.

How does the Java reflection mechanism modify the behavior of a class? How does the Java reflection mechanism modify the behavior of a class? May 03, 2024 pm 06:15 PM

The Java reflection mechanism allows programs to dynamically modify the behavior of classes without modifying the source code. By operating the Class object, you can create instances through newInstance(), modify private field values, call private methods, etc. Reflection should be used with caution, however, as it can cause unexpected behavior and security issues, and has a performance overhead.

Common exception types and their repair measures in Java function development Common exception types and their repair measures in Java function development May 03, 2024 pm 02:09 PM

Common exception types and their repair measures in Java function development During the development of Java functions, various exceptions may be encountered, which affect the correct execution of the function. The following are common exception types and their repair measures: 1. NullPointerException Description: Thrown when accessing an object that has not been initialized. Fix: Make sure you check the object for non-null before using it. Sample code: try{Stringname=null;System.out.println(name.length());}catch(NullPointerExceptione){

C++ program optimization: time complexity reduction techniques C++ program optimization: time complexity reduction techniques Jun 01, 2024 am 11:19 AM

Time complexity measures the execution time of an algorithm relative to the size of the input. Tips for reducing the time complexity of C++ programs include: choosing appropriate containers (such as vector, list) to optimize data storage and management. Utilize efficient algorithms such as quick sort to reduce computation time. Eliminate multiple operations to reduce double counting. Use conditional branches to avoid unnecessary calculations. Optimize linear search by using faster algorithms such as binary search.

How to cross-domain iframe in vue How to cross-domain iframe in vue May 02, 2024 pm 10:48 PM

Ways to solve iframe cross-domain issues in Vue: CORS: Enable CORS support in the backend server and use XMLHttpRequest or fetch API to send CORS requests in Vue. JSONP: Dynamically load JSONP scripts in Vue using the JSONP endpoint in the backend server. Proxy server: Set up a proxy server to forward requests, use a third-party library (such as axios) in Vue to send requests and set the proxy server URL.

Interpretation of Botanix: decentralized BTC L2 for network asset management (with interactive tutorial) Interpretation of Botanix: decentralized BTC L2 for network asset management (with interactive tutorial) May 08, 2024 pm 06:40 PM

Yesterday, BotanixLabs announced that it has completed a total of US$11.5 million in financing, with participation from Polychain Capital, Placeholder Capital and others. Financing will be used to build the decentralized EVM equivalent of BTCL2Botanix. Spiderchain combines the ease of use of EVM with the security of Bitcoin. Since the testnet went live in November 2023, there have been more than 200,000 active addresses. Odaily will analyze Botanix’s characteristic mechanism and testnet interaction process in this article. Botanix According to the official definition, Botanix is ​​a decentralized Turing-complete L2EVM built on Bitcoin and consists of two core components: Ethereum Virtual Machine

See all articles