Managing SQL Server databases
iBase provides the capabilities to store data in Microsoft™ SQL Server databases and Microsoft Access databases. Microsoft Access should be used as the supporting database only if the number of simultaneous users is five or less. When a database of more than 200 Mb is accessed by a number of users simultaneously then consideration should be given to using SQL Server.
Upgrading an iBase database to SQL Server
You can use iBase Designer to convert a Microsoft Access database to SQL Server format. The upsize process creates an SQL Server database and an .idb file that contains the connection details. For details of this process, see Upsizing a Database to SQL Server.
Managing the security of the data in an SQL Server database
For detailed information about configuring the security of the overall system, see the Administration Center document Managing Access Control, which provides detailed guidelines on how to control access to iBase.
Populating the SQL Server database
If you need to import very large quantities of data, then you might want to consider using bulk import or XML import. Bulk import makes use of the SQL Server BULK INSERT statement and requires the database and server to be configured before it can be used. For further information, see Overview of Bulk Import.
Optionally, iBase can load data that is extracted and structured from source documents using Text Chart. For further information, see the Administration Center document Using iBase with Text Chart.
Keeping data safe and available (backup)
This is probably the most complex area of managing a database installation, and iBase with SQL Server is no different. SQL Server provides tools for completing the backups and automating them, although your SQL Server administrator might use other backup tools if the right files are backed up at suitable intervals.
With your SQL Server administrator, you must to decide on your backup regime. This can depend on how the iBase SQL Server databases are populated: for example, whether the database is populated by users entering data continuously or by users importing large sets of data. For further information, see Backing Up iBase Databases.
Modifying the database schema
Performance tuning in SQL Server
The performance of an iBase SQL Server database can be maintained by regular reindexing in SQL Server. A decline in performance might become apparent after the database grows larger than, possibly, 10 – 15 GB, and is most noticeable when you run iBase queries. If you are using a database upgraded from iBase 4, then you might be able to improve the performance of queries by optimizing the database indexes. A tool for doing this is available in iBase Designer— see Performance Tuning for details.
- Frequent data imports caused the data and indexes to become fragmented
- Databases that are set to grow/shrink automatically on the same disk became fragmented
- Inserting, updating, or deleting large amounts of data caused the SQL Server database statistics to become out-of-date
- Data and index fragmentation can be addressed by rebuilding or defragmenting the indexes on the database tables. An SQL Server administrator can do this while the database is online but, for the best results, it is preferable to first take the database offline.
- Operating system fragmentation can be resolved by defragmenting the disk files. This can be done by a server administrator rather than by an SQL Server administrator. It also requires the database to be taken offline so that the files can be moved around the physical disk.
- If automatic statistics updating is disabled, an SQL Server administrator can update them manually.
Effect of auditing on performance
Standard auditing of updates and deletions has a low impact on performance. However, the read auditing that can be configured as an option for iBase SQL Server databases does have an impact. The design of this auditing is such that only records, which have been displayed, charted, or reported are audited. This means that activities such as finding and querying do not run noticeably slower. Activities that result in a revealing a record, such as charting, can take more time to complete. If you intend to use read auditing extensively, it is possible to configure the Audit log database to write to files on disks with fast write performance (see Server machines for details).
Read audit places a higher load on the network and so network performance is more important when using this option. The read audit logs grow relatively quickly and should be archived regularly.
SQL Server Replication and iBase
For details of how to replicate iBase databases, see the Administration Center document Setting Up iBase database replication. iBase database replication is a separately licensed feature.
For more information on hardware requirements, see SQL Server Clients, Servers and Networks.
You can use iBase installation to work with data in both SQL Server and Microsoft Access database formats. This allows you to work with the scale of data appropriate to your analysis. iBase automatically recognizes the type of database and you can switch between them within an iBase session.