Bolte IT Consulting
Java connect to SQL Anywhere database
So, ... I like to try new things and since I had to migrate an old version of an SQL Anywhere database into an open source database, I thought I might as well do it the fun way.
I will write a little Java Spring Batch Applicaiton in order to move the data from SQL Anywhere into MariaDB in a professional way.
In this article you can learn how to connect your client to an SQL Anywhere database using Java.
- Hits: 5822
PL SQL for analyzing and rebuilding indexes
Recently I had to rebuild some indexes, since they met two major conditions under which an index rebuild most likely will improve performance.
According to Burleson, an index rebuild can help under the following conditions.
High index fragmentation: The SQL workload has lots of table DML causing lots of deleted leaf blocks.
High index scan access plans: The SQL workload is rich with index scans (index fast-full scans and index range scans)
The second condition definetely holds valid for my clients database. The application, RSA IGL is used for over 10 years without any archiving or regular house keeping and up to 100 Million entries in several important tables.
- Hits: 4403
Create a new database
Go to Tools (Extras in German) and select the sub-menu SQL Anywhere 16 or 17.
Select menu item Create database ... (Datenbank erstellen ... in German).
- Hits: 1857
Create an SQL Anywhere Database Service
In Sybase Database Central select the SQL Anywhere 16 or 17 context and then click on Services.
Right click into the pane below and select New > Service ... from the context menu.
- Hits: 2644
Migrating old SQL Anywhere database
Recently my dad retired from running his own business as master wood worker. He ran an old business software specializing in supporting invoiving, creation of offers, address database and so on for small businesses.
This software happened to be based on an older version of SAP SQL Anywhere.
Now my dad asked me to help him in backing up the address data as well as his old invoices, since he is required by law to keep them for up to 10 years.
- Hits: 3413