FairCom Corporation
 
FairCom Start PageFairCom ProductsDownloadsDeveloper SupportSales InformationFairCom CustomersFairCom Company InformationContact FairCom

Homebulletgrey.gifeNewsletterbulletgrey.gifVolume 27bulletgrey.gifServer Threads Identified


c-tree Server Threads Identified

At the heart of the c-tree Server is an advanced multithreaded core engine offering exceptional scalability. We put the power of this threading to use for many server side tasks keeping your administrative chores to a minimum. Remove any mystery of those background threads with this quick description.

Description of Server Threads

  • Main (ctsrvr): The main c-tree Server thread. It initializes the database engine and creates the administrative threads.
  • Delete Node (ctdnode): Makes empty index nodes available for reuse. When an index node becomes empty, the thread that emptied the node adds an entry to the delete node queue. The delete node thread reads entries from the delete node queue, prunes the empty nodes from the index tree and adds them to a list of nodes that are available for reuse.
  • Checkpoint (ctqchkp): Periodically records the current transaction state of the c-tree Server in the c-tree Server’s transaction log files. The checkpoint thread writes a checkpoint entry to the transaction logs each time a specified amount of data has been written to the transaction log files. The most recent checkpoint entry in the transaction logs provides a starting point for the c-tree Server’s automatic recovery procedure if the c-tree Server process terminates abnormally. If you are not using transaction control, the checkpoint thread is idle. The frequency at which the checkpoint thread writes checkpoints can be tuned for optimal performance. (Transaction Log Checkpoint Performance)
  • Communication Listener: Listens for connection requests from c-tree client processes. There is one communication listener thread for each communication protocol your c-tree Server is configured to support. For example, the c-treeSQL Server for Windows has four communication listener threads if both the TCP/IP and shared memory communication protocols are enabled for both ISAM and SQL connections.
  • SYSLOG (ctsyslog): Logs messages to the System Log Data file. The logging of these messages are triggered by the SYSLOG c-tree Server configuration options and some uses of the SNAPSHOT API, such as the collecting of c-tree function timings.
  • Deleted Space Reclamation (ctrspac): Makes deleted space in recovered variable-length c-tree data files and deleted c-tree superfile members available for reuse. This thread also coalesces adjacent blocks of deleted space in variable-length files into larger regions. The thread reads and processes entries stored in a permanent queue file named D0000001.FCS. Improves performance and disk space usage.
  • Dynamic Dump (idyndump): The c-tree Server Dynamic Dump backup thread. A dynamic dump thread is created for each backup that is scheduled, so more than one dynamic dump thread can exist, but only one dynamic dump thread at a time performs a backup.
  • Idle Flush (Idle transaction buffer flush / Idle non-transaction buffer flush): Flushes updated cache pages to disk when the database engine is idle. One thread flushes updated pages for transaction-controlled files and one thread flushes updated pages for non-transaction controlled-files.

Nearly every modern operating system includes native threading capabilities and the c-tree Server offers advanced multithreading whenever this is available. This brings exceptional scalability to SMP systems with large numbers of CPUs. FairCom also provides a proprietary threading system if needed when working with some primitive systems, for example, various proprietary real time systems. Check out the power of the c-tree Server yourself and take advantage of advanced multithreaded scalability in your applications today!

Black Line

Related Items

Monitoring c-tree Server Performance

c-tree Server Dynamic Backups

For over fifteen years National Public Radio has controlled and managed its entire satellite network radio broadcasts with an application built by Chesapeake Computer Group with FairCom's database technology. This system controls audio routing switchers, makes contact closures for tape recording machine starts and On-Air and Warning lights, controls transmitter parameters, digital audio storage systems and other devices required to operate its broadcasting network.

FairCom's technology provides the performance and stability required to capture and process the data used to operate and control an international satellite communications system. An application such as this requires absolute assurance that its database will provide the accuracy, data integrity, stability and performance required by the most demanding mission-critical embedded technology. In addition, FairCom's portability and scalability has allowed the NPR broadcast network to expand and move into the full international position it occupies today, providing radio network programming to every US military facility and many other international organizations world wide.

(481KB PDF)

FairCom Start PageSite MapContact FairComThe FairCom Privacy Policy Your Location: USA | Europe | Brazil | Japan
Copyright 2010 FairCom Corporation. Todos os direitos reservados.