How to show and optimize tables of mysql database

The mysql query to list the tables from a mysql database is show tables from `database` where `database` must be replace with the actual name of the database. The query lists the non-TEMPORARY tables in a given database.

You can use inside php like this:

$res=mysql_query("show tables from `database`") or die(mysql_error());
while($r=mysql_fetch_row($res))
{ 
    $resOpt=mysql_query("optimize table `database`.`".$r[0]."`") or die(mysql_error());
}

where optimize table is a mysql query that should be used if you have deleted a large part of a table or if you have made many changes to a table with variable-length rows. Deleted rows are maintained in a linked list and subsequent insert operations reuse old row positions. You can use optimize table to reclaim the unused space and to defragment the data file. After extensive changes to a table, this statement may also improve performance of statements that use the table, sometimes significantly.

More information about the show tables can be used here: http://dev.mysql.com/doc/refman/5.0/en/show-tables.html

More information about the optimize table can be used here: http://dev.mysql.com/doc/refman/5.1/en/optimize-table.html

Local seo company versus off-shore company

Until now I've wrote about the seo techniques and some thing about what you should do and you must avoid in order to improve your page in ranking and content. I wrote almost nothing about what should be the criteria of selecting the seo company to work for you and it's time for that.

There are 2 distinct tendencies in choosing your collaborator in the seo world: to use local companies (close to you area of activity in the "real world") and to use off-shore companies (the work over internet but they are located physical in other countries or continents).

Local Search Engine Optimization & SEO Geo-targeting

Does you site appears on the first results page when run a search with the main search engines? That's excellent, but does it happen with the same success for all the areas you want to sell your products? For example, in the next town or the cities around you does your site have the same success as your home town? Why not?

Javascript: asking the visitor to confirm if he wishes to leave the page

Lately I've noticed more and more web pages that ask the visitor to confirm if he/she wishes to leave the page. The easiest way to do that is to use javascript, something like the following code:

<html>
<head>
<script language="javascript" type="text/javascript">
window.onbeforeunload = askConfirm;
function askConfirm()
{ return "You don't want to leave this page, do you?"; }
</script>
</head>
<body>
</body>
</html>

SEO, content writing and pagejacking

A few decades after the first hijacking we all know what that is: somebody take the control of a vehicle (car, bus, airplanes) and redirects it accordingly to his/her desire.

Another definition, a newer one, is the following one (the details can be found here):

Search engine optimization and the importance of the sitemaps

There are 2 types of sitemaps used for now in webdesign & seo: the XML sitemap and HTML (on-page) sitemap. They have a different structure and they don't have exactly the same target, but they both have the same purpose: to assure the best access on the site and all the pages (articles) of the site.

SEO: ToDo list when changing your site's URL structure

Changing the URL structure for your site is not recommended, but sometimes it is necessary. The motifs may vary, but from time to time this kind of things happen. The most important thing to remember when dealing with something like this is: do it as rarely as possible, if it is possible never do it. Search engines does not like this kind of changing (the site must be indexed all over again, duplicate content may occur, the ranking of the site could drop), especially if it is done often, and the targeted backlinks may be lost because of it. If your site is already big (for example: a blog or a newspaper site) it can take some time to make a full recovery.

Errors when using Community Builder 1.4 and Joomla 1.7.0

Recently Joomla 1.7.0 was released, so I've installed it on a development and test site and I've also installed Community Builder 1.4.

When trying to see the CB user list using the link  http://joomla17.test/administrator/index.php?option=com_comprofiler&task=showusers&view=showusers (I've modified the test domain name) I've got the following error:

SEO for osCommerce online store

Installing an osCommerce Merchant Store on your server is not hard at all: it can be done in only few minutes if you know what you are doing. Configuring the store is a little harder (especially if you want a job well-done), but it is manageable. One of the most important things you must consider when doing that is the search engine optimization of your online store, you do want to be on the on the first page on the Google/Yahoo/Bing search results when something is searching the products you are selling. Don't you?

Reseting password for administrator for oscommerce

The misplace of the passwords is always a problem, especially if it is something important. And there is nothing more important when you have an online store and you can not log in to the backend to administrate your products.

There are several ways to reset your password:

seo search engine optimisation The search engine optimisation part is very important for websites - they have to match certain criteria in order to appear as often as possible in the search results on Google and Bing. SEO (search engine optimization) starts from site / online store / platform development because it involves a specific structure of the pages, it involves an ease to browse for the visitors (for your clients) and it involves quicky loading when accessed. Our sites are delived already optimized, but if you have already a solution developed by someone else we analize your website and we offer consultancy - we'll tell you about the options you have about to boost its visibility and organic traffic.

realizăm site-uriWe develop websites to present your activity to the world and applications for internet that help you organize your activity as eficient as possible and without loses (in money, time and energy) wherever you are. Do you need an online store or a tool available for you anytime? We can develop that as long you reserve a domain name and some hosting space, the app is our job.

As an extension to your site or web app we can provide an app for your smartpone / table to keep you always informed about what's happening with the product already developed.

developing appsWe develop web applications and mobile apps (Android) for various companies and organisations according to their specifications and requirements. The apps are being used by employees and partners to work more efficient and with less costs for the company: the web applications can be accessed through the browsers installed on smartphones and tablets but the usage of a complementary mobile app can make efficiency to go up (it can increase the communication between people or it can show things not so important on PC).

We offer support for the applications used now and we develop them further using modern technologies.

Consulting bussiness online / itWe offer consultancy about the informatic system you have installed and we offer sollutions to make the more efficient, to improve and develop them further, we analize the activities inside your company and / organisation and we offer sollutions for the projects you want to develop.

If you don't have a website, an online store, a web application or a mobile app (Android) but you want to develop one for yourself or your company we offer the initial consultancy, the one that's necessary before starting anything about such project.

Share this URL on social social

"Cu capãtul arcurilor, trecînd,
rãzboinicii
mîngîie roua..."

Yosa Buson (1715-1783)

facebook sharing button
twitter sharing button
messenger sharing button
reddit sharing button
wordpress sharing button
whatsapp sharing button
tumblr sharing button
pinterest sharing button
blogger sharing button