Archive for the 'Databases' Category ארכיון עבור קטגוריה מאגרי 'ה'

Oracle PL/SQL ORA-00947 Not Enough Values Error Oracle PL / SQL ORA-00947 לא מספיק ערכי שגיאה

Tuesday, October 23rd, 2007 יום שלישי 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. באתר אורקל, הודעת השגיאה הבאה עשויה להופיע כאשר משפט SQL שגוי משמש, ב-SQL פלוס או בכל מקום כי לשלוח שאילתות SQL על מסדי נתונים כגון הליך מאוחסנים או תוכניות חיצוניות.

PL/SQL: SQL Statement ignored PL / SQL: SQL הצהרת התעלם
PL/SQL: ORA-00947: not enough values PL / SQL: ORA-00947: ערכים לא מספיק

Continue reading Oracle PL/SQL ORA-00947 Not Enough Values Error » » » המשך קריאה Oracle PL / SQL ORA-00947 לא מספיק ערכי שגיאה »» »


Uninstall and Remove Multiple Database Instances of Microsoft SQL Server 2005 להסיר הסר מרובות מקרים של מסד נתונים Microsoft SQL Server 2005

Sunday, October 14th, 2007 יום ראשון 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. כאשר מנהל המערכת מתקינה מסד נתונים Microsoft SQL Server 2005 ויוצרת מנוע מסד נתונים כמה מקרים, תהיה בעיה קשה להסיר או להסיר רכיבים אלה למשל נתונים מרובים המקביל של SQL Server השירותים. 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. כאשר משתמשים מנסים להסיר Microsoft SQL Server 2005 או הסרה של רכיבים למשל באתר באמצעות הוספה או הסרה של תוכניות הסרה או שינוי של תוכניות (Vista) בלוח הבקרה, רק אחת של SQL Server 2005 מנוע באתר ניתן לבחור. 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. לאחר הסרת ההתקנה הושלמה, כאשר משתמשים מנסים להפעיל את SQL Server 2K5 הסר נקי לחלוטין כדי להסיר את כל הרכיבים או במקרים אחרים, הפעולה ייכשל עם הודעת השגיאה אומרת הכניסה מסיר הקיצור אינו חוקי ושאל אם אתה רוצה להסיר את הקישור.

Continue reading Uninstall and Remove Multiple Database Instances of Microsoft SQL Server 2005 » » » המשך קריאה מרובים הסר הסרה ו מקרים של מסד נתונים Microsoft SQL Server 2005 »» »

How to Read MySQL Binary Log Files (BinLog) with mysqlbinlog כיצד קרא MySQL בינארי התחבר קבצים (BinLog) עם mysqlbinlog

Saturday, October 6th, 2007 יום שבת, 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. שרת מסד הנתונים MySQL מייצר קבצי יומן בינארי בכל עסקה של מסדי נתונים, סיפק מנהל אינו מבטל או הערה את יומן "סל" פרמטר בקובץ התצורה my.cny. The binary log files are written in binary format. קבצי יומן בינארית נכתבים בתבנית בינארית. 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. למרות יומני בינארית, או הידועה גם logbin משמשים בעיקר לצורך שכפול מסד נתונים MySQL, לפעמים ייתכן שיהיה צורך לבדוק או לקרוא את התוכן של בולי עץ בינארי בתבנית טקסט, שבו השירות mysqlbinlog יהיה לתועלת.

Continue reading How to Read MySQL Binary Log Files (BinLog) with mysqlbinlog » » » המשך קריאה כיצד קרא MySQL בינארי התחבר קבצים (BinLog) עם mysqlbinlog »» »

Check and Optimize MySQL Database Automatically with Crontab/Cron בדוק ייעל MySQL Database אוטומטית עם crontab / Cron

Friday, September 21st, 2007 יום שישי 21 ספטמבר, 2007

MySQL is a very popular free yet powerful database system. MySQL היא מערכת מאוד פופולרי באתר בחינם אך רב עוצמה. 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. אבל גם במסדי נתונים גדולים, השולחנות עשויים לקבל מקוטעת עם תקורה בשל עדכון רציף, או למחוק ולהוסיף המבצע על הנתונים המאוחסנים באתר. Beside, it's also possibility that the databases may get corrupted. ליד, זה גם האפשרות כי מאגרי עשוי לקבל פגומה. Thus, performing health check on database and optimize MySQL server regularly is an important task. לכן, ביצוע בדיקת הבריאות על מסד הנתונים MySQL לייעל את השרת באופן קבוע היא משימה חשובה.

Continue reading Check and Optimize MySQL Database Automatically with Crontab/Cron » » » המשך קריאה בדוק ייעל MySQL Database אוטומטית עם crontab / Cron »» »


How to Rename or Move Oracle Tablespace Datafile to Another Location כיצד לשנות שם או להעביר אורקל Tablespace Datafile אל מיקום אחר

Saturday, August 4th, 2007 יום שבת, 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. מסד נתונים אורקל אינו מספק ממשק משתמש קל לשנות את שמו של datafile של tablespace, וגם מנהל מסד נתונים יכול בקלות להעביר או להעתיק את datafile למיקום אחר או ספרייה זו שונה מהמיקום המקורי על יצירת מסד נתונים. The rename or move place task has to be performed via Oracle SQLPlus command line interface. לשנות שם או להעביר משימה מקום צריך להתבצע באמצעות Oracle SQLPlus ממשק שורת הפקודה. However, if the operation is performed when the tablespace which owns the datefile is online, error will occur. עם זאת, אם הניתוח מתבצע כאשר tablespace בעלת datefile מקוון, תתרחש שגיאה.

Continue reading How to Rename or Move Oracle Tablespace Datafile to Another Location » » » המשך קריאה כיצד לשנות שם או להעביר אורקל Tablespace Datafile אחר »מיקום»

How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile איך זרוק Tablespace ולשחזר Oracle Database כאשר בטעות מחק Datafile

Saturday, August 4th, 2007 יום שבת, 4 אוגוסט, 2007

Accident may happens, even though it's costly one. התאונה ייתכן קורה, אף אחד זה יקרה. This is especially the case in Oracle database, which stores the database objects physically in data files on hard disk. הדבר נכון במיוחד במקרה במאגר נתונים אורקל, אשר מאחסן את אובייקטי מסד נתונים פיזית קבצי הנתונים בדיסק הקשיח. Fast hand administrators may accidentally delete some of the datafiles, or the datafiles may get corrupted or unreadable on hard disk failure. מנהלי היד מהירה עלולה בטעות למחוק חלק datafiles, או datafiles עשוי לקבל פגומה או בלתי קריא על כשל בדיסק הקשיח. You may get also some missing datafiles after database recovery process. אתה יכול לקבל גם כמה datafiles חסר לאחר תהליך שחזור מסד נתונים. In any case, missing a or a few datafiles will cause Oracle database to fail to startup, rendering the whole DB inaccessible. בכל מקרה, חסרים או datafiles כמה יגרום מסד נתונים אורקל להיכשל ההפעלה, עיבוד DB נגיש כולו.

Continue reading How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile » » » המשך לקרוא איך זרוק Tablespace ולשחזר Oracle Database כאשר בטעות מחק Datafile »» »

How to Remove and Drop Datafiles from Tablespace in Oracle Database כיצד להסיר ושחרר Datafiles מ Tablespace ב Oracle Database

Saturday, August 4th, 2007 יום שבת, 4 אוגוסט, 2007

Oracle RDBMS databases stores data logically in the form of tablespaces and physically in the form of data files. חנויות מסדי נתונים של Oracle RDBMS לוגית בצורה של Tablespaces פיזית בצורה של קבצי הנתונים. The datafiles are added to the tablespaces as database space requirement grows bigger. Datafiles מתווספים ל Tablespaces כחלל דרישת נתונים גדל יותר. However, there are several reasons you may want to remove or delete data files from a tablespace. עם זאת, ישנן כמה סיבות ייתכן שתרצה להסיר או למחוק קבצי נתונים 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. כמו בטעות להוסיף בטעות או datafile בגודל tablespace לא רצויים, או את נתוני השימוש שטח הפכו קטנים יותר יש כמה קבצי הנתונים רוצה להסיר, או לנסות לשחזר מסד נתונים אורקל אשר נכשל להתחיל עקב חסר או פגום datafiles ידי הסרתם , אורקל אינו מספק דרך קלה או ממשק המשתמש למחוק או ירידה datafiles מ 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. פעם הוא עשה datafile חלק tablespace, היא כבר לא יכולה להיות מנותקת או להסיר tablespace, גם אם יש מספר דרכים לעקיפת הבעיה.

Continue reading How to Remove and Drop Datafiles from Tablespace in Oracle Database » » » המשך קריאה כיצד להסיר ושחרר Datafiles מ Tablespace ב Oracle Database »» »

How to Backup and Restore (Export and Import) MySQL Databases Tutorial כיצד גיבוי ושחזור (ייצוא וייבוא) MySQL Databases Tutorial

Saturday, July 21st, 2007 יום שבת, 21 יולי, 2007

phpMyAdmin can be used to export or backup MySQL databases easily. ניתן להשתמש ב phpMyAdmin כדי לייצא או גיבוי מסדי נתונים MySQL בקלות. However, if the database size is very big, it probably won't be a good idea. עם זאת, אם גודל מסד הנתונים הוא מאוד גדול, זה כנראה לא יהיה רעיון טוב. 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 המאפשר למשתמשים לשמור נתונים כמו קובץ ה-dump או להציג על המסך, הכוללת ייצוא משפטי SQL מהשרת, ואת העברת הנתונים על פני חיבור רשת אינטרנט איטי או למחשב המשתמש. 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. תהליך זה להאט את התהליך ייצוא, מסד נתונים להגדיל את נעילת הזמן זמינותו ובכך MySQL, להאט את השרת אולי פשוט בהתרסקות אפאצ 'י שרת httpd אם יותר מדי חיבורים האינטרנט נכנסות hogging המערכת של משאבים.

Continue reading How to Backup and Restore (Export and Import) MySQL Databases Tutorial » » » המשך קריאה כיצד גיבוי ושחזור (ייצוא וייבוא) MySQL Databases Tutorial »» »