Archive for the 'Databases' Category Archív pre 'Databáza' Kategória

Uninstall and Remove Multiple Database Instances of Microsoft SQL Server 2005 Uninstall a Odstrániť Viacnásobné databázové inštancie Microsoft SQL Server 2005

Sunday, October 14th, 2007 Nedeľa, Október 14th, 2007

When database system administrator installs Microsoft SQL Server 2005 and creates a few database engine instances, there will be problem and hard time to remove and uninstall these multiple database instance components and the corresponding SQL Server services. Kedy databázový systém správca inštaláciou Microsoft SQL Server 2005 a vytvorí niekoľko databázový stroj prípadoch bude problém a ťažko odstrániť a odinštalujte tieto databázy viac inštancií súčasti a zodpovedajúci SQL Server služieb. When users try to uninstall Microsoft SQL Server 2005 or remove database instance components using Add and Remove Programs or Uninstall or change a programs (Vista) in Control Panel, only one SQL Server 2005 database engine can be selected. Keď používatelia skúste odinštalovať Microsoft SQL Server 2005 alebo odstrániť databázu instance komponenty pomocou panela Pridať alebo odstrániť programy alebo Odinštalovať alebo zmeniť program (Vista) v ovládacom paneli, iba jeden SQL Serveru 2005 databázový stroj môže byť vybraný. After uninstallation has completed, when users attempt to run the SQL Server 2K5 Uninstall to completely clean remove any other instances or components, the action will fail with error message saying the uninstaller shortcut entry is invalid and asked if you want to remove the link. Po odinštalovaní dokončil, keď používateľ pokúsi spustiť SQL Server 2K5 Odinštalujte úplne čisté odstrániť akékoľvek iné inštancie alebo zložky, akcie zlyhá s chybovým správu vyslovením Uninstaller skratku vstup je neplatná a otázka, či chcete odstrániť tento odkaz.

Continue reading Uninstall and Remove Multiple Database Instances of Microsoft SQL Server 2005 » » » Pokračovať v čítaní Uninstall a Vymaza Viacnásobné databázové inštancie Microsoft SQL Server 2005 »» »


How to Read MySQL Binary Log Files (BinLog) with mysqlbinlog Ako čítať MySQL Binárne Súbory (BinLog) s mysqlbinlog

Saturday, October 6th, 2007 Sobota, Október 6th, 2007

MySQL database server generates binary log files for every transaction to the databases, provided administrator does not disable or comment out the “log-bin” parameter in my.cny configuration file. Databázového servera MySQL generuje binárne súbory pre každú transakciu do databázy, ak správca nie je vypnúť alebo komentár o "log-bin" my.cny parametru v konfiguračnom súbore. The binary log files are written in binary format. Binárne súbory sú napísané v binárnom formáte. Although the binary logs, or also known as logbin are mainly used for MySQL database replication purpose, sometimes you may need to examine or read the contents of binary logs in text format, where the mysqlbinlog utility will come in handy. Hoci binárnou logy, alebo tiež známe ako logbin sa používajú hlavne pre MySQL databázu, replikácie účel, niekedy môže byť potrebné preskúmať alebo čítať obsah binárnou logami v textovom formáte, kde mysqlbinlog utilita príde vhod.

Continue reading How to Read MySQL Binary Log Files (BinLog) with mysqlbinlog » » » Pokračovať v čítaní Ako Čítať MySQL Binárne Súbory (BinLog) s mysqlbinlog »» »

Check and Optimize MySQL Database Automatically with Crontab/Cron Skontrolujte a Optimalizácia MySQL databázy Automaticky sa crontab / Cron

Friday, September 21st, 2007 Piatok, September 21st, 2007

MySQL is a very popular free yet powerful database system. MySQL je veľmi populárny zdarma ešte výkonnejší databázový systém. But even in great databases, the tables may get fragmented with overhead due to continuous update, or delete and insert operation on data stored in database. Ale aj vo veľkých databáz, tabuliek sa môže dostať roztrieštenému s režijné vďaka kontinuálnej aktualizovať, alebo odstrániť a vložiť prevádzku na údaje uložené v databáze. Beside, it's also possibility that the databases may get corrupted. Vedľa, je to tiež možnosť, že môže dôjsť k poškodeniu databázy. Thus, performing health check on database and optimize MySQL server regularly is an important task. Preto na zdravotnú kontrolu a optimalizáciu databázy MySQL server pravidelne je dôležitý úlohu.

Continue reading Check and Optimize MySQL Database Automatically with Crontab/Cron » » » Pokračovať v čítaní Overiť a Optimalizácia MySQL databázy Automaticky sa crontab / Cron »» »

How to Rename or Move Oracle Tablespace Datafile to Another Location Ako premenovať alebo presunúť Oracle Tablespace datafile na iné miesto

Saturday, August 4th, 2007 Saturday, August 4th, 2007

Oracle database does not provide an easy user interface to rename a datafile of tablespace, nor database administrator can easily move or relocate the datafile to another location or directory that different from original location on creation of database. Oracle databáze neposkytuje jednoduché užívateľské rozhranie na premenovanie datafile na Tablespace, ani správca databázy možno ľahko presunúť alebo datafile premiestni na iné miesto alebo adresár, ktorý sa odlišuje od pôvodného umiestnenia na vytvorenie databázy. The rename or move place task has to be performed via Oracle SQLPlus command line interface. V premenovať alebo presunúť miesto úlohy musí byť vykonané prostredníctvom Oracle SQLPlus rozhrania príkazového riadku. However, if the operation is performed when the tablespace which owns the datefile is online, error will occur. Avšak, ak bola operácia vykonaná, keď Tablespace, ktorá je vlastníkom datefile je on-line, dôjde k chybe.

Continue reading How to Rename or Move Oracle Tablespace Datafile to Another Location » » » Pokračovať v čítaní Ako premenovať alebo presunúť Oracle Tablespace datafile na iné miesto »» »


How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile Ako Drop Tablespace a Recover Oracle Database Kedy Náhodne Odstrániť datafile

Saturday, August 4th, 2007 Saturday, August 4th, 2007

Accident may happens, even though it's costly one. Úrazové mája sa deje, aj keď je to nákladné jedna. This is especially the case in Oracle database, which stores the database objects physically in data files on hard disk. To je najmä prípad v Oracle databáze, ktorá je uložená databázy objektov fyzicky v dátových súborov na pevnom disku. Fast hand administrators may accidentally delete some of the datafiles, or the datafiles may get corrupted or unreadable on hard disk failure. Rýchle ruky Správcovia môžu náhodne odstrániť niektoré z datafiles alebo datafiles môže dôjsť k poškodeniu alebo nečitateľné na pevný disk zlyhania. You may get also some missing datafiles after database recovery process. Môžete si tiež niektoré chýbajúce datafiles po obnovení databázy procesu. In any case, missing a or a few datafiles will cause Oracle database to fail to startup, rendering the whole DB inaccessible. V každom prípade, chýba jeden alebo niekoľko málo datafiles spôsobí Oracle databáze padnúť na štarte, čím sa celý NR neprístupný.

Continue reading How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile » » » Pokračovať v čítaní Ako Drop Tablespace a Recover Oracle Database Kedy Náhodne Odstrániť datafile »» »

How to Remove and Drop Datafiles from Tablespace in Oracle Database Ako odstrániť a Drop Datafiles z Tablespace v Oracle Database

Saturday, August 4th, 2007 Saturday, August 4th, 2007

Oracle RDBMS databases stores data logically in the form of tablespaces and physically in the form of data files. Oracle RDBMS databázy ukladá dáta logicky vo forme tablespaces a fyzicky vo forme dátových súborov. The datafiles are added to the tablespaces as database space requirement grows bigger. V datafiles sú pridané do databázy tablespaces ako priestor rozširuje. However, there are several reasons you may want to remove or delete data files from a tablespace. Existuje však niekoľko dôvodov, že budete chcieť odstrániť alebo zmazať dátové súbory z Tablespace. Such as accidentally add a wrongly sized or unwanted datafile to a tablespace, or the data space usage has became smaller and some data files want to be removed, or attempt to recover Oracle database which fails to start due to missing or corrupted datafiles by removing them, Oracle does not provide an easy way or user interface to delete or drop datafiles from a tablespace. Ako náhodne pridať neprávom veľkých alebo nežiaduce datafile na Tablespace, alebo údaje, využitie priestoru stala menej a niektoré dátové súbory chcete odstrániť, alebo sa pokúša získať späť Oracle databázy, ktorá nedokáže spustiť kvôli chýbajúce alebo poškodené datafiles odstránením nich Oracle neposkytuje jednoduchú cestu alebo užívateľské rozhranie pre odstránenie alebo pokles datafiles z Tablespace. Once a datafile is made part of a tablespace, it can no longer be detached or removed from the tablespace, albeit there are several workarounds. Jednou datafile sa v rámci Tablespace, že už nemôžu byť oddelené, alebo odstrániť z Tablespace, aj keď existuje niekoľko riešení.

Continue reading How to Remove and Drop Datafiles from Tablespace in Oracle Database » » » Pokračovať v čítaní Ako odstrániť a Drop Datafiles z Tablespace v Oracle Database »» »

How to Backup and Restore (Export and Import) MySQL Databases Tutorial Ako sa na zálohovanie a obnovenie (Export a Import) Databáza MySQL Tutorial

Saturday, July 21st, 2007 Sobota, Júl 21st, 2007

phpMyAdmin can be used to export or backup MySQL databases easily. phpMyAdmin možno použiť na exporte alebo zálohovanie databázy MySQL ľahko. However, if the database size is very big, it probably won't be a good idea. Avšak, ak sa veľkosť databázy je veľmi veľká, je asi nebude dobrý nápad. phpMyAdmin allows users to save database dump as file or display on screen, which involves exporting SQL statements from the server, and transmitting the data across slower network connection or Internet to user's computer. phpMyAdmin užívateľom umožňuje ušetriť databáze výpisu ako obrázok alebo zobrazenia na obrazovke, čo zahŕňa vyvážajúcimi SQL výpisy zo servera a prenášať dáta cez pomalšie pripojenie k sieti alebo na internete na počítači užívateľa. This process slow the exporting process, increase database locking time and thus MySQL unavailability, slow the server and may simply crash the Apache HTTPD server if too many incoming web connections hogging the system's resources. Tento proces pomalý vyvážajúcimi procesu zvýšenie databázy zamykanie čas, a tak MySQL nedostupnosti, pomalý server a jednoducho zrúti Apache httpd server, ak príliš veľa prichádzajúcich internetových pripojení chamtivy branie systému zdrojov.

Continue reading How to Backup and Restore (Export and Import) MySQL Databases Tutorial » » » Pokračovať v čítaní Ako na zálohovanie a obnovenie (Export a Import) MySQL databáz výuka »» »

MySQL Error 1170 (42000): BLOB/TEXT Column Used in Key Specification Without a Key Length MySQL Chyba 1170 (42000): BLOB / TEXT Stĺpec Used v Key Špecifikácia Bez Kľúčové Dĺžka

Monday, July 9th, 2007 Pondelok, Júl 9th, 2007

When creating a new table or altering an existing table with primary keys, unique constraints and indexes, or when defining a new index with Alter Table manipulation statement in MySQL database, the following error may occur and prohibit the the command from completing: Pri vytváraní novej tabuľky alebo meniť existujúce tabuľky s primárnym kľúčom, unikátne obmedzenia a indexy, alebo pri definovaní novej index s Alter Tabuľka manipulácia vyhlásenie v MySQL databázu, tieto chyby sa môžu vyskytnúť aj zakázať príkaz od dokončenia:

ERROR 1170 (42000): BLOB/TEXT column 'field_name' used in key specification without a key length ERROR 1170 (42000): BLOB / TEXT stĺpce 'field_name' používané v kľúčových špecifikácie bez dĺžkou kľúča

Continue reading MySQL Error 1170 (42000): BLOB/TEXT Column Used in Key Specification Without a Key Length » » » Pokračovať v čítaní MySQL Chyba 1170 (42000): BLOB / TEXT Stĺpec Used v Key Špecifikácia Bez dĺžke kľúče »» »