330 questions
177 votes
29 answers
454k views
Error: Tablespace for table xxx exists. Please DISCARD the tablespace before IMPORT
I am running a local server of MySQL 5.6.10 on MacOS 10.8.3 and manage my database via Navicat essentials for MySQL. The error I get is that after running and managing my database just fine for a ...
141 votes
1 answer
496k views
ORA-01950: no privileges on tablespace 'USERS' [closed]
I'm getting this error: ORA-01950: no privileges on tablespace 'USERS' I have a default tablespace and I'm able to create tables, however, they do not show at the objects tab in Toad. I cannot ...
60 votes
3 answers
386k views
ORA-01653: unable to extend table by in tablespace ORA-06512
I tried to generate some test data by running the following sql. BEGIN FOR i IN 1..8180 LOOP insert into SPEEDTEST select 'column1', 'column2', 'column3', 'column4', 'column5', 'column6'...
54 votes
12 answers
453k views
Find out free space on tablespace
Our application has failed a few times because an 'ORA-01536: space quota exceeded for tablespace', and we would like to be able to prevent this by checking regularly the free space on the tablespace ...
54 votes
5 answers
46k views
What is a tablespace and why is it used?
While investigating an issue, I came across this error: 30503 [ERROR] InnoDB: Attempted to open a previously opened tablespace. Previous tablespace mysql/innodb_index_stats uses space ID: 2 at ...
33 votes
4 answers
316k views
ORA-01652 Unable to extend temp segment by in tablespace
I am creating a table like create table tablename as select * for table2 I am getting the error ORA-01652 Unable to extend temp segment by in tablespace When I googled I usually found ORA-01652 ...
27 votes
7 answers
44k views
How can I tell what is in a Postgresql tablespace?
I've created a new tablespace called indexes, and I'm trying to remove the old tablespace indexes_old, which used to contain some tables and indexes. When I try to drop the tablespace, I get: => ...
26 votes
3 answers
172k views
ORA-01658: unable to create INITIAL extent for segment in tablespace TS_DATA
When i tried to create a table in my User_DB schema i am getting an error as ORA-01658: unable to create INITIAL extent for segment in tablespace TS_DATA. I run the following query to get all the ...
25 votes
1 answer
43k views
How to find table and column in DB2 with tbspaceid tableid specified in error message
I get following error message when trying to insert an object in the database: com.ibm.db2.jcc.am.SqlIntegrityConstraintViolationException: DB2 SQL Error: SQLCODE=-407, SQLSTATE=23502, SQLERRMC=...
22 votes
3 answers
42k views
Creating a tablespace in postgresql
I'm trying to create a tablespace in postgres, but I'm getting ownership problems. The command I'm using is: CREATE TABLESPACE magdat OWNER maggie LOCATION '/home/john/BSTablespace' I get the error: ...
17 votes
5 answers
17k views
Should an Oracle database have more than one tablespace for data storage?
My team maintains an Oracle database that is approx. 200GB in size. All of the data (tables, indexes, etc) lives inside a single 'USERS' tablespace. Is this a bad idea? What benefits are there to ...
16 votes
4 answers
260k views
how to determine size of tablespace oracle 11g
I have a database with three tables. I need to move historic partitioned data to other schema Now that i´m planning to creatre the new "historic" tables. I don´t know how to measure the size of ...
16 votes
3 answers
40k views
Where in the DB is the Location of a PostgreSQL tablespace stored
I am using PostgreSQL 9.2 on RedHat 6. I am looking for the database table and column which stores the location for a PostgreSQL tablespace. I thought it would be in PG_TABLESPACE, but select * from ...
16 votes
3 answers
9k views
Is there any logical reason of having different tablespace for indexes?
Hi Can some let me know why we created different table space for Index and data.
14 votes
2 answers
55k views
no privileges on tablespace 'USERS'
i have many tables that i can insert rows, but i get this error only for one table; Error starting at line 1 in command: INSERT INTO ERRORLOG (MESSAGE) VALUES ('test') Error report: SQL Error: ORA-...