Skip to main content
-2 votes
1 answer
182 views

I have problem in understanding why my table entries occupy so much space. My DB is growing unexpectedly fast. In detail: There is the following table DATA_SENSOR: create tablespace DATA_SENSOR ...
MichaelW's user avatar
  • 1,502
0 votes
0 answers
45 views

I have postgresql 17 installed on Windows 10 working well. I want to create a tablespace on a USB external drive plugged into a Synology NAS with DSM 7. The USB drive is mapped as a network drive in ...
user3716846's user avatar
0 votes
0 answers
106 views

I have a database located in default tablespace named "pg_default". Due to space limit in directory, I need to alter tablespace of my database to new custom tablespace. How I can do that ? ...
Nodirali's user avatar
0 votes
2 answers
3k views

I'm completely new to Oracle Database and I'm trying to learn it. My goal today is to create a simple tablespace with one datafile and then add a new datafile to that tablespace. With this I ...
Palma A's user avatar
  • 115
1 vote
2 answers
952 views

I am trying to add partitioning to a table in my database. Here is an example: CREATE TABLE IF NOT EXISTS myBd.test_table ( id SERIAL PRIMARY KEY, name VARCHAR(50) NOT NULL, age INT NOT ...
Александр's user avatar
0 votes
0 answers
74 views

During a run of my synchronising script for a postrgresdb, I run into an error, and I have no idea how to solve this: Caused by: org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad ...
Gerard's user avatar
  • 113
0 votes
1 answer
78 views

I've developed this TEMP tablespaces Monitor via DBLINKS in ORACLE it sends an email if any temp tablespace reaches any percentage called by v_used: CREATE OR REPLACE PROCEDURE SP_TEMP_MON( v_used ...
Opal R's user avatar
  • 27
0 votes
1 answer
241 views

I have a MySQL database and a big table on it called "tc_positions". Recently I ran out of space on my pc and I'm trying to clean up the database using the command: delete from tc_positions ...
Claudio Carrasco's user avatar
0 votes
1 answer
693 views

I'm currently studying this topic in a databases class, and I was asked to export a tablespace using the expdp command. This is happening only with tablespaces, I tried executing a data pump of a ...
Lapelusa's user avatar
0 votes
1 answer
457 views

Why is my test user DB missing so often? I'll leave my AWS instance stopped overnight and then restart it in the morning. But then I'm not able to login w/ my jdtest user account! I keep getting the ...
JDOaktown's user avatar
  • 4,554
0 votes
0 answers
125 views

I am trying to create a tablespace in a specific directory /home/tareq178/data/ in my Linux Ubuntu 22.04.3 VM. I am using the following command CREATE TABLESPACE newspace2 ADD DATAFILE "/home/...
zahin178's user avatar
0 votes
1 answer
565 views

A while back, I ran a PostgreSQL pg_upgrade on a PG11 database, to PG12, which has a tablespace located at /ssd in it. I used the --link option in my command to create hard links, as to not double up ...
Keith2709's user avatar
0 votes
1 answer
550 views

Postgres 13.2 database contains schema named company2 which contains tables and indexes and is located in g:\Program Files\Postgresql\13\data directory. Server has also drive I: How to move tables and ...
Andrus's user avatar
  • 28.2k
-1 votes
2 answers
92 views

I am trying to copy my Oracle database to my local Oracle XE database. I am using Oracle SQL Developer. I connected to my database, then exported a .sql file from my database. I then created a new ...
Shahin's user avatar
  • 23
1 vote
1 answer
74 views

What I am trying to do is to calculate the sum of the 2 tableSpaces I have in my PostgreSQL DB. SELECT pg_size_pretty (pg_tablespace_size ('pg_default') ); with this query I am able to find the used ...
Krishna Vyas's user avatar

15 30 50 per page
1
2 3 4 5
22