🏃 w. Patrick Gale

Design, photography and ramblings

Month: October 2014

What is happening in your database?

Do you know if anything out of the ordinary is happening with your databases? Is one of your database applications secretly destroying your data?

We probably do not ask this question enough, if at all. Usually we can spot oddities in our data through the application interfaces they are tied to, but not always.

What if you could quickly compare changes in your database, across tables, on say a weekly basis? What if this only took a few minutes of your time?

Well there seems to be a number of tools out there handling just this thing. One tool that seems to work fairly well for SQL Server is SQL Examiner Suite.  This software will compare schemas and data.  It is the BeyondCompare for databases.  One of the cool features it the ability to compare backup files, which is very useful since you can quickly see where schemas or data have changed.

One way to actually use BeyondCompare to compare your database tables is to generate the insert scripts for the tables in your database and store versions of it every so often.  Then you can compare the individual tables (or the version folders the scripts reside in) as text files in BeyondCompare to help spot issues in your data.  BeyondCompare is a must have tool if you are a data manager or software developer, so using BeyondCompare in this capacity will help you become a power user quickly.

 

iPad responding slowly to text input

Today I found an interesting (yet frustrating) problem with a very large html form being accessed specifically through Safari on an iPad. After testing and testing the html page, I discovered the trend. The trend I noticed was slow response times when trying to type into a text input form field, but quick response from the textarea input type.

So how did I test and fix the issue? Well, it wasn’t pretty, but it seems to work. I simply changed the field types of my text input fields to textarea fields. Sure enough, when I made that change, the response times on the textarea fields were SIGNIFICANTLY faster than the fields I left as text input.

I have not installed any other browsers on this iPad so I can not confirm that this is strictly a Safari issue, but I suspect it is. Hopefully this bit of information will be useful to someone one out there trying to improve performance on a bloated html form being accessed through an iPad.

Follow this website

Get every new post delivered right to your inbox.