Welcome to the Administration and Operations Guide!
- Main YottaDB Documentation Page
- About This Manual
- 1. About YottaDB
- 2. Installing YottaDB
- 3. Basic Operations
- YottaDB Environment Setup
- Environment Variables
- EDITOR
- LC_CTYPE
- LC_ALL
- LD_LIBRARY_PATH
- TZ
- ydb_aio_nr_events
- ydb_app_ensures_isolation
- ydb_autorelink_ctlmax
- ydb_autorelink_keeprtn
- ydb_autorelink_shm
- ydb_badchar
- ydb_baktmpdir
- ydb_boolean
- ydb_chset
- ydb_ci
- ydb_cm_<node-name>
- ydb_collate_n
- ydb_compile
- ydb_coredump_filter
- ydb_crypt_config
- ydb_crypt_fips
- ydb_crypt_plugin
- ydb_custom_errors
- ydb_db_create_ver
- ydb_cur_gbldir
- ydb_dbfilext_syslog_disable
- ydb_dbglvl
- ydb_db_startup_max_wait
- ydb_dist
- ydb_dmterm
- ydb_dollartest
- ydb_env_translate
- ydb_error_on_jnl_file_lost
- ydb_etrap
- ydb_extract_nocol
- ydb_flushoncallout
- ydb_fullblockwrites
- ydb_gbldir
- ydb_gbldir_translate
- ydb_gdscert
- ydb_hostname
- ydb_hugetlb_shm
- ydb_hupenable
- ydb_icu_version
- ydb_ipv4_only
- ydb_jnl_release_timeout
- ydb_keep_obj
- ydb_lct_stdnull
- ydb_link
- ydb_linktmpdir
- ydb_locale
- ydb_local_collate
- ydb_log
- ydb_lvnullsubs
- ydb_malloc_limit
- ydb_maxtptime
- ydb_max_indrcache_count/ydb_max_indrcache_memory
- ydb_max_sockets
- ydb_max_storalloc
- ydb_memory_reserve
- ydb_msgprefix
- ydb_mstack_crit_threshold
- ydb_mstack_size
- ydb_mupjnl_parallel
- ydb_nocenable
- ydb_nofflf
- ydb_non_blocked_write_retries
- ydb_nontprestart_log_delta
- ydb_nontprestart_log_first
- ydb_noundef
- ydb_obfuscation_key
- ydb_passwd
- ydb_patnumeric
- ydb_pattern_file/ydb_pattern_table
- ydb_pinshm
- ydb_poollimit
- ydb_principal
- ydb_principal_editing
- ydb_procstuckexec
- ydb_prompt
- ydb_quiet_halt
- ydb_readline
- ydb_recompile_newer_src
- ydb_rel
- ydb_repl_filter_timeout
- ydb_repl_instance
- ydb_repl_instname
- ydb_repl_instsecondary
- ydb_retention
- ydb_routines
- ydb_side_effects
- ydb_snaptmpdir
- ydb_string_pool_limit
- ydb_statsdir
- ydb_statshare
- ydb_stdxkill
- ydb_sysid
- ydb_tls_passwd_<label>
- ydb_tmp
- ydb_tpnotacidtime
- ydb_tprestart_log_delta
- ydb_tprestart_log_first
- ydb_trace_gbl_name
- ydb_treat_sigusr2_like_sigusr1
- ydb_trigger_etrap
- ydb_xc_gpgagent
- ydb_zdate_form
- ydb_zinterrupt
- ydb_zlib_cmp_level
- ydb_zquit_anyway
- ydb_zstep
- ydb_ztrap_form/ydb_zyerror
- ydb_ztrap_new
- Some Things To Remember
- Configuring and operating YottaDB with Unicode™ support (optional) for M
- Running YottaDB
- Configuring hugepages for YottaDB on Linux
- Configuring the Restriction Facility
- 4. Global Directory Editor
- Global Directory
- GDE Overview
- Using GDE
- Global Director Editor Commands
- Name, Region and Segment Qualifiers
- Name Qualifiers
- Region Qualifiers
- -[NO]AU[TODB]
- -C[OLLATION_DEFAULT]=number
- -D[YNAMIC_SEGMENT]=segment-name
- -[NO]EPOCHTAPER
- -[NO]INST[_FREEZE_ON_ERROR]
- -[NO]J[OURNAL][=journal-option-list]
- -K[EY_SIZE]=size in bytes
- -[NO]L[OCK_CRIT_SEPARATE]
- -[NO]N[ULL_SUBSCRIPTS]=[ALWAYS|NEVER|EXISTING]
- -[NO]Q[DBRUNDOWN]
- -R[ECORD_SIZE]=size in bytes
- -[NO]STA[TS]
- -[NO]STD[NULLCOLL]
- Segment Qualifiers
- Gblname Qualifiers
- Instance Qualifier
- GDE Command Summary
- 5. General Database Management
- Introduction
- Commands and Qualifiers
- BACKUP
- CREATE
- DOWNGRADE
- DUMPFHEAD
- ENDIANCVT
- EXIT
- EXTEND
- EXTRACT
- FREEZE
- FTOK
- HASH
- INTEG
- INTRPT
- JOURNAL
- LOAD
- RCTLDUMP
- REORG
- USER_DEFINED_REORG
- REPLICATE
- RESTORE
- RUNDOWN
- SEMAPHORE
- SET
- SET Qualifiers
- -FILE
- -JNLFILE
- -REGION
- -REPLICATION
- -ACCESS_METHOD
- -ASYNCIO
- -DEFER_TIME
- -DEFER_ALLOCATE
- -EPOCHTAPER
- -ENCRYPTABLE
- -EXTENSION_COUNT
- -FLUSH_TIME
- -FULLBLKWRT
- -GLOBAL_BUFFERS
- -HARD_SPIN_COUNT
- -INST_FREEZE_ON_ERROR
- -JOURNAL
- -KEY_SIZE
- -LOCK_SPACE
- -MUTEX_SLOTS
- -NULL_SUBSCRIPTS
- -LCK_SHARES_DB_CRIT
- PROBLKSPLIT
- -QDBRUNDOWN
- -PARTIAL_RECOV_BYPASS
- -READ_ONLY
- -RECORD_SIZE
- -REORG_SLEEP_NSEC
- -RESERVED_BYTES
- -SLEEP_SPIN_COUNT
- -SPIN_SLEEP_MASK
- -STATS
- -STDNULLCOLL
- -TRIGGER_FLUSH
- -VERSION
- -WAIT_DISK
- -WRITES_PER_FLUSH
- Examples for MUPIP SET
- SET Qualifiers
- SIZE
- STOP
- TRIGGER
- UPGRADE
- MUPIP Command Summary
- 6. YottaDB Journaling
- Introduction
- Journal Files
- Recovery from a Journal File
- rolled_bak* files
- Journal Files Access Authorization
- Triggers in Journal Files
- BEFORE_IMAGE_JOURNALING
- NOBEFORE_IMAGE Journaling
- Choosing between BEFORE_IMAGE and NOBEFORE_IMAGE
- Database Repair
- Broken Transaction File
- Lost Transaction File
- Epoch
- Journaling Benefits
- Backup Journal Files
- Select Database Files for Journaling
- Fencing Transactions
- Deciding Whether to Use Fencing
- VIEW Keywords
- $VIEW() Keywords
- SET
- JOURNAL
- Journal Extract Formats
- Introduction
- 7. Database Replication
- Introduction
- Implementing Replication and Recovery
- Procedures
- Setting up an A -> B Replication Configuration with Empty Databases
- Setting up an A -> B -> C Replication Configuration with Empty Databases
- Setting up an A -> P replication configuration with empty databases
- Replicating Instance Starts from Backup of Originating Instance (A -> B and A -> P)
- Switchover Possibilities in an A -> B replication configuration
- Switchover Possibilities in a B <- A -> P replication configuration
- Switchover possibilities in a B <- A -> P -> Q replication configuration
- Changing the global directory in an A -> B replication configuration
- Rolling Software Upgrade
- Shutting down an instance
- Creating a new Replication Instance File
- Setting up a Secured TLS Replication Connection
- Schema Change Filters
- Recovering from the replication WAS_ON State
- Rollback data from crashed (idle) regions
- Setting up a new replicating instance of an originating instance (A→B, P→Q, or A→P)
- Replacing the replication instance file of a replicating instance (A→B and P→Q)
- Replacing the replication instance file of a replicating instance (A→P)
- Setting up a new replicating instance from a backup of the originating instance (A→P)
- Setting up an A→P for the first time if P is an existing instance (having its own set of updates)
- Commands and Qualifiers
- Turning Replication On/Off
- Creating the Replication Instance File
- Displaying/ Changing the attributes of Replication Instance File and Journal Pool
- Starting the Source Server
- Shutting Down the Source Server
- Activating a Passive Source Server
- Deactivating an Active Source Server
- Stopping the Source Filter
- Checking Source Server Health
- Changing the Source Server Log File
- Enabling/ Disabling Detailed Logging in Source server
- Stopping a Source Server
- Reporting the Current Backlog of Source Server
- Processing Lost Transactions File
- Starting the Receiver Server
- Starting the Update Process
- Stopping the Update Process and/or the Receiver Server
- Stopping the Receiver Filter
- Freezing an instance
- Checking Receiver Server Health
- Changing the Receiver Server Log File
- Enabling/ Disabling Detailed Logging in Receiver server
- Reporting the current backlog of Receiver Server
- Rolling back the database after System Failures
- Update Helper Processes
- 8. M Lock Utility (LKE)
- 9. YottaDB Database Structure (GDS)
- 10. Database Structure Editor
- Operating in DSE
- DSE Commands and Qualifiers
- ADD
- ALL
- BUFFER_FLUSH
- CACHE
- CHANGE
- CHANGE -BLOCK Qualifiers
- CHANGE -FILEHEADER Qualifiers
- -FI[LEHEADER]
- -AB[ANDONED_KILLS]=value
- -BLK[_SIZE]=block_size
- -BLO[CKS_FREE]=free blocks
- -B[YTESTREAM]=transaction_number
- -D[ATABASE]=transaction_number
- -B_R[ECORD]=transaction_number
- -CO[RRUPT_FILE]=boolean
- -COM[MITWAIT_SPIN_COUNT]=value
- -CU[RRENT_TN]=transaction_number
- -DECLOCATION
- -E[NCRYPTION_HASH]
- -[NO]EPOCHTAPER
- -FL[USH_TIME][=delta_time]
- -FR[EEZE]=value
- -FU[LLY_UPGRADED]=boolean
- -GV[STATSRESET]
- -HEXLOCATION
- -INT[ERRUPTED_RECOV]=boolean
- -K[EY_MAX_SIZE]=key_max_size
- -KI[LL_IN_PROG]=value
- -N[ULL_SUBSCRIPTS]=value
- -OV[ERRIDE]
- -[NO]Q[DBRUNDOWN]
- -REC[ORD_MAX_SIZE]=record_max_size
- -REF[ERENCE_COUNT]=reference_count
- -REG[_SEQNO]=sequence-number
- -RESET_MAX_PROCS
- -RESYNC_S[EQNO]=sequence-number
- -RESYNC_T[N]=sequence-number
- -S[PIN_SLEEP_MASK]=hexadecimal-mask
- -SLEE[P_SPIN_COUNT]=integer
- -[NO]STD[NULLCOL]
- -STRM_NUM=stream-number -STRM_R[EG_SEQNO]=str_num's_region_sequence_number
- -TI[MERS_PENDING]=timers_pending
- -TO[TAL_BLKS]=total_blocks
- -TR[IGGER_FLUSH]=trigger_flush
- -WR[ITES_PER_FLUSH]=writes_per_flush
- Examples for CHANGE
- CLOSE
- CRITICAL
- DUMP
- EVALUATE
- EXIT
- FIND
- HELP
- INTEGRIT
- MAPS
- OPEN
- OVERWRITE
- PAGE
- RANGE
- REMOVE
- RESTORE
- SAVE
- SHIFT
- SPAWN
- WCINIT
- DSE Command Summary
- 11. Maintaining Database Integrity
- Verifying Database Integrity
- Approaches to Database Recovery
- Repairing the Database with DSE
- Finding and Fixing Database Errors
- C1 - Possible Cache Control Problems
- H1 - Process Hangs
- H3 - Database Access Problems
- H4 - Database Cache Problems
- H5 - Critical Section Problems
- H6 - UNIX Problems
- H7 - Disk Hardware Problems
- H8 - Application Problems
- I1 - MUPIP INTEG Errors
- I2 - YottaDB Version Mismatch
- I3 - File Header Errors
- I4 - File Size Errors
- I5 - More Database Access Problems
- I6 - Transient Errors
- I7 - Database Rundown Problem
- I8 - Repair Induced Problems
- K1 - Bad Key
- K2 - Keys Misplaced
- K3 - Blocks Doubly Allocated
- K4 - Pointer Problems
- K5 - Star Key Problems
- K6 - Compression Count Error
- K7 - Key Warning
- M1 - Bitmap Errors
- M2 - Bitmap Header Problems
- O1 - Bad Block
- O2 - Record Errors
- O3 - Data Block Errors
- O4 - Salvage of Data Blocks with Lost Indices
- O5 - Salvage of a Damaged Spanning Node
- P1 - Process Damage
- Q1 - Restricting Database Access
- R1 - Runtime Errors
- R2 - Structural Database Integrity Errors
- R3 - Runtime Database Cache Problems
- R4 - Stopped Processes
- R5 - No More Room in the File
- R6 - GTMASSERT and GTMCHECK Errors
- R7 - Interlocked Queue Hardware Problems
- R8 - Database Tree Maximum Level Exceeded
- R9 - Read-Only Process Blocked
- 12. Database Encryption
- Introduction
- Theory of Operation
- Examples of Use
- Tested Reference Implementations
- Special Note - GNU Privacy Guard and Agents
- Installation
- Administration and Operation of Encrypted Databases
- Plugin Architecture and Interface
- Using the Reference Implementation with Older Releases
- 13. GT.CM Client/Server
- Appendix A : YottaDB's IPC Resource Usage
- Appendix B: Monitoring YottaDB
- Appendix C : YottaDB Security Philosophy
- Appendix D : Containerization and YottaDB
- Appendix E : Packaging YottaDB Applications
- Appendix F : Creating a TLS Configuration File
- Glossary
- Appendix G: Extending YottaDB
- LICENSE