Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Quiz Results will kill me
(1 viewing) (1) Guest
component
Go to bottomPage: 12
TOPIC: Quiz Results will kill me
#6830
Quiz Results will kill me 13 Years, 10 Months ago Karma: 1
Hi!

Me kills periodically to clean Quiz Results by Delete All. It would be desirable to have a script (by php or perl) which can be caused using the scheduler of tasks.
The administrator has disabled public write access.
 
#6852
Re:Quiz Results will kill me 13 Years, 10 Months ago Karma: 748
Hello,

Usually hosting panel provides access to CRON (scheduler). And you can create task which will execute the following SQL query:

Code:


DELETE 
  S,SI 
FROM 
  jos_ariquizstatisticsinfo SI INNER JOIN jos_ariquizstatistics S
    ON SI.StatisticsInfoId = S.StatisticsInfoId
WHERE SI.`Status` = "Finished"



Regards,
ARI Soft
The administrator has disabled public write access.
 
#9389
Re:Quiz Results will kill me 13 Years, 6 Months ago Karma: 1
Hi!

1) Whether users can be tested during performance of this SQL query? Wouldn't it lead to an error?

2) This SQL query deletes data from tables. But their size increases every day!!! I have to use phpMyAdmin for deletion. It is uncomfortable! How can I change your SQL query?

Best regards.
The administrator has disabled public write access.
 
#9446
Re:Quiz Results will kill me 13 Years, 6 Months ago Karma: 748
Hello,

1. Yes, you can execute this query, it doesn't affect on active quizzes sessions.

2. Try to execute the following SQL query, after query which deletes results:

Code:


OPTIMIZE TABLE jos_ariquizstatisticsinfo, jos_ariquizstatistics



You can read about "OPTIMIZE TABLE" here.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#10220
Re:Quiz Results will kill me 13 Years, 5 Months ago Karma: 1
Hello,

It became better. But the size of base increases.

Regards.
The administrator has disabled public write access.
 
#10230
Re:Quiz Results will kill me 13 Years, 5 Months ago Karma: 748
Hello,

Could you specify increase size of specific table(s) or the whole database? "OPTIMIZE TABLE" statement should help to optimize database if it doesn't help it requires to investigate database configuration and tune it.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 12