473,398 Members | 2,188 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Is this a temporary file?

Hi All

I found some files in mysql directory with names like
#sql-358_2698.MYD. Is this a temporary file created by an alter table
statement? May I delete it since all my tables are ok?

Thanks in advance

Oswaldo Castro
Jul 19 '05 #1
2 1909

"Oswaldo Castro" <og******@zaz.com.br> wrote in message
news:b3**************************@posting.google.c om...
Hi All

I found some files in mysql directory with names like
#sql-358_2698.MYD. Is this a temporary file created by an alter table
statement? May I delete it since all my tables are ok?

Thanks in advance

Oswaldo Castro


I'm a newbie of about six months or so but I have worked with DBA's before
and some features like this, and their purpose, are familiar to me... but...
I'm not 100% sure...

I believe the files you are refering to are log files that record any
changes to your databases... Everytime there is a change to your data, its
recorded in these log files... You can use them to rebuild you database
should it become corrupted (due to system crash or power loss / non-proper
shutdown).

You can delete them, though new files will be created every so often by the
database... If you do want to delete them, it might be safer to shutdown the
database first, or else delete all but the most recent file (check the
timestamp).

You're likely to have something in your my.ini or my.cnf file that switches
this feature on though I am unsure how... I hope over the comming months to
learn more about things like this.
Jul 19 '05 #2

"Oswaldo Castro" <og******@zaz.com.br> wrote in message
news:b3**************************@posting.google.c om...
Hi All

I found some files in mysql directory with names like
#sql-358_2698.MYD. Is this a temporary file created by an alter table
statement? May I delete it since all my tables are ok?

Thanks in advance

Oswaldo Castro


I'm a newbie of about six months or so but I have worked with DBA's before
and some features like this, and their purpose, are familiar to me... but...
I'm not 100% sure...

I believe the files you are refering to are log files that record any
changes to your databases... Everytime there is a change to your data, its
recorded in these log files... You can use them to rebuild you database
should it become corrupted (due to system crash or power loss / non-proper
shutdown).

You can delete them, though new files will be created every so often by the
database... If you do want to delete them, it might be safer to shutdown the
database first, or else delete all but the most recent file (check the
timestamp).

You're likely to have something in your my.ini or my.cnf file that switches
this feature on though I am unsure how... I hope over the comming months to
learn more about things like this.
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Frank Millman | last post by:
Hi all I need to generate potentially large reports from a database, and I want to offer the option of print preview before actually printing (using wxPython). I figure that the best way to...
6
by: Codemonkey | last post by:
Hi, I have a few questions about best practices when it comes to the management of temporary files. Any thoughts anyone can give would be much appreciated. Basically, I'm writing a document...
1
by: Frank Lopez | last post by:
In .NET and C#, is there anyway to create a hook for a specific directory or file where my C# .NET software can monitor which static web files are requested by the browser? What I am doing is...
7
by: Norton | last post by:
Hi all, I would like to know if there is any method in asp or asp.net to direct the browser to download a file into the Temporary Internet Files directory so that i can make use of vb script to...
4
by: Nicolás Castagnet | last post by:
Hi, I write this post because I notice a strange behavior related with "Temporary Internet Files" and maybe some of you can help me to understand it. I am working in a web application with...
5
by: Bas Hendriks | last post by:
Has anyone any idea how asp.net find it's files back after compiling them to the temporary asp.net directory? I found on numerous webpages that the directorynames are chosen random but cannot find...
0
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
5
by: rogersw8n | last post by:
Some how, some way the account that creates folders under Temporary Internet files has been changed to a domain account for VS 2003 and VS 2005. I recently installed VS 2005. All seemed to be ok...
2
by: Alan Sloan | last post by:
I've written a web service in VS2005 that uses a COM object to get a file out of another system. I eventually need to stream the file to the consumer, but I first need to get the file to a...
7
by: sh.vipin | last post by:
/* Sample code*/ #include <stdio.h> int a; //line # 3 int a; //line # 4 int main (int argc, char *argv){ printf("a is %d",a); }
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.