Archive for the 'Databases' Category Archive for the 'Database' Kategori

Oracle PL/SQL ORA-00947 Not Enough Values Error Oracle PL / SQL ORA-00947 Tidak Cukup Nilai Kesalahan

Tuesday, October 23rd, 2007 Selasa, Oktober 23, 2007

In Oracle database, the following error message may appear when an incorrect SQL statement is used, in SQL Plus or in anywhere that send SQL queries to the databases such as stored procedure or external programs. Di Oracle database, pesan error berikut mungkin muncul saat pernyataan SQL yang salah digunakan, di SQL Plus atau di mana saja yang mengirimkan SQL queries ke database seperti stored procedure atau program eksternal.

PL/SQL: SQL Statement ignored PL / SQL: SQL Statement diabaikan
PL/SQL: ORA-00947: not enough values PL / SQL: ORA-00947: tidak cukup nilai-nilai

Continue reading Oracle PL/SQL ORA-00947 Not Enough Values Error » » » Lanjutkan membaca Oracle PL / SQL ORA-00947 Tidak Cukup Nilai Kesalahan »» »


Uninstall and Remove Multiple Database Instances of Microsoft SQL Server 2005 Uninstall dan Hapus Multiple Instances Database Microsoft SQL Server 2005

Sunday, October 14th, 2007 Minggu, Oktober 14, 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. Ketika menginstal administrator sistem database Microsoft SQL Server 2005 dan menciptakan beberapa mesin database contoh, akan ada masalah dan sulit untuk menghilangkan dan menghapus database ini beberapa contoh komponen dan SQL Server yang sesuai layanan. 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. Ketika pengguna mencoba untuk meng-uninstall Microsoft SQL Server 2005 atau menghapus komponen database misalnya menggunakan Add and Remove Programs atau Uninstall atau mengubah program (Vista) di Control Panel, hanya satu SQL Server 2005 database engine yang dapat dipilih. 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. Setelah penginstalan selesai, ketika pengguna mencoba menjalankan SQL Server 2K5 Uninstall untuk sepenuhnya menghapus bersih kasus lain atau komponen, aksi akan gagal dengan pesan error mengatakan pintas uninstaller entri tidak valid dan bertanya apakah Anda ingin menghapus link.

Continue reading Uninstall and Remove Multiple Database Instances of Microsoft SQL Server 2005 » » » Lanjutkan membaca Uninstall dan Hapus Multiple Instances Database Microsoft SQL Server 2005 »» »

How to Read MySQL Binary Log Files (BinLog) with mysqlbinlog Cara Membaca MySQL Binary Log Files (BinLog) dengan mysqlbinlog

Saturday, October 6th, 2007 Sabtu Oktober 6, 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. Database MySQL biner menghasilkan file-file log untuk setiap transaksi ke database, asalkan administrator tidak menonaktifkan atau komentar yang "log-bin" parameter di file konfigurasi my.cny. The binary log files are written in binary format. File log biner ditulis dalam format biner. 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. Meskipun log biner, atau juga dikenal sebagai logbin dipakai terutama untuk tujuan replikasi database MySQL, kadang-kadang anda mungkin perlu memeriksa atau membaca isi dari log biner dalam format teks, di mana utilitas mysqlbinlog akan berguna.

Continue reading How to Read MySQL Binary Log Files (BinLog) with mysqlbinlog » » » Lanjutkan membaca Cara Membaca MySQL Binary Log Files (BinLog) dengan mysqlbinlog »» »

Check and Optimize MySQL Database Automatically with Crontab/Cron Periksa dan Optimalkan MySQL Database Secara Otomatis dengan Crontab / Cron

Friday, September 21st, 2007 Jumat, September 21, 2007

MySQL is a very popular free yet powerful database system. MySQL adalah gratis yang sangat populer namun sistem database yang kuat. 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. Tetapi bahkan dalam database besar, meja mungkin akan terpecah-pecah dengan overhead karena terus-menerus memperbarui, atau menghapus dan operasi memasukkan data yang disimpan dalam database. Beside, it's also possibility that the databases may get corrupted. Disamping, itu juga kemungkinan bahwa database mungkin rusak. Thus, performing health check on database and optimize MySQL server regularly is an important task. Dengan demikian, melakukan pemeriksaan kesehatan pada mengoptimalkan database dan server MySQL secara teratur adalah tugas penting.

Continue reading Check and Optimize MySQL Database Automatically with Crontab/Cron » » » Lanjutkan membaca Periksa dan Optimasi MySQL Database Secara Otomatis dengan Crontab / Cron »» »


How to Rename or Move Oracle Tablespace Datafile to Another Location Bagaimana Oracle Ubah nama atau Pindah ke lain tablespace Datafile Lokasi

Saturday, August 4th, 2007 Sabtu Agustus 4, 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. Database Oracle tidak menyediakan antarmuka pengguna yang mudah untuk mengubah nama datafile dari tablespace, atau database administrator dapat dengan mudah memindahkan atau merelokasi datafile ke lokasi lain atau direktori yang berbeda dari lokasi asli penciptaan database. The rename or move place task has to be performed via Oracle SQLPlus command line interface. Yang mengganti nama atau memindahkan tempat tugas yang harus dilakukan melalui Oracle SQLPlus antarmuka baris perintah. However, if the operation is performed when the tablespace which owns the datefile is online, error will occur. Namun, jika operasi dilakukan ketika tablespace yang memiliki datefile is online, kesalahan akan terjadi.

Continue reading How to Rename or Move Oracle Tablespace Datafile to Another Location » » » Lanjutkan membaca Cara Oracle Ubah nama atau Pindah ke lain tablespace Datafile Lokasi »» »

How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile Bagaimana Drop tablespace dan Recover Oracle Database Ketika sengaja Hapus Datafile

Saturday, August 4th, 2007 Sabtu Agustus 4, 2007

Accident may happens, even though it's costly one. Kecelakaan dapat terjadi, meskipun mahal itu satu. This is especially the case in Oracle database, which stores the database objects physically in data files on hard disk. Hal ini terutama terjadi di database Oracle, yang menyimpan objek database secara fisik dalam file data hard disk. Fast hand administrators may accidentally delete some of the datafiles, or the datafiles may get corrupted or unreadable on hard disk failure. Cepat tangan administrator mungkin secara tidak sengaja menghapus beberapa datafiles, atau datafiles mungkin rusak atau tak terbaca kegagalan hard disk. You may get also some missing datafiles after database recovery process. Anda mungkin mendapatkan juga beberapa datafiles hilang setelah proses pemulihan basis data. In any case, missing a or a few datafiles will cause Oracle database to fail to startup, rendering the whole DB inaccessible. Dalam setiap kasus, kehilangan satu atau beberapa datafiles akan menyebabkan database Oracle gagal untuk startup, render seluruh DB tidak bisa diakses.

Continue reading How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile » » » Lanjutkan membaca Bagaimana Drop tablespace dan Recover Oracle Database Ketika sengaja Hapus Datafile »» »

How to Remove and Drop Datafiles from Tablespace in Oracle Database Cara Hapus dan Drop Datafiles dari tablespace di Oracle Database

Saturday, August 4th, 2007 Sabtu Agustus 4, 2007

Oracle RDBMS databases stores data logically in the form of tablespaces and physically in the form of data files. RDBMS database oracle menyimpan data secara logis dalam bentuk tablespace dan secara fisik dalam bentuk file data. The datafiles are added to the tablespaces as database space requirement grows bigger. Para datafiles ditambahkan ke database tablespace sebagai kebutuhan ruang tumbuh lebih besar. However, there are several reasons you may want to remove or delete data files from a tablespace. Namun, ada beberapa alasan Anda mungkin ingin untuk menghapus atau menghapus file data dari sebuah 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. Seperti sengaja menambah ukuran salah atau tidak diinginkan datafile ke tablespace, atau penggunaan kapasitas data yang telah menjadi lebih kecil dan beberapa file data yang ingin dihapus, atau mencoba untuk memulihkan database Oracle yang gagal untuk memulai karena hilang atau rusak datafiles dengan membuang mereka , Oracle tidak menyediakan cara yang mudah atau user interface untuk menghapus atau menjatuhkan datafiles dari sebuah 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. Sekali datafile dibuat bagian dari tablespace, itu tidak lagi dapat dilepaskan atau dihapus dari tablespace, meskipun ada beberapa workarounds.

Continue reading How to Remove and Drop Datafiles from Tablespace in Oracle Database » » » Lanjutkan membaca Cara Hapus dan Drop Datafiles dari tablespace di Oracle Database »» »

How to Backup and Restore (Export and Import) MySQL Databases Tutorial Cara Backup dan Restore (Ekspor dan Impor) Tutorial MySQL Databases

Saturday, July 21st, 2007 Sabtu, Juli 21, 2007

phpMyAdmin can be used to export or backup MySQL databases easily. phpMyAdmin dapat digunakan untuk ekspor atau cadangan database MySQL dengan mudah. However, if the database size is very big, it probably won't be a good idea. Namun, jika ukuran database yang sangat besar, hal itu mungkin tidak akan ide yang bagus. 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 memungkinkan pengguna untuk menyimpan database dump sebagai file atau tampilan pada layar, yang melibatkan pernyataan SQL mengekspor dari server, dan transmisi data di jaringan lebih lambat koneksi atau Internet untuk pengguna komputer. 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. Proses ini memperlambat proses ekspor, meningkatkan waktu penguncian database MySQL dan dengan demikian tidak tersedianya, server lambat dan mungkin hanya kecelakaan HTTPD Apache server jika terlalu banyak yang masuk koneksi web memonopoli sumber daya sistem.

Continue reading How to Backup and Restore (Export and Import) MySQL Databases Tutorial » » » Lanjutkan membaca Cara Backup dan Restore (Ekspor dan Impor) Database MySQL Tutorial »» »