Quantcast
Channel: Question and Answer » datafile
Browsing all 11 articles
Browse latest View live

Are databases only growing in size?

Databases use the file system to store the data. As far as I know it is not possible to delete a record from a random access file. So does that mean that when we do a DELETE FROM TABLE the size of the...

View Article


Repair SQL Server Database

Can anyone give me a complete guide to verifying/repairing a SQL Server database? At the moment our backup is failing on the Solarwinds database saying the database NetPerfMon is corrupted (we are...

View Article


How can I set block size on Oracle 11 when creating a database instance

Is there any way to configure Oracle 11g’s default block size on installation? I have tried Oracle 11g r2 and r3, during both installations block size is 8k and it is disabled (and can not be...

View Article

MariaDB ALTER TABLE produced a separate .ibd file, how can I re-integrate the...

We have a multi-GB InnoDB MariaDB (recently switched from MySQL). For some reason, the value of innodb_file_per_table changed to ON (we wanted only one innodb data file explicitely). So when I ran an...

View Article

Image may be NSFW.
Clik here to view.

Removing secondary data files. DBCC SHRINKFILE: Page could not be moved...

I have too many secondary data files (.ndf) created for tempdb. To remove the excess files, I need to empty the file (content will be moved to other files): DBCC SHRINKFILE('tempdbfile8', EMPTYFILE);...

View Article


How can I run a SQL Server 2000 database on SQL Server 2005 Express with a...

I am trying to help a client out after a server crash. The temporary replacement server has different drive letters and data file locations. Here are the system details as I understand them: Crashed...

View Article

Database still reports 600GB after removing 500GB File

I have a database with three files Log Primary Data File Blob Data file the database was becoming too big to manage (600GB) so we removed the blob data (500GB) into FileStorage outside the DB. we then...

View Article

LDF files vs. TRN files vs. Tempdb.MDF+LDF files.:

We have a dilemma… We have all of our MDF and LDF files in the same…192.168.6.22d$Program FilesMicrosoft SQL ServerDATAProduction…folder. We have all of our TRN and BAK files on...

View Article


Drop datafile without dropping a tablespace in Oracle 11g

I was trying to take backup of database in Oracle 11g by using RMAN $ rman target / Recovery Manager: Release 11.2.0.1.0 - Production on Fri Sep 11 10:14:37 2015 Copyright (c) 1982, 2009, Oracle and/or...

View Article


Reclaiming unused space from datafile in oracle

Tablespace Used MB Free MB Total MB ------------------------------ ---------- ---------- ---------- DATA_S1 686 295 981 We have a table space named DATA_S1 which contains one data file. As we can see...

View Article

Filter Data to different data files on SQL server

I’m sure this is possible but I have no idea how or where to find the information on how to do it. Scenario: I have a reporting database (on SQL2008R2) which is split up into multiple file groups and...

View Article
Browsing all 11 articles
Browse latest View live