Register for your free account! | Forgot your password?

You last visited: Today at 02:31

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Database Problem

Discussion on Database Problem within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1

 
Worshiper's Avatar
 
elite*gold: 4
Join Date: May 2017
Posts: 1,128
Received Thanks: 247
Database Problem

is really its more if SRO_VT_SHARD IS 182 giga ?
SRO_VT_SHARDLOG IS 42 Giga

what do you think guys its a problem or what ?


Worshiper is offline  
Old 07/22/2017, 06:20   #2

 
R3D*'s Avatar
 
elite*gold: 190
Join Date: May 2011
Posts: 1,204
Received Thanks: 832
Maybe it contains a huge amount of data about characters.
R3D* is offline  
Old 07/22/2017, 06:50   #3
 
SwaGy.'s Avatar
 
elite*gold: 0
Join Date: Dec 2016
Posts: 65
Received Thanks: 18
Try to clean it!
SwaGy. is offline  
Old 07/22/2017, 12:57   #4

 
Worshiper's Avatar
 
elite*gold: 4
Join Date: May 2017
Posts: 1,128
Received Thanks: 247
Quote:
Originally Posted by Acs' View Post
Maybe it contains a huge amount of data about characters.
iam not sure :xD

Quote:
Originally Posted by SwaGy. View Post
Try to clean it!
how to clean you mean Delete chars and .... by query ? lol its a online game and have players
Worshiper is offline  
Old 07/22/2017, 15:04   #5


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,653
Management Studio:
Database (Right Click) -> Reports -> Standard Reports -> Disk Usage by Table.

Sort by Data and you will get which tables are using that much.
​Exo is offline  
Old 07/22/2017, 16:13   #6
 
Snow*'s Avatar
 
elite*gold: 1
Join Date: Nov 2011
Posts: 2,532
Received Thanks: 1,440
Just save the database somewhere incase you needed to look at the logs and wipe the current one

Code:
USE [SRO_VT_LOG]
GO

TRUNCATE TABLE [dbo].[_LogCashItem]
TRUNCATE TABLE [dbo].[_LogEventChar]
TRUNCATE TABLE [dbo].[_LogEventItem]
TRUNCATE TABLE [dbo].[_LogEventSiegeFortress]
TRUNCATE TABLE [dbo].[_LogSchedule]
TRUNCATE TABLE [dbo].[_LogServerEvent]
Snow* is offline  
Old 07/22/2017, 18:51   #7

 
Worshiper's Avatar
 
elite*gold: 4
Join Date: May 2017
Posts: 1,128
Received Thanks: 247
Quote:
Originally Posted by Snow* View Post
Just save the database somewhere incase you needed to look at the logs and wipe the current one

Code:
USE [SRO_VT_LOG]
GO

TRUNCATE TABLE [dbo].[_LogCashItem]
TRUNCATE TABLE [dbo].[_LogEventChar]
TRUNCATE TABLE [dbo].[_LogEventItem]
TRUNCATE TABLE [dbo].[_LogEventSiegeFortress]
TRUNCATE TABLE [dbo].[_LogSchedule]
TRUNCATE TABLE [dbo].[_LogServerEvent]
I Did this query and still same

Quote:
Originally Posted by ​Exo View Post
Management Studio:
Database (Right Click) -> Reports -> Standard Reports -> Disk Usage by Table.

Sort by Data and you will get which tables are using that much.
yes i see but when i clean my database with the Query and backup it and offine sql and open and restore again still same 182 giga
Worshiper is offline  
Old 07/23/2017, 05:29   #8


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,653
Quote:
Originally Posted by [GM]Dejo View Post
I Did this query and still same



yes i see but when i clean my database with the Query and backup it and offine sql and open and restore again still same 182 giga
Well, you might take the database offline then delete the physical files and then recreate the database from the BAK file. I'd backup everything first (including mdf/ldf) if you're not sure what you're doing.
​Exo is offline  
Thanks
1 User
Old 07/23/2017, 06:16   #9

 
Worshiper's Avatar
 
elite*gold: 4
Join Date: May 2017
Posts: 1,128
Received Thanks: 247
Quote:
Originally Posted by ​Exo View Post
Well, you might take the database offline then delete the physical files and then recreate the database from the BAK file. I'd backup everything first (including mdf/ldf) if you're not sure what you're doing.
still same but if the size only problem its ok but i ask in future this can lag the server ?
Worshiper is offline  
Old 07/23/2017, 09:18   #10
 
SwaGy.'s Avatar
 
elite*gold: 0
Join Date: Dec 2016
Posts: 65
Received Thanks: 18
Quote:
Originally Posted by [GM]Dejo View Post
iam not sure :xD



how to clean you mean Delete chars and .... by query ? lol its a online game and have players
i thinked its offline game to try !

Quote:
Originally Posted by [GM]Dejo View Post
still same but if the size only problem its ok but i ask in future this can lag the server ?
i think that
SwaGy. is offline  
Old 07/24/2017, 09:46   #11
 
DeviasOnline's Avatar
 
elite*gold: 85
Join Date: Sep 2008
Posts: 390
Received Thanks: 153
PHP Code:
ALTER DATABASE SRO_VT_SHARD SET RECOVERY SIMPLE 
dbcc shrinkfile 
([SRO_VT_SHARD_Log],1)
ALTER DATABASE SRO_VT_SHARD SET RECOVERY FULL 
DeviasOnline is offline  
Old 07/25/2017, 21:05   #12

 
Worshiper's Avatar
 
elite*gold: 4
Join Date: May 2017
Posts: 1,128
Received Thanks: 247
Quote:
Originally Posted by DeviasOnline View Post
PHP Code:
ALTER DATABASE SRO_VT_SHARD SET RECOVERY SIMPLE 
dbcc shrinkfile 
([SRO_VT_SHARD_Log],1)
ALTER DATABASE SRO_VT_SHARD SET RECOVERY FULL 
Error


Msg 8985, Level 16, State 1, Line 2
Could not locate file 'SRO_VT_SHARD_Log' for database 'master' in sys.database_files. The file either does not exist, or was dropped.
Worshiper is offline  
Reply


Similar Threads Similar Threads
[Official Release] Rainbow Database: Vampire/Godship/Legionairre Database!
04/25/2021 - EO PServer Guides & Releases - 106 Replies
http://i43.tinypic.com/jgo485.png Additional: The database contains all material and server features which I alone coded, designed and created. I can barely recall if their were any bugs. I think there was with one of the vampire skills. People said it was supposed to be an xp skill but they could use it without having to be on XP. So its pretty minor but if you find any other problems please report them to this thread and i'll make a fix asap. Many database releases have come before this...
[How-To]Change from sql-database to txt-database
08/11/2016 - Metin2 Private Server - 1 Replies
Hello guys... My Server uses item_proto and mob_proto from navicat , iwant to use item_proto and mob_proto from fillezilla, ???? Show me the way and thnak you .:o
[Release] Sro-r DataBase , And Real TWsro DataBase
04/01/2013 - SRO Private Server - 10 Replies
its a gift from me because i will left Sro Forever so today i will release Sro-r DataBase , And Real Twsro Database + Server Files Download Link HAPPY 1/4 :D i never do that lol you mad ! ? :p



All times are GMT +1. The time now is 02:32.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.