Quantcast
Channel: Active questions tagged tablespaces - Database Administrators Stack Exchange
Browsing all 91 articles
Browse latest View live

Postgres use multiple tablespaces in a single database

Is it possible to allocate tables directly to tablespaces within a single database/schema in postgres? Based on the docs, tablespace is a create database argument, but are there any workarounds?

View Article


DB2: Is it good to create the LONG table space to use 32 KB data page

Our DB2 database (V9.7) has only defined one table space to store all the big objects like XML.And xml size could be different. Some are about 2kb average. And some are 7kb average.So does it make...

View Article


Changing default permenant USERS tablespace to bigfile

I'm trying to build an oracle database server but it's setting up the users tablespace as a smallfile. How can I either install brand new database with users being bigfile or changing the existing...

View Article

Adding multiple files to a tablespace

In Oracle, we have huge amount of data imported daily, which requires us to create data files off and on in a tablespace.Wonder if we create two data files simultaneously, will it use both when one is...

View Article

How to create tablespace if it does not exist

When I create a new schema in Postgres through executing a script in psql I want to put it in a tablespace. If this tablespace does not exist then I want to create it first. Since the default SQL does...

View Article


Warning message: invalid value for parameter "default_tablespace" in postgres

I create a new tablespace using the following script:CREATE SCHEMA semiarido;CREATE ROLE semiarido PASSWORD 'senha';GRANT CREATE ON SCHEMA semiarido TO semiarido;GRANT USAGE ON SCHEMA semiarido TO...

View Article

How to shutdown and startup a database to delete datafiles in between

OS: Windows 10 Professional / DBMS: Oracle 18c XEHow would one approach the issue of losing a connection while shutting down the database?I would like to have one script which deletes datafilepaths...

View Article

yet another Tablespace is missing

work0.psg.com:/var/db/mysql/wordpress# mysqldump -p --databases wordpress > dump.sqlEnter password: Warning: A partial dump from a server that has GTIDs will by default include the GTIDs of all...

View Article


TEMP Tablespace Removal

Oracle Version: 12.1.0.2We have a discrepancy between our PROD and DR TEMP tablespace data files. PROD = 30G + 30G + 30G data files DR = 30G + 30G + 30G + 21G + 2G + 1G + 15G data filesI want both my...

View Article


How to locate the tablespace objects that have grown suddenly?

In my Oracle 11g database, I have one of my tablespace that has grown suddenly during the night.I would like to find the tablespace objects (e.g. tables or index) that have grown suddenly as occupied...

View Article

How do I move tables and indexes owned by user to new tablespaces in Oracle 19C?

I have a user named SDE and the tablespace for this users tables are in SDE_TBS, I would like to move all of these tables to tablespace SDEBUS_DT. For indexes I would like to move to SDEBUS_IX. How...

View Article

How to get dependencies between tablespaces?

For example, we have tablespace1 and tablespace2.The tablespace1 has the table called table1 owned by soe user.The tablespace2 has a table called table2 owned by soe user, which has a foreign key...

View Article

could not read symbolic link error while executing pg_start_backup function...

In order to take data folder backup in postgres 9.6 database executed the order of functions for backup,while executing pg_start_backup function produced warning : could not read symbolic link for...

View Article


Get tablespace name from dump file

I have an Oracle dump file which I need to import but do not know what is its tablespace name. How can I get it from the dump file? I know that it is possible to get many information using impdp...

View Article

DB2 Tablespace in state Restore pending

I have the problem that in my DB2 database (SLES, Db2 v10.5) my User Temp Tablespaces are all in state Restore pending, Storage must be defined, Storage may be defined. When I set off the following...

View Article


Missing mysql, sys, performance_schema

I have Percona Mysql 8.0.19-10 on debian 10.A year ago I had some issues restoring a backup that required me to mess with tablespaces. I forget what all I had done but eventually I got the database up...

View Article

MySQL one file per table not working

I've followed all of the instructions for enabling the one file per table in MySQL (v8, on Ubuntu 20):Added innodb_file_per_table=ONRestarted MySQLDumped all databases, one by one.However, when I...

View Article


Image may be NSFW.
Clik here to view.

Creating table space steps [closed]

In order for me to create space in the database is this all I need to do?alter tablespace USER_DATA_TBS add datafile '/oradata/bosv/user_data04.dbf' size 10m; Or are there other steps I need to take?I...

View Article

Image may be NSFW.
Clik here to view.

How to reduce sysaux tablespace size with Audit Trail Unified enabled

I have Oracle 12c Standard instance with dev database with enabled Audit Trail Unified.And now SYSAUX tablespace has size 32Gb, but all data is only 9Gb.When I tried to reduce size of SYSAUX I received...

View Article

How to quota a CDB only tablespace to a CDB user?

I can create a CDB tablespace like this: (all using: sqlplus / as sysdba)-- create unique table space for adminCREATE TABLESPACE admints DATAFILE '/path/to/admints.dbf' SIZE 20M AUTOEXTEND ON;I can...

View Article
Browsing all 91 articles
Browse latest View live


Latest Images