Tags: SQL data where table nbsp many sum catA lot of information on the Internet, and finally found a viable, share the following:Database size query:Select Concat (Round (sum (data_length/1024/1024), 2), ' M ') from INFORMATION_SCHEMA. TABLES where table_schema= ' database name ';Table size query:SELECT concat (Round (sum (data_length/1024/1024), 2), ' M ') from
Some time ago, I made a small tool for information synchronization, and used VC database programming. Writing this log should be a simple note. It can also be used as a reference for beginners.
This article describes how VC connects to the DB2 database through the ODBC/CLI driver and lists someCodeAnd has the following functions:
1. Establish a connection;
D The following steps are built in the B2 environment: 1. Su–db2inst Note '-' There will be errors in the back ;2. DB2 into the DB2 command line mode ;3. Create DATABASE pb_db on/home/db2inst using codeset GBK territory ZH_CN pagesize 8192--- build library ;4. Connect to pb_db --- connection ;5. Create Bufferpool testpool si
With the development of relational databases, it has been nearly 40 years since the theory of relational models was proposed, the development of SQL query language, the establishment of performance tuning theory, and the maturity and prevalence of productization, IBM DB2, which claims to inherit this "conventional", has been in this history for 25 years. If the predecessor of DB2 SQL/DS is not included, ora
The following articles mainly introduce the basic tutorial of SQL coding optimization for the IBM DB2 database. The importance of such a specific query is that the more important the query is, you may need to optimize indexes by creating indexes. If you are coding the query that the CIO is running every day, make sure it provides the best performance.
Therefore, it is important to create an index for this s
A Installation and configuration of the DB2 database: 1. After the installation is complete, you need to add three operating system groups and three operating system users, as follows: Groupadd-g 999 db2iadm1 # (Group managing instances) Groupadd-g 998 db2fadm1 # (Set of installed instances) Groupadd-g 997 db2asgrp # (Group installing DB2 Administration server)
Recently because the work needs to study the DB2 database, this tutorial explains the DB2 database installs the procedure under Inux.
Before installing, please check the DB2 version and license description to increase understanding, first understand what version to instal
Padding-left: 3px; padding-Right: 5px; "class =" noprint ">
1. When the DB2 client opens the control center, an error occurs: [IBM] [JDBC driver] cli0622e accessing the JDBC management service extension.Solution: Enter the DB2 command window and enter db2cc 6789.--------------------------2. DB2 client garbled characters in the XP SystemSolution: C: \ Program Fi
The following articles mainly show you the correct operation steps for manually adding a database to DB2 and the description of the test environment used to implement the operation steps, the following is a description of the specific solution. I hope it will help you in your future study.
Test environment: Windows XP
DB2 version information
D:DB2BIN>db2leve
Circular and archive logs of the DB2 databaseDB2 databases support two different log modes: Circular and Archival ). When a new database is created, the default log mode is loop. If your business requires more advanced functions, you can change the log mode from cyclic to archive. DB2 will always try to write log entries to the main log file set, that is, the log
From: Richard Choi (Richard in JLUBBS)E-mail: richardchoi@126.comThere are many articles on JDBC connection to DB2 databases, such as "JDBC database connection Daquan" and "JSP DB2 Connection database". Although they are all very detailed information, it is also said that it solves the problems not solved by our predec
Today, we will describe some practical operations of the DB2 database recovery experience. We just started the DB2 database recovery test a few days ago, and we can't think of it so quickly. So whenever you find that a technology may be used, but you haven't done it yet, you must start it immediately. Maybe it will be
The following articles mainly describe the steps for restoring a database through DB2 backup and recovery.) I am a fan of DB2 databases. I am interested in understanding all the knowledge of DB2, although I was just familiar with the DB2
In browsing the forum posts, found that many students suffer from not having some "tips", so have to put down the work to check the data, the results found out, just the idea of a meaningful and no. Now sort out some tips to help people in need. Let's start with the DB2.
1. View the Local node directory
Command Window ENTER: DB2 list node Directory
2. Cataloging a TCP/IP node
Command window:
The following articles mainly describe the actual operation steps for backing up DB2 databases on AIX, as well as the notes worth attention during actual operations, the following is a detailed description of the procedure. I hope you will have a better understanding of the procedure.
AIX, DB2, Backup AIX, database
The procedure for offline and online full backu
Sysibm.sysversions17.DB2 the field of the table is modified?Only the VARCHAR2 type can be modified and can only be increased without reducingALTER TABLE ALTER COLUMN SET data type varchar (SIZE)18. How do I view the structure of a table?Describe table or describe select * from.19. How to quickly clear a large table?ALTER TABLE table_name ACTIVE not logged initally with EMPTY TABLE20. How do I view the stor
DB2 in the execution of a large insert/update operation, the "The transaction log for the database was full. "Error, check the document is the DB2 log file for the sake of full."Run the following command first to view the log configuration information for the DB2$ DB2 Get DB
For production purposes, install the DB2 database on an IBMX3850 server. The following describes the specific process. Hardware and Software System Configuration: Operating System: susew.ise10linux (64bit) sp3 hardware configuration: 32 GB memory database software:
For production purposes, install the DB2
(1) ensure that your DB2 database has been installed and runs properly. (2)
(1) ensure that your DB2 database has been installed and runs properly. (2) Start-run the command db2cmd to open a new DB2 command window: in the "command window" of
This article mainly describes how to export LOB data using the table operation technique of DB2 database. If there is a table of employee information (USER_INFO. There are three fields in this table: employee ID, employee name, and employee ID card copy.
Because the size of the employee ID card copy is relatively large, the LOB data type is used in the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.