From 780b92ada9afcf1d58085a83a0b9e6bc982203d1 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 17 Feb 2015 17:25:57 +0000 Subject: Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz. --- docs/bdb-sql/BDB-SQL-Guide.pdf | Bin 341898 -> 383726 bytes .../bdb-sql/accessing_bdb_sql_databases.title.html | 2 +- docs/bdb-sql/addedpragmas.html | 96 +++++-- docs/bdb-sql/admin.html | 40 ++- docs/bdb-sql/bdb-concepts.html | 2 +- docs/bdb-sql/bfile-c.html | 2 +- docs/bdb-sql/bfile-extension.html | 10 +- docs/bdb-sql/bfile-sql.html | 2 +- docs/bdb-sql/buildinstall.html | 25 +- docs/bdb-sql/changedpragmas.html | 2 +- docs/bdb-sql/datamigration.html | 10 +- docs/bdb-sql/dbfeatures.html | 2 +- docs/bdb-sql/dbsqlbasics.html | 21 +- docs/bdb-sql/index.html | 86 +++++- docs/bdb-sql/journaldirectory.html | 2 +- docs/bdb-sql/lockhandling.html | 2 +- docs/bdb-sql/lockingnotes.html | 2 +- docs/bdb-sql/miscdiff.html | 2 +- docs/bdb-sql/moreinfo.html | 14 +- docs/bdb-sql/mvcc.html | 2 +- docs/bdb-sql/normal-sql.html | 14 +- docs/bdb-sql/preface.html | 4 +- docs/bdb-sql/recoverysql.html | 80 ++++++ docs/bdb-sql/rep_usageexamples.html | 4 +- docs/bdb-sql/reppragma.html | 299 ++++++++++++++++++++- docs/bdb-sql/repstatistics.html | 2 +- docs/bdb-sql/selectpage_size.html | 2 +- docs/bdb-sql/sequencesupport.html | 9 +- docs/bdb-sql/sql_encryption.html | 83 ++++-- docs/bdb-sql/sqlrep.html | 121 ++++++++- docs/bdb-sql/statsql.html | 80 ++++++ docs/bdb-sql/sync.html | 14 +- docs/bdb-sql/unsupportedpragmas.html | 2 +- docs/bdb-sql/verifysql.html | 82 ++++++ 34 files changed, 1004 insertions(+), 116 deletions(-) create mode 100644 docs/bdb-sql/recoverysql.html create mode 100644 docs/bdb-sql/statsql.html create mode 100644 docs/bdb-sql/verifysql.html (limited to 'docs/bdb-sql') diff --git a/docs/bdb-sql/BDB-SQL-Guide.pdf b/docs/bdb-sql/BDB-SQL-Guide.pdf index dfcca036..4b69fee4 100644 Binary files a/docs/bdb-sql/BDB-SQL-Guide.pdf and b/docs/bdb-sql/BDB-SQL-Guide.pdf differ diff --git a/docs/bdb-sql/accessing_bdb_sql_databases.title.html b/docs/bdb-sql/accessing_bdb_sql_databases.title.html index 9e8d8ea5..dfd6675b 100644 --- a/docs/bdb-sql/accessing_bdb_sql_databases.title.html +++ b/docs/bdb-sql/accessing_bdb_sql_databases.title.html @@ -14,7 +14,7 @@ diff --git a/docs/bdb-sql/dbfeatures.html b/docs/bdb-sql/dbfeatures.html index d20be241..15f932fc 100644 --- a/docs/bdb-sql/dbfeatures.html +++ b/docs/bdb-sql/dbfeatures.html @@ -14,7 +14,7 @@ +
+
+
+
+

Catastrophic Recovery

+
+
+
+

+ Catastrophic recovery is used when normal recovery is + unable to repair a corrupted database. + A detailed description of the recovery utility is described at + db_recover + . This + section describes how to use the utility with a SQL database. +

+

+ The first step in running recovery is to add a DB_CONFIG + file + to the journal directory. In the file, add the following line: +

+ + add_data_dir .. + +

+ Then execute the following command in the journal directory + db_recover -c. +

+
+ + + diff --git a/docs/bdb-sql/rep_usageexamples.html b/docs/bdb-sql/rep_usageexamples.html index 1894ef10..8aa95053 100644 --- a/docs/bdb-sql/rep_usageexamples.html +++ b/docs/bdb-sql/rep_usageexamples.html @@ -14,7 +14,7 @@ +

Database Statistics

+ The statistics utility can be used to print out information on + tables in a database. A detailed description of the statistics + utility is described at db_stat + . This + section describes how to use the utility with a SQL database. +

+ The first step in getting statistics on a table is to find the + internal name for the table. The internal table name is + table#####, where the number is the rootpage + number, which can be retrieved using the following SQL statement: +

+ SELECT rootpage FROM sqlite_master WHERE name='[table name]'; + + For example, if the root page is 10, the internal table name + will be table00010. +

+ In order to run the db_stat utility, + first add a DB_CONFIG + file to the journal directory. + In the file, add the following line: +

+ add_data_dir .. +

+ Then execute the following command in the directory + with the database: + db_stat -d [file name] -h [journal directory] -s [internal table name]. + That command will print out information on the table. +

+ + + diff --git a/docs/bdb-sql/sync.html b/docs/bdb-sql/sync.html index 7bbd4d85..48e59648 100644 --- a/docs/bdb-sql/sync.html +++ b/docs/bdb-sql/sync.html @@ -14,7 +14,7 @@ +
+
+
+
+

Verify Database Structure

+
+
+
+

+ Verification is used to confirm that a database structure is + correct, and has not been corrupted by a crash or other failure. + A detailed description of the verify utility is described at + db_verify + . This + section describes how to use the utility with a SQL database. +

+

+ The first step in running verify is to add a DB_CONFIG + file + to the journal directory. In the file, add the following line: +

+ + add_data_dir .. + +

+ Then execute the following command in the database directory + db_verify -h [journal directory] [database file]. + The command will either print out a message reporting success, + or will list any error found in the database. +

+
+ + + -- cgit v1.2.1