Quantcast
Channel: Active questions tagged datafile - Database Administrators Stack Exchange
Browsing latest articles
Browse All 61 View Live

DBCC ShrinkFile EmptyFile fails due to system table SYSFILES1

In following a recommendation from our new storage vendor, I'm trying to split up some large & busy databases into multiple data files, each to live on a separate VDisk that has a separate...

View Article



mysqldump file restore while sql is still being dumped

Im using MaridaDB 10, but my question applies to all mysql variants.I have large dataset (70GB uncomressed when dumped to file).The mysqldump process takes 2-3hours. The restore process takes even...

View Article

Mysql cannot import from text file

I have a table called person setup like this(person_id SMALLINT UNSIGNED,fname varchar(20),lname varchar(20),gender enum('M','F'),birth_date date,race enum('B','W','A','J'),ethnicity varchar...

View Article

Moving DataFile to Another Location ORACLE

I'm having some problems moving DATAFILE from one location to another due to the shortage of storage space. I've managed to change the path file of control file via command(linux). Now I would like to...

View Article

Postgres's equivalent for Oracle's datafile recovery

In oracle, one can do a recovery from datafiles.Does Postgres have an equivalent procedure?I am already aware of the WAL files in Postgres, but I believe this is different. Datafiles in Oracle are the...

View Article


how to restrict usage of datafile in Oracle

We have several datafiles with a big amount of a free space.How to shrink those files on production system. I tried to move all objects from this files into another tablespace, but RDBMS is still...

View Article

How to open .bin SQL database?

I'm stuck and not sure if somebody had a similar issue.I have an old database stored as .bin files. It dates back to 2012. I can see an xml catalogue file which indicates to me that it is some kind of...

View Article

How to find out the maximum number of datafiles per tablespace in Oracle?

According to this Oracle document, the maximum number of database files per tablespace is "Operating system dependent; usually 1022".I know there are queries for some of the other limits mentioned in...

View Article


mysql_install_db equivalent for MongoDB? Error 'handle-open: open: Too many...

A developer created millions of collections and indexes, this means millions of collection-* and index-* files.I have no administrative login (DB user) on this replicaset (3 node) with mongod 3.2.6. I...

View Article


SQL Server data drive (.mdf files) running out of space

We have a D drive that has 999 GB of total space. Currently the production database data files are being stored there. It is running out of space.A few weeks ago DB files were shrunk to temporarily...

View Article

Move logship database file

I want to move a ldf file from one drive to another. Some idiot who is definitly not me restored the log file to the wrong drive which is nearly full now.The database is readonly/standby for a logship...

View Article

ORA-01652 - unable to extend TEMP segment?

Having an issue that I can't seem to find any solutions to online.[72000][1652] ORA-01652: unable to extend temp segment by 256 in tablespace TEMP Position: 581One of our users runs a query quarterly...

View Article

Oracle: Corrupt datafile will not turn back online?

need immediate assistance on an issue... Oracle Support is taking way too long to respond back on.We have a corrupt datafile in one of our tablespaces, I attempted to shut the datafile offline, and...

View Article


Why is it not important whether data and log files share the same disk or not...

I have a hard disk. I create 3 drives on it. One for OS. One for sql data files. One for sql log files.However I am reading that suppose my storage layer is not a hard disk, but a SAN based...

View Article

Oracle 11gR2 (11.2.0.4.0) - Drop and Remove Datafiles

We have a database of 2000 users.We will drop all remaining schemas, leaving only 2 end users, excluding Internal (Oracle maintained) users.After this operation, there will be a very high reduction in...

View Article


Production filesystem is at 100%. Move the datafiles to a new filesystem?

As the title states our file system reached 100% capacity and I want to try moving the tablespaces datafiles to a new filesystem. I'm attempting to follow the steps from this...

View Article

Wrong Last Modified Date of .ndf file on SQL Server

I have SQL Server Database and we have many tables. To improve performance, I have created different filegroups with files on different disks just for indexes. I have created new index today in a...

View Article


Splitting a large SQL Server MDF file

I have a large (1.2 terabyte) SQL Server database that I need to migrate to a new server. Most of the database lives on a single, 1.25 TB data file, and a little bit sits on a much-more-manageable 550...

View Article

How to recover from a SQL server log file drive crash?

Assuming data files are on D: and Log files are on E:Say the E drive crashes and the log files (.ldf) are lost. I attach a new empty disk to the E: and start the sql server.Upon startup, SQL Server...

View Article

What's better/faster? MySql or FileSystem?

Let's imagine a web site that is a directory of people. For each person there may be a profile photo and a biography.I'll admit my SQL queries could be better but in general what would be faster and...

View Article

--- Article Not Found! ---

*** *** *** RSSing Note: Article is missing! We don't know where we put it!!. *** ***

View Article


--- Article Not Found! ---

*** *** *** RSSing Note: Article is missing! We don't know where we put it!!. *** ***

View Article


InnoDB - how MySQL InnoDB pages works with underlying OS file system

I've studied and summarized how MySQL InnoDB pages works with underlying OS file system when accessing secondary storage.Would you mind to confirm that my understanding is correct?InnoDB store table...

View Article

Database still reports 600GB after removing 500GB File

I have a database with three files LogPrimary Data FileBlob Data filethe database was becoming too big to manage (600GB) so we removed the blob data (500GB) into FileStorage outside the DB.we then...

View Article

Can database administrators access and modify the database before it's opened?

I'm trying to answer the following question (asked in a previous exam and supposedly having one correct answer):To create a DATAFILE and Assign it to a DATABASE, the instance can't bestarted in NOMOUNT...

View Article


How to load data into a table from a file and set other column(s) too?

I have a table with multiple columns. And there's also a text file which contains data, one value per line:aaabbbcccdddHow would I load a file into a file into a certain column as well as set other...

View Article

Restoring PDBs on a new server

I am trying to restore a 19c database on a new server using RMAN. What are the prerequisites? Do I have to first create PDBs which are supposed to be restored? Or should I just restore from controlfile...

View Article

Database file reserved space

What are the possible reasons that a SQL Server database file reserved space is 95 percent of the total space? My database file has increased drastically and it shows that the actual space used is 5...

View Article

In MS Studio how to SELECT from an existing SQL file

I have a complicated query that select parts from an MRP table using several different criteria. The output of the query is a list of parts which includes the key field [PartNum]. I have saved this...

View Article



Does adding a new data file (without partitioning) have any pro/con compared...

I have a database data file with 1 data file in the default filegroup. It is reaching to 500GB in size and I'm trying to learn about whether to increase the size of existing data file or add a new data...

View Article
Browsing latest articles
Browse All 61 View Live




Latest Images