By JortK on March 8, 2010
Showing Google Maps with many markers in PHP Sometimes you need to display Google Maps with a large number of markers. However, adding too many markers makes the map page load too slow. This article explains how you can use marker cluster feature of the forms map location plug-in to cluster large numbers of markers [...]
Posted in MySQL, php | Tagged google, maps, markers, MySQL, php, sql, tricks, tutorials
By JortK on January 9, 2010
Some great articles on how to improve the performance of your MySQL Server: Optimize slow queries with mk-query-digest Use delayed flushing table_cache negative scalability How innodb_open_files affect performance Use of table_cache Thanks to MySQLPerformanceblog.com!
Posted in MySQL | Tagged flushing, innodb, MySQL, performance, sql
By JortK on June 27, 2009
After I explained the MySQL method for getting the TOP N rows in a query it is time to explain the same for MS-SQL. Here we use the TOP function. To retrieve the first 5 rows from the names table, use the following query: SELECT TOP 5 firstname,lastname FROM names If you want to retrieve [...]
Posted in How to | Tagged limit, ms-sql, mssql, query, sql, top, trcik
By JortK on June 9, 2009
As promised in my previous post with usefull PHP articles and tutorials, now it’s time for some cool and handy SQL articles! Here we go: Execute SQL job through batch file This article will show you how you can execute a SQL job with one click, allowing anyone to do this. Author Divya Agrawal shows [...]
Posted in How to, Tech news | Tagged articles, database, MySQL, sql, sqlyog, tutorials
By JortK on December 30, 2008
Last week I was playing around with the computed columns feature in SQL Server from Microsoft. A computed column is computed from an expression that can use other columns in the same table. The expression can be a noncomputed column name, constant, function, and any combination of these connected by one or more operators. The [...]
Posted in How to | Tagged computed columns, database, microsoft, sql
By JortK on December 22, 2008
Because I’m running a project which has a relative large database (tables with 70.000.000 records in them), I wanted to know which was faster in performance, MyISAM or InnoDB. Currently I’m using MyISAM, and I’m running into some performance and stability issues. First, I’ve created a table with a few columns:
Posted in MySQL | Tagged benchmark, database, innodb, myisam, MySQL, performance, sql, storage engines